=========================== L2GW Node OVS detailed Info =========================== -------------- After Step 5 -------------- (NW, L2GW, L2GW CONNECTION create) [root@ocata-l2gw1 ~]# vtep-ctl get-manager tcp:172.16.1.30:6640 tcp:172.16.1.31:6640 tcp:172.16.1.32:6640 [root@ocata-l2gw1 ~]# [root@ocata-l2gw1 ~]# ovs-vsctl get-controller br-int tcp:172.16.1.31:6653 [root@ocata-l2gw1 ~]# [root@ocata-l2gw1 ~]# ovs-vsctl show 6cc40de8-ddbc-4fa4-8380-e93927dcc8d7 Bridge br-vl Port "eth2" Interface "eth2" Port patch-br-vx Interface patch-br-vx type: patch options: {peer=patch-br-vl} Port br-vl Interface br-vl type: internal Port patch-ps Interface patch-ps type: patch options: {peer=patch-vlan} Bridge "ocata-l2gw1" Port "2222-patch-vlan-p" Interface "2222-patch-vlan-p" type: patch options: {peer="2222-patch-vlan-l"} Port "ocata-l2gw1" Interface "ocata-l2gw1" type: internal Port patch-vlan Interface patch-vlan type: patch options: {peer=patch-ps} Bridge vtep_bfd Port vtep_bfd Interface vtep_bfd type: internal Port "bfd10.0.0.10" Interface "bfd10.0.0.10" type: vxlan options: {remote_ip="10.0.0.10"} Bridge "ocata-l2gw1_vtep_ls1" Port "vx1" Interface "vx1" type: vxlan options: {key="45", remote_ip="10.0.0.10"} Port "ocata-l2gw1_vtep_ls1" Interface "ocata-l2gw1_vtep_ls1" type: internal Port "2222-patch-vlan-l" Interface "2222-patch-vlan-l" type: patch options: {peer="2222-patch-vlan-p"} Bridge br-int Controller "tcp:172.16.1.31:6653" is_connected: true fail_mode: secure Port br-int Interface br-int type: internal Bridge br-vx Port "eth1" Interface "eth1" Port "eth3" Interface "eth3" Port br-vx Interface br-vx type: internal Port patch-br-vl Interface patch-br-vl type: patch options: {peer=patch-br-vx} ovs_version: "2.6.1" [root@ocata-l2gw1 ~]# [root@ocata-l2gw1 ~]# ovs-ofctl dump-flows ocata-l2gw1 NXST_FLOW reply (xid=0x4): cookie=0x0, duration=593.414s, table=0, n_packets=5, n_bytes=398, idle_age=93, in_port=1,dl_vlan=2222 actions=strip_vlan,output:2 cookie=0x0, duration=593.404s, table=0, n_packets=5, n_bytes=378, idle_age=93, in_port=2 actions=mod_vlan_vid:2222,output:1 [root@ocata-l2gw1 ~]# [root@ocata-l2gw1 ~]# ovs-ofctl dump-flows ocata-l2gw1_vtep_ls1 NXST_FLOW reply (xid=0x4): cookie=0x0, duration=602.658s, table=0, n_packets=5, n_bytes=398, idle_age=102, in_port=1 actions=learn(table=1,idle_timeout=15,priority=1000,cookie=0x5000,NXM_OF_ETH_DST[]=NXM_OF_ETH_SRC[],output:NXM_OF_IN_PORT[]),resubmit(,1) cookie=0x0, duration=601.392s, table=0, n_packets=5, n_bytes=378, idle_age=102, priority=1000,in_port=2 actions=resubmit(,1) cookie=0x0, duration=602.783s, table=0, n_packets=0, n_bytes=0, idle_age=602, priority=0 actions=drop cookie=0x0, duration=601.373s, table=1, n_packets=1, n_bytes=42, idle_age=107, priority=1,in_port=2 actions=output:1 cookie=0x0, duration=601.365s, table=1, n_packets=5, n_bytes=398, idle_age=102, priority=0 actions=output:1,output:2 [root@ocata-l2gw1 ~]# -------------- After Step 7 -------------- (NW, L2GW, L2GW CONNECTION delete) [root@ocata-l2gw1 ~]# vtep-ctl get-manager tcp:172.16.1.30:6640 tcp:172.16.1.31:6640 tcp:172.16.1.32:6640 [root@ocata-l2gw1 ~]# [root@ocata-l2gw1 ~]# ovs-vsctl get-controller br-int tcp:172.16.1.31:6653 [root@ocata-l2gw1 ~]# [root@ocata-l2gw1 ~]# ovs-vsctl show 6cc40de8-ddbc-4fa4-8380-e93927dcc8d7 Bridge br-vl Port "eth2" Interface "eth2" Port patch-br-vx Interface patch-br-vx type: patch options: {peer=patch-br-vl} Port br-vl Interface br-vl type: internal Port patch-ps Interface patch-ps type: patch options: {peer=patch-vlan} Bridge "ocata-l2gw1" Port "ocata-l2gw1" Interface "ocata-l2gw1" type: internal Port patch-vlan Interface patch-vlan type: patch options: {peer=patch-ps} Bridge vtep_bfd Port vtep_bfd Interface vtep_bfd type: internal Bridge br-int Controller "tcp:172.16.1.31:6653" fail_mode: secure Port br-int Interface br-int type: internal Bridge br-vx Port "eth1" Interface "eth1" Port "eth3" Interface "eth3" Port br-vx Interface br-vx type: internal Port patch-br-vl Interface patch-br-vl type: patch options: {peer=patch-br-vx} ovs_version: "2.6.1" [root@ocata-l2gw1 ~]# [root@ocata-l2gw1 ~]# ovs-ofctl dump-flows ocata-l2gw1 NXST_FLOW reply (xid=0x4): [root@ocata-l2gw1 ~]# [root@ocata-l2gw1 ~]# ovs-ofctl dump-flows ocata-l2gw1_vtep_ls1 ovs-ofctl: ocata-l2gw1_vtep_ls1 is not a bridge or a socket [root@ocata-l2gw1 ~]# -------------- After Step 10 -------------- (L2GW, L2GW CONNECTION re-create) [root@ocata-l2gw1 ~]# vtep-ctl get-manager tcp:172.16.1.30:6640 tcp:172.16.1.31:6640 tcp:172.16.1.32:6640 [root@ocata-l2gw1 ~]# [root@ocata-l2gw1 ~]# ovs-vsctl get-controller br-int tcp:172.16.1.31:6653 [root@ocata-l2gw1 ~]# [root@ocata-l2gw1 ~]# ovs-vsctl show 6cc40de8-ddbc-4fa4-8380-e93927dcc8d7 Bridge br-vl Port "eth2" Interface "eth2" Port patch-br-vx Interface patch-br-vx type: patch options: {peer=patch-br-vl} Port br-vl Interface br-vl type: internal Port patch-ps Interface patch-ps type: patch options: {peer=patch-vlan} Bridge "ocata-l2gw1" Port "ocata-l2gw1" Interface "ocata-l2gw1" type: internal Port patch-vlan Interface patch-vlan type: patch options: {peer=patch-ps} Port "2222-patch-vlan-p" Interface "2222-patch-vlan-p" type: patch options: {peer="2222-patch-vlan-l"} Bridge vtep_bfd Port vtep_bfd Interface vtep_bfd type: internal Port "bfd10.0.0.10" Interface "bfd10.0.0.10" type: vxlan options: {remote_ip="10.0.0.10"} Bridge br-int Controller "tcp:172.16.1.31:6653" fail_mode: secure Port br-int Interface br-int type: internal Bridge br-vx Port "eth1" Interface "eth1" Port "eth3" Interface "eth3" Port br-vx Interface br-vx type: internal Port patch-br-vl Interface patch-br-vl type: patch options: {peer=patch-br-vx} Bridge "ocata-l2gw1_vtep_ls2" Port "vx2" Interface "vx2" type: vxlan options: {key="45", remote_ip="10.0.0.10"} Port "ocata-l2gw1_vtep_ls2" Interface "ocata-l2gw1_vtep_ls2" type: internal Port "2222-patch-vlan-l" Interface "2222-patch-vlan-l" type: patch options: {peer="2222-patch-vlan-p"} ovs_version: "2.6.1" [root@ocata-l2gw1 ~]# [root@ocata-l2gw1 ~]# ovs-ofctl dump-flows ocata-l2gw1 NXST_FLOW reply (xid=0x4): cookie=0x0, duration=85.912s, table=0, n_packets=0, n_bytes=0, idle_age=85, in_port=1,dl_vlan=2222 actions=strip_vlan,output:3 cookie=0x0, duration=85.906s, table=0, n_packets=0, n_bytes=0, idle_age=85, in_port=3 actions=mod_vlan_vid:2222,output:1 [root@ocata-l2gw1 ~]# [root@ocata-l2gw1 ~]# ovs-ofctl dump-flows ocata-l2gw1_vtep_ls2 NXST_FLOW reply (xid=0x4): cookie=0x0, duration=97.038s, table=0, n_packets=0, n_bytes=0, idle_age=97, in_port=1 actions=learn(table=1,idle_timeout=15,priority=1000,cookie=0x5000,NXM_OF_ETH_DST[]=NXM_OF_ETH_SRC[],output:NXM_OF_IN_PORT[]),resubmit(,1) cookie=0x0, duration=96.962s, table=0, n_packets=0, n_bytes=0, idle_age=96, priority=1000,in_port=2 actions=resubmit(,1) cookie=0x0, duration=97.110s, table=0, n_packets=0, n_bytes=0, idle_age=97, priority=0 actions=drop cookie=0x0, duration=95.479s, table=1, n_packets=0, n_bytes=0, idle_age=95, priority=1000,dl_dst=fa:16:3e:93:80:92 actions=output:2 cookie=0x0, duration=96.947s, table=1, n_packets=0, n_bytes=0, idle_age=96, priority=1,in_port=2 actions=output:1 cookie=0x0, duration=96.939s, table=1, n_packets=0, n_bytes=0, idle_age=97, priority=0 actions=output:1,output:2 [root@ocata-l2gw1 ~]#