Flows in br-int

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

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 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 --name public-subnet --allocation-pool start=,end= --dns-nameserver --gateway

source demo-openrc.sh neutron net-create private neutron subnet-create private --name private-subnet --dns-nameserver --gateway

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
    Manager "tcp:"
        is_connected: true
    Bridge br-ex
        Controller "tcp:"
            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:"
            is_connected: true
        fail_mode: secure
        Port "vxlan-"
            Interface "vxlan-"
                type: vxlan
                options: {key=flow, local_ip="", remote_ip=""}
        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=,arp_tpa=,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 ...
edit retag flag offensive close merge delete