Flows in br-int

asked 2016-05-31 17:16:29 -0800

harsha gravatar image

Hi there! i have integrated ODL Be and OpenStack Liberty. Problem is I cannot connect to the external network. whenever i add a floating IP there is no change in the flows of br-intmBelow are the details which helps in debugging. I added br-ex on both compute and network nodes. Floating IP associated was 10.10.10.12. No flows are changed on br-int after adding floating ip. Please help me. I'm badly stuck here.

Steps followed for launching an instance

source admin-openrc.sh neutron net-create public --shared --provider:physicalnetwork external --provider:networktype flat neutron subnet-create public 10.10.10.0/24 --name public-subnet --allocation-pool start=10.10.10.10,end=10.10.10.40 --dns-nameserver 8.8.4.4 --gateway 10.10.10.9

source demo-openrc.sh neutron net-create private neutron subnet-create private 172.16.1.0/24 --name private-subnet --dns-nameserver 8.8.4.4 --gateway 172.16.1.1

source admin-openrc.sh neutron net-update public --router:external

source demo-openrc.sh neutron router-create router

neutron router-interface-add router private-subnet neutron router-gateway-set router public

nova boot --flavor m1.tiny --image cirros --nic net-id=$(neutron net-list | grep -w private | awk '{print $2}') --security-group default --key-name mykey private-instance

root@network:~# ovs-vsctl show
d7093da0-fa13-40b6-9631-b36fb347eaca
    Manager "tcp:172.16.0.1:6640"
        is_connected: true
    Bridge br-ex
        Controller "tcp:172.16.0.1:6653"
            is_connected: true
        fail_mode: secure
        Port br-ex
            Interface br-ex
                type: internal
        Port patch-int
            Interface patch-int
                type: patch
                options: {peer=patch-ext}
        Port "eth0"
            Interface "eth0"
    Bridge br-int
        Controller "tcp:172.16.0.1:6653"
            is_connected: true
        fail_mode: secure
        Port "vxlan-192.168.57.4"
            Interface "vxlan-192.168.57.4"
                type: vxlan
                options: {key=flow, local_ip="192.168.57.6", remote_ip="192.168.57.4"}
        Port patch-ext
            Interface patch-ext
                type: patch
                options: {peer=patch-int}
        Port "tap1ebfc797-67"
            Interface "tap1ebfc797-67"
                type: internal
        Port br-int
            Interface br-int
                type: internal
        Port "tap0a61077a-20"
            Interface "tap0a61077a-20"
                type: internal
    ovs_version: "2.4.0"

root@network:~# ovs-ofctl -O OpenFlow13 dump-flows br-ex
OFPST_FLOW reply (OF1.3) (xid=0x2):
 cookie=0x0, duration=1569.756s, table=0, n_packets=0, n_bytes=0, dl_type=0x88cc actions=CONTROLLER:65535
 cookie=0x82, duration=0.713s, table=0, n_packets=0, n_bytes=0, priority=10000,arp,dl_dst=fa:16:3e:d5:be:c4,arp_spa=10.10.10.9,arp_tpa=10.10.10.11,arp_op=2,arp_tha=fa:16:3e:d5:be:c4 actions=CONTROLLER:65535 ( This flow is timed out after some time)
 cookie=0x0, duration=1569.756s, table=0, n_packets=63, n_bytes=3780, priority=0 actions=NORMAL


root@network:~# ovs-ofctl dump-flows -O OpenFlow13 br-int
OFPST_FLOW reply (OF1.3) (xid=0x2):
 cookie=0x0, duration=1354.859s, table=0, n_packets=0, n_bytes=0, dl_type=0x88cc actions=CONTROLLER:65535
 cookie=0x0, duration=1155.723s, table=0, n_packets=6, n_bytes=997, in_port=2,dl_src=fa:16:3e:87:6e:57 actions=set_field:0x15->tun_id,load:0x1->NXM_NX_REG0[],goto_table:20
 cookie=0x0, duration=1154.274s, table=0, n_packets=8, n_bytes=1144, tun_id=0x15,in_port=4 actions=load:0x2->NXM_NX_REG0[],goto_table:20
 cookie=0x0, duration=1155.515s, table=0, n_packets=0, n_bytes=0, priority=8192 ...
(more)
edit retag flag offensive close merge delete