Details
-
Bug
-
Status: Verified
-
Resolution: Done
-
unspecified
-
None
-
None
-
Operating System: All
Platform: All
-
normal
-
5179
Description
Single DPN , Single ELAN flows and groups gets programmed .
When second ELAN instance is created . flows and groups gets for second elan instance does not get programmed (Table 55, Table 0 ,ELAN group) .
If multi ELAN instances are pushed at once Table 52, Table 0 entries does not gets programmed with push/pop actions on Table55 .
{
"interface": [
,
{ "enabled": "true", "description": "Vlan Interface s1-eth2", "name": "s1-eth2", "l2vlan-mode":"trunk", "type": "iana-if-type:l2vlan" } ]
}
{
"interface": [
,
{ "enabled": "true", "description": "Vlan Interface s1-eth2-vlan2", "name": "s1-eth2-vlan2", "l2vlan-mode":"native-tagged", "type": "iana-if-type:l2vlan", "vlan-id":2000, "odl-interface:parent-interface": "s1-eth2" } ]
}
{
"interface": [
,
{ "enabled": "true", "description": "Vlan Interface s1-eth4", "name": "s1-eth4", "l2vlan-mode":"trunk", "type": "iana-if-type:l2vlan" } ]
}
{
"interface": [
{ "enabled": "true", "description": "Vlan Interface s1-eth2-vlan3", "name": "s1-eth3-vlan3", "l2vlan-mode":"native-tagged", "type": "iana-if-type:l2vlan", "vlan-id":3000, "odl-interface:parent-interface": "s1-eth3" }
,
{ "enabled": "true", "description": "Vlan Interface s1-eth2-vlan4", "name": "s1-eth4-vlan4", "l2vlan-mode":"native-tagged", "type": "iana-if-type:l2vlan", "vlan-id":4000, "odl-interface:parent-interface": "s1-eth4" } ]
}
{
"elan-instance": [
]
}
{
"elan-instance": [
]
}
{
"elan-interface": [
,
{ "elan-instance-name": "elan1", "description": "string1", "name": "s1-eth2-vlan2" } ]
}
{
"elan-interface": [
{ "elan-instance-name": "elan2", "description": "string1", "name": "s1-eth3-vlan3" }
,
{ "elan-instance-name": "elan2", "description": "string1", "name": "s1-eth4-vlan4" } ]
}
http://localhost:8181/restconf/operational/ietf-interfaces:interfaces-state/
Response Body
{
"interfaces-state": {
"interface": [
,
,
,
,
,
,
,
,
{ "name": "s1-eth4", "phys-address": "D2:41:E9:9A:2E:14", "lower-layer-if": [ "openflow:1:4" ], "admin-status": "up", "oper-status": "up", "if-index": 4 } ]
}
}
mininet> sh ovs-ofctl -O OpenFlow13 dump-flows s1
OFPST_FLOW reply (OF1.3) (xid=0x2):
cookie=0x6800000, duration=516.181s, table=0, n_packets=0, n_bytes=0, priority=50,udp,tp_src=68,tp_dst=67 actions=write_actions(CONTROLLER:65535)
cookie=0x8040000, duration=387.996s, table=0, n_packets=5, n_bytes=398, priority=5,in_port=1,dl_vlan=1000 actions=pop_vlan,write_metadata:0x8000071388000000/0xffffffffff000000,goto_table:50
cookie=0x8040000, duration=378.003s, table=0, n_packets=5, n_bytes=398, priority=5,in_port=2,dl_vlan=2000 actions=pop_vlan,write_metadata:0x8000061388000000/0xffffffffff000000,goto_table:50
cookie=0x1030000, duration=516.293s, table=20, n_packets=0, n_bytes=0, priority=0 actions=goto_table:80
cookie=0x8000003, duration=516.293s, table=21, n_packets=0, n_bytes=0, priority=0 actions=goto_table:80
cookie=0x8050000, duration=516.181s, table=50, n_packets=4, n_bytes=296, priority=0 actions=CONTROLLER:65535,goto_table:51
cookie=0x8030000, duration=516.293s, table=51, n_packets=4, n_bytes=296, priority=0 actions=goto_table:52
cookie=0x8701388, duration=388.265s, table=52, n_packets=4, n_bytes=296, priority=5,metadata=0x1388000000/0xffff000000 actions=write_actions(group:209999)
cookie=0x8800007, duration=388.250s, table=55, n_packets=2, n_bytes=148, priority=10,tun_id=0x7,metadata=0x70000000000/0x1fffff0000000000 actions=drop
cookie=0x8800006, duration=378.205s, table=55, n_packets=2, n_bytes=148, priority=10,tun_id=0x6,metadata=0x60000000000/0x1fffff0000000000 actions=drop
cookie=0x8800007, duration=388.253s, table=55, n_packets=2, n_bytes=148, priority=9,tun_id=0x7 actions=push_vlan:0x8100,set_field:5096->vlan_vid,output:1
cookie=0x8800006, duration=378.209s, table=55, n_packets=2, n_bytes=148, priority=9,tun_id=0x6 actions=push_vlan:0x8100,set_field:6096->vlan_vid,output:2
mininet> sh ovs-ofctl -O OpenFlow13 dump-groups s1
OFPST_GROUP_DESC reply (OF1.3) (xid=0x2):
group_id=209999,type=all,bucket=actions=set_field:0x7->tun_id,resubmit(,55),bucket=actions=set_field:0x6->tun_id,resubmit(,55)
mininet>