Ask Your Question
2

What is going happen on Juno (ML2&OVS&VXLAN) when tun_id of private subnet will become 0x10002 ?

asked 2014-11-27 08:15:37 -0500

dbaxps gravatar image

updated 2014-11-27 10:54:39 -0500

That was question from thread https://ask.openstack.org/en/question...
Quote :-

Just please let me know what will be the actions=<val> if tun_id=0x1002?

Testing system reinitialised with VNI_RANGES= = 65537:69999. Two private networks for different tenants ( with VMs ) built with new VNI_RANGES, then ovs-ofctl dump-flows br-tun has been run on Network Node. Here is an answer

# ovs-ofctl show br-tun && ovs-ofctl dump-flows br-tun
OFPT_FEATURES_REPLY (xid=0x2): dpid:00009e398d608140
n_tables:254, n_buffers:256
capabilities: FLOW_STATS TABLE_STATS PORT_STATS QUEUE_STATS ARP_MATCH_IP
actions: OUTPUT SET_VLAN_VID SET_VLAN_PCP STRIP_VLAN SET_DL_SRC SET_DL_DST SET_NW_SRC SET_NW_DST SET_NW_TOS SET_TP_SRC SET_TP_DST ENQUEUE
 1(patch-int): addr:b6:60:74:40:04:76
     config:     0
     state:      0
     speed: 0 Mbps now, 0 Mbps max
 2(vxlan-c0a80089): addr:a6:db:3f:61:80:e6
     config:     0
     state:      0
     speed: 0 Mbps now, 0 Mbps max
 LOCAL(br-tun): addr:9e:39:8d:60:81:40
     config:     PORT_DOWN
     state:      LINK_DOWN
     speed: 0 Mbps now, 0 Mbps max
OFPT_GET_CONFIG_REPLY (xid=0x4): frags=normal miss_send_len=0
NXST_FLOW reply (xid=0x4):

. . . . . . .

 cookie=0x0, duration=501.593s, table=4, n_packets=3687, n_bytes=288256, idle_age=0, priority=1,tun_id=0x10002 actions=mod_vlan_vid:2,resubmit(,10)
 cookie=0x0, duration=10229.555s, table=4, n_packets=445839, n_bytes=37827295, idle_age=1, priority=1,tun_id=0x10001 actions=mod_vlan_vid:1,resubmit(,10)
 cookie=0x0, duration=10595.502s, table=10, n_packets=449526, n_bytes=38115551, idle_age=0, priority=1 actions=learn(table=20,hard_timeout=300,priority=1,NXM_OF_VLAN_TCI[0..11],NXM_OF_ETH_DST[]=NXM_OF_ETH_SRC[],load:0->NXM_OF_VLAN_TCI[],load:NXM_NX_TUN_ID[]->NXM_NX_TUN_ID[],output:NXM_OF_IN_PORT[]),output:1
edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
1

answered 2014-11-28 00:14:12 -0500

dbaxps gravatar image

updated 2014-11-28 01:03:41 -0500

Addressing the original concern of thread mentioned in question, regarding VLAN tags limit 4096 affecting GRE&VXLAN tenants Layer 2 networks in case of ML2&OVS&GRE(VXLAN) setups , follow Ubuntu Answer GRE Tunnels and VLANs on OVS:-

In case of GRE or VXLAN tenants L2 networks the VLAN tags you see in the output of "ovs-vsctl show" and in output of "ovs-ofctl dump-flows br-tun" (mod_vlan_vid) are only locally significant. This VLAN tags are not really L2 tags added to the frames leaving on the physical interface.They are only used by openvswitch to separate traffic on the br-int, so the different  tap interfaces corresponding to different neutron subnets do not see each other's traffic.As far as this tags are not 12-bits segments , number 4096 is not important.

A fairly good sample from Ubuntu Answer may be viewed here http://visualne.wordpress.com/2013/02...

edit flag offensive delete link more

Comments

Reproducing Doug's blog entry results. Sample of VXLAN L2 tenant's private subnet
was built having different "VLAN tags" on Controller&Network Node and Compute Node.
View :-
http://bderzhavets.blogspot.com/2014/...

dbaxps gravatar imagedbaxps ( 2014-11-28 11:53:49 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

2 followers

Stats

Asked: 2014-11-27 08:15:37 -0500

Seen: 442 times

Last updated: Nov 28 '14