[VPNSERVICE-14] Datapath for new vpn interface is installed in dpns after the gre port is deleted from the switch. Created: 09/Jun/15  Updated: 19/Nov/19  Resolved: 12/Feb/16

Status: Resolved
Project: vpnservice
Component/s: General
Affects Version/s: unspecified
Fix Version/s: None

Type: Bug
Reporter: Sindhuri B Assignee: Sasidharan Sambasivam
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: All
Platform: All


Attachments: Zip Archive gre_port-del.zip    
Severity: normal
External issue ID: 3636

 Description   

Topology
========
h1----(s1-eth1)s1(s1-gre1)-------(s2-gre1)s2(s2-eth1)-------h3

 
 

h2 h4
Test Case:
=========
->Configure h1 and h2 to be in same vpn with gre tunnel between s1 and s2
->Delete port s2-gre1 on dpn s2.
->Configure h4 to be in the same vpn as h1 and h2

Expected:
=========
The entries for h4 should not be installed in s1 as the gre port is deleted.

But the entries are getting configured inspite of no GRE port.

s1:
==
mininet> dpctl dump-flows -O OpenFlow13

      • s1 ------------------------------------------------------------------------
        OFPST_FLOW reply (OF1.3) (xid=0x2):
        cookie=0x0, duration=318.490s, table=0, n_packets=4, n_bytes=168, arp actions=FLOOD
        cookie=0x8000001, duration=318.529s, table=0, n_packets=40, n_bytes=3451, priority=10,in_port=3 actions=goto_table:20
        cookie=0x8000001, duration=264.664s, table=0, n_packets=4, n_bytes=392, priority=10,in_port=1 actions=write_metadata:0x1/0xffffffff,goto_table:21
        cookie=0x8000002, duration=264.529s, table=20, n_packets=3, n_bytes=306, priority=10,mpls,mpls_label=2 actions=write_actions(group:3)
        cookie=0x8000003, duration=264.532s, table=21, n_packets=0, n_bytes=0, priority=42,ip,metadata=0x1/0xffffffff,nw_dst=10.0.0.1 actions=write_actions(push_mpls:0x8847,set_field:2->mpls_label,group:3)
        cookie=0x8000003, duration=264.523s, table=21, n_packets=4, n_bytes=392, priority=42,ip,metadata=0x1/0xffffffff,nw_dst=10.0.0.3 actions=write_actions(push_mpls:0x8847,set_field:3->mpls_label,group:2)
        cookie=0x8000003, duration=19.232s, table=21, n_packets=0, n_bytes=0, priority=42,ip,metadata=0x1/0xffffffff,nw_dst=10.0.0.4 actions=write_actions(push_mpls:0x8847,set_field:4->mpls_label,group:2)----->Not to be installed.
        mininet> dpctl dump-groups -O OpenFlow13
      • s1 ------------------------------------------------------------------------
        OFPST_GROUP_DESC reply (OF1.3) (xid=0x2):
        group_id=2,type=indirect,bucket=weight:0,actions=output:3
        group_id=3,type=indirect,bucket=weight:0,actions=pop_mpls:0x0800,set_field:00:00:00:00:00:01->eth_dst,output:1
        mininet>

s2:
===
mininet> dpctl dump-flows -O OpenFlow13

      • s2 ------------------------------------------------------------------------
        OFPST_FLOW reply (OF1.3) (xid=0x2):
        cookie=0x0, duration=643.204s, table=0, n_packets=4, n_bytes=168, arp actions=FLOOD
        cookie=0x8000001, duration=643.248s, table=0, n_packets=40, n_bytes=3468, priority=10,in_port=3 actions=goto_table:20 --------->To be deleted as there is no port 3
        cookie=0x8000001, duration=592.855s, table=0, n_packets=3, n_bytes=294, priority=10,in_port=1 actions=write_metadata:0x1/0xffffffff,goto_table:21
        cookie=0x8000001, duration=347.464s, table=0, n_packets=0, n_bytes=0, priority=10,in_port=2 actions=write_metadata:0x1/0xffffffff,goto_table:21
        cookie=0x8000002, duration=592.637s, table=20, n_packets=4, n_bytes=408, priority=10,mpls,mpls_label=3 actions=write_actions(group:4)
        cookie=0x8000002, duration=347.344s, table=20, n_packets=0, n_bytes=0, priority=10,mpls,mpls_label=4 actions=write_actions(group:5)
        cookie=0x8000003, duration=592.740s, table=21, n_packets=3, n_bytes=294, priority=42,ip,metadata=0x1/0xffffffff,nw_dst=10.0.0.1 actions=write_actions(push_mpls:0x8847,set_field:2->mpls_label,group:1)
        cookie=0x8000003, duration=592.640s, table=21, n_packets=0, n_bytes=0, priority=42,ip,metadata=0x1/0xffffffff,nw_dst=10.0.0.3 actions=write_actions(push_mpls:0x8847,set_field:3->mpls_label,group:4)
        cookie=0x8000003, duration=347.347s, table=21, n_packets=0, n_bytes=0, priority=42,ip,metadata=0x1/0xffffffff,nw_dst=10.0.0.4 actions=write_actions(push_mpls:0x8847,set_field:4->mpls_label,group:5)
        mininet> dpctl dump-groups -O OpenFlow13
      • s2 ------------------------------------------------------------------------
        OFPST_GROUP_DESC reply (OF1.3) (xid=0x2):
        group_id=1,type=indirect,bucket=weight:0,actions=output:3 ----->To be removed. As port 3 is deleted.
        group_id=4,type=indirect,bucket=weight:0,actions=pop_mpls:0x0800,set_field:00:00:00:00:00:03->eth_dst,output:1
        group_id=5,type=indirect,bucket=weight:0,actions=pop_mpls:0x0800,set_field:00:00:00:00:00:04->eth_dst,output:2
        mininet>

ietf interface status is down as below:
======================================

{ "name": "s2-gre1", "if-index": 3, "admin-status": "up", "oper-status": "down", "type": "odl-interface:l3tunnel" }

,

New interface fib entry:
=======================

{ "destPrefix": "10.0.0.4", "nextHopAddress": "192.168.56.104", "label": 4 }

,

Logs:
====
2015-06-09 11:44:47,507 | TRACE | ult-dispatcher-4 | IfmNodeConnectorListener | 212 - org.opendaylight.vpnservice.interfacemgr-impl - 0.1.0.SNAPSHOT | NodeConnectorRemoved: key: KeyedInstanceIdentifier

{targetType=interface org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.node.NodeConnector, path=[org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.Nodes, org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.nodes.Node[key=NodeKey [_id=Uri [_value=openflow:2]]], org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.node.NodeConnector[key=NodeConnectorKey [_id=Uri [_value=openflow:2:3]]]]}

, value=NodeConnector{getId=Uri [_value=openflow:2:3], augmentations={interface org.opendaylight.yang.gen.v1.urn.opendaylight.flow.inventory.rev130819.FlowCapableNodeConnector=FlowCapableNodeConnector{getAdvertisedFeatures=PortFeatures [_tenMbHd=false, _tenMbFd=false, _hundredMbHd=false, _hundredMbFd=false, _oneGbHd=false, _oneGbFd=false, _tenGbFd=false, _fortyGbFd=false, _hundredGbFd=false, _oneTbFd=false, _other=false, _copper=false, _fiber=false, _autoeng=false, _pause=false, _pauseAsym=false], getConfiguration=PortConfig [_pORTDOWN=false, _nORECV=false, _nOFWD=false, _nOPACKETIN=false], getCurrentFeature=PortFeatures [_tenMbHd=false, _tenMbFd=false, _hundredMbHd=false, _hundredMbFd=false, _oneGbHd=false, _oneGbFd=false, _tenGbFd=false, _fortyGbFd=false, _hundredGbFd=false, _oneTbFd=false, _other=false, _copper=false, _fiber=false, _autoeng=false, _pause=false, _pauseAsym=false], getCurrentSpeed=0, getHardwareAddress=MacAddress [_value=EE:18:74:AC:1A:24], getMaximumSpeed=0, getName=s2-gre1, getPeerFeatures=PortFeatures [_tenMbHd=false, _tenMbFd=false, _hundredMbHd=false, _hundredMbFd=false, _oneGbHd=false, _oneGbFd=false, _tenGbFd=false, _fortyGbFd=false, _hundredGbFd=false, _oneTbFd=false, _other=false, _copper=false, _fiber=false, _autoeng=false, _pause=false, _pauseAsym=false], getPortNumber=PortNumberUni [_uint32=3, _value=[3]], getState=State{isBlocked=false, isLinkDown=false, isLive=false, augmentations={}}, getSupported=PortFeatures [_tenMbHd=false, _tenMbFd=false, _hundredMbHd=false, _hundredMbFd=false, _oneGbHd=false, _oneGbFd=false, _tenGbFd=false, _fortyGbFd=false, _hundredGbFd=false, _oneTbFd=false, _other=false, _copper=false, _fiber=false, _autoeng=false, _pause=false, _pauseAsym=false]}, interface org.opendaylight.yang.gen.v1.urn.opendaylight.port.statistics.rev131214.FlowCapableNodeConnectorStatisticsData=FlowCapableNodeConnectorStatisticsData{getFlowCapableNodeConnectorStatistics=FlowCapableNodeConnectorStatistics{getBytes=Bytes{getReceived=3552, getTransmitted=3523, augmentations={}}, getCollisionCount=0, getDuration=Duration{getNanosecond=Counter32 [_value=831000000], getSecond=Counter32 [_value=179], augmentations={}}, getPackets=Packets{getReceived=42, getTransmitted=42, augmentations={}}, getReceiveCrcError=0, getReceiveDrops=0, getReceiveErrors=0, getReceiveFrameError=0, getReceiveOverRunError=0, getTransmitDrops=0, getTransmitErrors=0, augmentations={}}}}}
2015-06-09 11:44:47,507 | DEBUG | ult-dispatcher-4 | InterfaceManager | 212 - org.opendaylight.vpnservice.interfacemgr-impl - 0.1.0.SNAPSHOT | PortDelete: PortId

{ openflow:2:3}

PortName

{s2-gre1}

2015-06-09 11:44:47,508 | TRACE | ult-dispatcher-4 | InterfaceManager | 212 - org.opendaylight.vpnservice.interfacemgr-impl - 0.1.0.SNAPSHOT | Setting OperStatus for s2-gre1 to Down in OPERATIONAL DS
2015-06-09 11:44:47,510 | DEBUG | CommitFutures-3 | InterfaceManager | 212 - org.opendaylight.vpnservice.interfacemgr-impl - 0.1.0.SNAPSHOT | Success in Datastore write operation
2015-06-09 11:46:05,610 | TRACE | lt-dispatcher-25 | InterfaceManager | 212 - org.opendaylight.vpnservice.interfacemgr-impl - 0.1.0.SNAPSHOT | Adding interface key: KeyedInstanceIdentifier

{targetType=interface org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.interfaces.rev140508.interfaces.Interface, path=[org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.interfaces.rev140508.Interfaces, org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.interfaces.rev140508.interfaces.Interface[key=InterfaceKey [_name=s2-eth2]]]}, value=Interface{getName=s2-eth2, getType=class org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.iana._if.type.rev140508.L2vlan, isEnabled=true, augmentations={interface org.opendaylight.yang.gen.v1.urn.opendaylight.vpnservice.interfacemgr.rev150331.BaseIds=BaseIds{getOfPortId=Uri [_value=openflow:2:2]}}}
2015-06-09 11:46:05,611 | TRACE | lt-dispatcher-25 | InterfaceManager | 212 - org.opendaylight.vpnservice.interfacemgr-impl - 0.1.0.SNAPSHOT | nodeConnector: NodeConnector{getId=Uri [_value=openflow:2:2], augmentations={interface org.opendaylight.yang.gen.v1.urn.opendaylight.flow.inventory.rev130819.FlowCapableNodeConnector=FlowCapableNodeConnector{getAdvertisedFeatures=PortFeatures [_tenMbHd=false, _tenMbFd=false, _hundredMbHd=false, _hundredMbFd=false, _oneGbHd=false, _oneGbFd=false, _tenGbFd=false, _fortyGbFd=false, _hundredGbFd=false, _oneTbFd=false, _other=false, _copper=false, _fiber=false, _autoeng=false, _pause=false, _pauseAsym=false], getConfiguration=PortConfig [_pORTDOWN=false, _nORECV=false, _nOFWD=false, _nOPACKETIN=false], getCurrentFeature=PortFeatures [_tenMbHd=false, _tenMbFd=false, _hundredMbHd=false, _hundredMbFd=false, _oneGbHd=false, _oneGbFd=false, _tenGbFd=true, _fortyGbFd=false, _hundredGbFd=false, _oneTbFd=false, _other=false, _copper=true, _fiber=false, _autoeng=false, _pause=false, _pauseAsym=false], getCurrentSpeed=10000000, getHardwareAddress=MacAddress [_value=C6:34:A8:DD:4C:96], getMaximumSpeed=0, getName=s2-eth2, getPeerFeatures=PortFeatures [_tenMbHd=false, _tenMbFd=false, _hundredMbHd=false, _hundredMbFd=false, _oneGbHd=false, _oneGbFd=false, _tenGbFd=false, _fortyGbFd=false, _hundredGbFd=false, _oneTbFd=false, _other=false, _copper=false, _fiber=false, _autoeng=false, _pause=false, _pauseAsym=false], getPortNumber=PortNumberUni [_uint32=2, _value=[2]], getState=State{isBlocked=false, isLinkDown=false, isLive=false, augmentations={}}, getSupported=PortFeatures [_tenMbHd=false, _tenMbFd=false, _hundredMbHd=false, _hundredMbFd=false, _oneGbHd=false, _oneGbFd=false, _tenGbFd=false, _fortyGbFd=false, _hundredGbFd=false, _oneTbFd=false, _other=false, _copper=false, _fiber=false, _autoeng=false, _pause=false, _pauseAsym=false]}, interface org.opendaylight.yang.gen.v1.urn.opendaylight.port.statistics.rev131214.FlowCapableNodeConnectorStatisticsData=FlowCapableNodeConnectorStatisticsData{getFlowCapableNodeConnectorStatistics=FlowCapableNodeConnectorStatistics{getBytes=Bytes{getReceived=0, getTransmitted=4588, augmentations={}}, getCollisionCount=0, getDuration=Duration{getNanosecond=Counter32 [_value=107000000], getSecond=Counter32 [_value=258], augmentations={}}, getPackets=Packets{getReceived=0, getTransmitted=56, augmentations={}}, getReceiveCrcError=0, getReceiveDrops=0, getReceiveErrors=0, getReceiveFrameError=0, getReceiveOverRunError=0, getTransmitDrops=0, getTransmitErrors=0, augmentations={}}}}}
2015-06-09 11:46:05,611 | TRACE | lt-dispatcher-25 | InterfaceManager | 212 - org.opendaylight.vpnservice.interfacemgr-impl - 0.1.0.SNAPSHOT | nodeConn is NodeConnector{getId=Uri [_value=openflow:2:2], augmentations={interface org.opendaylight.yang.gen.v1.urn.opendaylight.flow.inventory.rev130819.FlowCapableNodeConnector=FlowCapableNodeConnector{getAdvertisedFeatures=PortFeatures [_tenMbHd=false, _tenMbFd=false, _hundredMbHd=false, _hundredMbFd=false, _oneGbHd=false, _oneGbFd=false, _tenGbFd=false, _fortyGbFd=false, _hundredGbFd=false, _oneTbFd=false, _other=false, _copper=false, _fiber=false, _autoeng=false, _pause=false, _pauseAsym=false], getConfiguration=PortConfig [_pORTDOWN=false, _nORECV=false, _nOFWD=false, _nOPACKETIN=false], getCurrentFeature=PortFeatures [_tenMbHd=false, _tenMbFd=false, _hundredMbHd=false, _hundredMbFd=false, _oneGbHd=false, _oneGbFd=false, _tenGbFd=true, _fortyGbFd=false, _hundredGbFd=false, _oneTbFd=false, _other=false, _copper=true, _fiber=false, _autoeng=false, _pause=false, _pauseAsym=false], getCurrentSpeed=10000000, getHardwareAddress=MacAddress [_value=C6:34:A8:DD:4C:96], getMaximumSpeed=0, getName=s2-eth2, getPeerFeatures=PortFeatures [_tenMbHd=false, _tenMbFd=false, _hundredMbHd=false, _hundredMbFd=false, _oneGbHd=false, _oneGbFd=false, _tenGbFd=false, _fortyGbFd=false, _hundredGbFd=false, _oneTbFd=false, _other=false, _copper=false, _fiber=false, _autoeng=false, _pause=false, _pauseAsym=false], getPortNumber=PortNumberUni [_uint32=2, _value=[2]], getState=State{isBlocked=false, isLinkDown=false, isLive=false, augmentations={}}, getSupported=PortFeatures [_tenMbHd=false, _tenMbFd=false, _hundredMbHd=false, _hundredMbFd=false, _oneGbHd=false, _oneGbFd=false, _tenGbFd=false, _fortyGbFd=false, _hundredGbFd=false, _oneTbFd=false, _other=false, _copper=false, _fiber=false, _autoeng=false, _pause=false, _pauseAsym=false]}, interface org.opendaylight.yang.gen.v1.urn.opendaylight.port.statistics.rev131214.FlowCapableNodeConnectorStatisticsData=FlowCapableNodeConnectorStatisticsData{getFlowCapableNodeConnectorStatistics=FlowCapableNodeConnectorStatistics{getBytes=Bytes{getReceived=0, getTransmitted=4588, augmentations={}}, getCollisionCount=0, getDuration=Duration{getNanosecond=Counter32 [_value=107000000], getSecond=Counter32 [_value=258], augmentations={}}, getPackets=Packets{getReceived=0, getTransmitted=56, augmentations={}}, getReceiveCrcError=0, getReceiveDrops=0, getReceiveErrors=0, getReceiveFrameError=0, getReceiveOverRunError=0, getTransmitDrops=0, getTransmitErrors=0, augmentations={}}}}}
2015-06-09 11:46:05,612 | TRACE | lt-dispatcher-25 | InterfaceManager | 212 - org.opendaylight.vpnservice.interfacemgr-impl - 0.1.0.SNAPSHOT | Adding stateIface Interface [_adminStatus=Up, _ifIndex=5, _key=InterfaceKey [_name=s2-eth2], _name=s2-eth2, _operStatus=Up, _type=class org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.iana._if.type.rev140508.L2vlan, augmentation=[]] and id KeyedInstanceIdentifier{targetType=interface org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.interfaces.rev140508.interfaces.state.Interface, path=[org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.interfaces.rev140508.InterfacesState, org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.interfaces.rev140508.interfaces.state.Interface[key=InterfaceKey [_name=s2-eth2]]]} to OPERATIONAL DS
2015-06-09 11:46:05,612 | TRACE | lt-dispatcher-25 | OdlInterfaceChangeListener | 214 - org.opendaylight.vpnservice.nexthopmgr-impl - 0.1.0.SNAPSHOT | Adding Interface : key: KeyedInstanceIdentifier{targetType=interface org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.interfaces.rev140508.interfaces.Interface, path=[org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.interfaces.rev140508.Interfaces, org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.interfaces.rev140508.interfaces.Interface[key=InterfaceKey [_name=s2-eth2]]]}

, value=Interface{getName=s2-eth2, getType=class org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.iana._if.type.rev140508.L2vlan, isEnabled=true, augmentations={interface org.opendaylight.yang.gen.v1.urn.opendaylight.vpnservice.interfacemgr.rev150331.BaseIds=BaseIds

{getOfPortId=Uri [_value=openflow:2:2]}

}}
2015-06-09 11:46:05,622 | DEBUG | CommitFutures-6 | InterfaceManager | 212 - org.opendaylight.vpnservice.interfacemgr-impl - 0.1.0.SNAPSHOT | Success in Datastore write operation
2015-06-09 11:46:40,545 | TRACE | lt-dispatcher-24 | VpnInterfaceManager | 213 - org.opendaylight.vpnservice.vpnmanager-impl - 0.1.0.SNAPSHOT | key: KeyedInstanceIdentifier

{targetType=interface org.opendaylight.yang.gen.v1.urn.huawei.params.xml.ns.yang.l3vpn.rev140815.vpn.interfaces.VpnInterface, path=[org.opendaylight.yang.gen.v1.urn.huawei.params.xml.ns.yang.l3vpn.rev140815.VpnInterfaces, org.opendaylight.yang.gen.v1.urn.huawei.params.xml.ns.yang.l3vpn.rev140815.vpn.interfaces.VpnInterface[key=VpnInterfaceKey [_name=s2-eth2]]]}

, value: VpnInterface{getName=s2-eth2, getVpnInstanceName=testVpn1, augmentations={interface org.opendaylight.yang.gen.v1.urn.opendaylight.l3vpn.rev130911.Adjacencies=Adjacencies{getAdjacency=[Adjacency{getIpAddress=10.0.0.4, getMacAddress=00:00:00:00:00:04, augmentations={}}]}}}
2015-06-09 11:46:40,548 | TRACE | lt-dispatcher-24 | VpnInterfaceManager | 213 - org.opendaylight.vpnservice.vpnmanager-impl - 0.1.0.SNAPSHOT | Bind service on interface Interface{getName=s2-eth2, getType=class org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.iana._if.type.rev140508.L2vlan, isEnabled=true, augmentations={interface org.opendaylight.yang.gen.v1.urn.opendaylight.vpnservice.interfacemgr.rev150331.BaseIds=BaseIds

{getOfPortId=Uri [_value=openflow:2:2]}

}} for VPN: testVpn1
2015-06-09 11:46:40,549 | TRACE | lt-dispatcher-24 | InterfaceManager | 212 - org.opendaylight.vpnservice.interfacemgr-impl - 0.1.0.SNAPSHOT | nodeConnector: NodeConnector{getId=Uri [_value=openflow:2:2], augmentations={interface org.opendaylight.yang.gen.v1.urn.opendaylight.flow.inventory.rev130819.FlowCapableNodeConnector=FlowCapableNodeConnector{getAdvertisedFeatures=PortFeatures [_tenMbHd=false, _tenMbFd=false, _hundredMbHd=false, _hundredMbFd=false, _oneGbHd=false, _oneGbFd=false, _tenGbFd=false, _fortyGbFd=false, _hundredGbFd=false, _oneTbFd=false, _other=false, _copper=false, _fiber=false, _autoeng=false, _pause=false, _pauseAsym=false], getConfiguration=PortConfig [_pORTDOWN=false, _nORECV=false, _nOFWD=false, _nOPACKETIN=false], getCurrentFeature=PortFeatures [_tenMbHd=false, _tenMbFd=false, _hundredMbHd=false, _hundredMbFd=false, _oneGbHd=false, _oneGbFd=false, _tenGbFd=true, _fortyGbFd=false, _hundredGbFd=false, _oneTbFd=false, _other=false, _copper=true, _fiber=false, _autoeng=false, _pause=false, _pauseAsym=false], getCurrentSpeed=10000000, getHardwareAddress=MacAddress [_value=C6:34:A8:DD:4C:96], getMaximumSpeed=0, getName=s2-eth2, getPeerFeatures=PortFeatures [_tenMbHd=false, _tenMbFd=false, _hundredMbHd=false, _hundredMbFd=false, _oneGbHd=false, _oneGbFd=false, _tenGbFd=false, _fortyGbFd=false, _hundredGbFd=false, _oneTbFd=false, _other=false, _copper=false, _fiber=false, _autoeng=false, _pause=false, _pauseAsym=false], getPortNumber=PortNumberUni [_uint32=2, _value=[2]], getState=State{isBlocked=false, isLinkDown=false, isLive=false, augmentations={}}, getSupported=PortFeatures [_tenMbHd=false, _tenMbFd=false, _hundredMbHd=false, _hundredMbFd=false, _oneGbHd=false, _oneGbFd=false, _tenGbFd=false, _fortyGbFd=false, _hundredGbFd=false, _oneTbFd=false, _other=false, _copper=false, _fiber=false, _autoeng=false, _pause=false, _pauseAsym=false]}, interface org.opendaylight.yang.gen.v1.urn.opendaylight.port.statistics.rev131214.FlowCapableNodeConnectorStatisticsData=FlowCapableNodeConnectorStatisticsData{getFlowCapableNodeConnectorStatistics=FlowCapableNodeConnectorStatistics{getBytes=Bytes{getReceived=0, getTransmitted=5268, augmentations={}}, getCollisionCount=0, getDuration=Duration{getNanosecond=Counter32 [_value=390000000], getSecond=Counter32 [_value=294], augmentations={}}, getPackets=Packets{getReceived=0, getTransmitted=64, augmentations={}}, getReceiveCrcError=0, getReceiveDrops=0, getReceiveErrors=0, getReceiveFrameError=0, getReceiveOverRunError=0, getTransmitDrops=0, getTransmitErrors=0, augmentations={}}}}}
2015-06-09 11:46:40,550 | TRACE | lt-dispatcher-24 | InterfaceManager | 212 - org.opendaylight.vpnservice.interfacemgr-impl - 0.1.0.SNAPSHOT | nodeConnector: NodeConnector{getId=Uri [_value=openflow:2:2], augmentations={interface org.opendaylight.yang.gen.v1.urn.opendaylight.flow.inventory.rev130819.FlowCapableNodeConnector=FlowCapableNodeConnector{getAdvertisedFeatures=PortFeatures [_tenMbHd=false, _tenMbFd=false, _hundredMbHd=false, _hundredMbFd=false, _oneGbHd=false, _oneGbFd=false, _tenGbFd=false, _fortyGbFd=false, _hundredGbFd=false, _oneTbFd=false, _other=false, _copper=false, _fiber=false, _autoeng=false, _pause=false, _pauseAsym=false], getConfiguration=PortConfig [_pORTDOWN=false, _nORECV=false, _nOFWD=false, _nOPACKETIN=false], getCurrentFeature=PortFeatures [_tenMbHd=false, _tenMbFd=false, _hundredMbHd=false, _hundredMbFd=false, _oneGbHd=false, _oneGbFd=false, _tenGbFd=true, _fortyGbFd=false, _hundredGbFd=false, _oneTbFd=false, _other=false, _copper=true, _fiber=false, _autoeng=false, _pause=false, _pauseAsym=false], getCurrentSpeed=10000000, getHardwareAddress=MacAddress [_value=C6:34:A8:DD:4C:96], getMaximumSpeed=0, getName=s2-eth2, getPeerFeatures=PortFeatures [_tenMbHd=false, _tenMbFd=false, _hundredMbHd=false, _hundredMbFd=false, _oneGbHd=false, _oneGbFd=false, _tenGbFd=false, _fortyGbFd=false, _hundredGbFd=false, _oneTbFd=false, _other=false, _copper=false, _fiber=false, _autoeng=false, _pause=false, _pauseAsym=false], getPortNumber=PortNumberUni [_uint32=2, _value=[2]], getState=State{isBlocked=false, isLinkDown=false, isLive=false, augmentations={}}, getSupported=PortFeatures [_tenMbHd=false, _tenMbFd=false, _hundredMbHd=false, _hundredMbFd=false, _oneGbHd=false, _oneGbFd=false, _tenGbFd=false, _fortyGbFd=false, _hundredGbFd=false, _oneTbFd=false, _other=false, _copper=false, _fiber=false, _autoeng=false, _pause=false, _pauseAsym=false]}, interface org.opendaylight.yang.gen.v1.urn.opendaylight.port.statistics.rev131214.FlowCapableNodeConnectorStatisticsData=FlowCapableNodeConnectorStatisticsData{getFlowCapableNodeConnectorStatistics=FlowCapableNodeConnectorStatistics{getBytes=Bytes{getReceived=0, getTransmitted=5268, augmentations={}}, getCollisionCount=0, getDuration=Duration{getNanosecond=Counter32 [_value=390000000], getSecond=Counter32 [_value=294], augmentations={}}, getPackets=Packets{getReceived=0, getTransmitted=64, augmentations={}}, getReceiveCrcError=0, getReceiveDrops=0, getReceiveErrors=0, getReceiveFrameError=0, getReceiveOverRunError=0, getTransmitDrops=0, getTransmitErrors=0, augmentations={}}}}}
2015-06-09 11:46:40,551 | TRACE | lt-dispatcher-24 | MDSALManager | 210 - org.opendaylight.vpnservice.mdsalutil-impl - 0.1.0.SNAPSHOT | InstallFlow for flowEntity FlowEntity [m_shTableId=0, m_sFlowId=2012, m_nPriority=10, m_sFlowName=s2-eth2, m_nIdleTimeOut=0, m_nHardTimeOut=0, m_biCookie=134217729, m_listMatchInfo=[org.opendaylight.vpnservice.mdsalutil.MatchInfo@4b15b239], m_listInstructionInfo=[org.opendaylight.vpnservice.mdsalutil.InstructionInfo@7d67e2b1, org.opendaylight.vpnservice.mdsalutil.InstructionInfo@2f5412c9], m_bStrictFlag=false, m_bSendFlowRemFlag=false, toString()=AbstractSwitchEntity [m_lDpnId=2 ]]
2015-06-09 11:46:40,553 | TRACE | lt-dispatcher-24 | InterfaceManager | 212 - org.opendaylight.vpnservice.interfacemgr-impl - 0.1.0.SNAPSHOT | nodeConnector: NodeConnector{getId=Uri [_value=openflow:2:2], augmentations={interface org.opendaylight.yang.gen.v1.urn.opendaylight.flow.inventory.rev130819.FlowCapableNodeConnector=FlowCapableNodeConnector{getAdvertisedFeatures=PortFeatures [_tenMbHd=false, _tenMbFd=false, _hundredMbHd=false, _hundredMbFd=false, _oneGbHd=false, _oneGbFd=false, _tenGbFd=false, _fortyGbFd=false, _hundredGbFd=false, _oneTbFd=false, _other=false, _copper=false, _fiber=false, _autoeng=false, _pause=false, _pauseAsym=false], getConfiguration=PortConfig [_pORTDOWN=false, _nORECV=false, _nOFWD=false, _nOPACKETIN=false], getCurrentFeature=PortFeatures [_tenMbHd=false, _tenMbFd=false, _hundredMbHd=false, _hundredMbFd=false, _oneGbHd=false, _oneGbFd=false, _tenGbFd=true, _fortyGbFd=false, _hundredGbFd=false, _oneTbFd=false, _other=false, _copper=true, _fiber=false, _autoeng=false, _pause=false, _pauseAsym=false], getCurrentSpeed=10000000, getHardwareAddress=MacAddress [_value=C6:34:A8:DD:4C:96], getMaximumSpeed=0, getName=s2-eth2, getPeerFeatures=PortFeatures [_tenMbHd=false, _tenMbFd=false, _hundredMbHd=false, _hundredMbFd=false, _oneGbHd=false, _oneGbFd=false, _tenGbFd=false, _fortyGbFd=false, _hundredGbFd=false, _oneTbFd=false, _other=false, _copper=false, _fiber=false, _autoeng=false, _pause=false, _pauseAsym=false], getPortNumber=PortNumberUni [_uint32=2, _value=[2]], getState=State{isBlocked=false, isLinkDown=false, isLive=false, augmentations={}}, getSupported=PortFeatures [_tenMbHd=false, _tenMbFd=false, _hundredMbHd=false, _hundredMbFd=false, _oneGbHd=false, _oneGbFd=false, _tenGbFd=false, _fortyGbFd=false, _hundredGbFd=false, _oneTbFd=false, _other=false, _copper=false, _fiber=false, _autoeng=false, _pause=false, _pauseAsym=false]}, interface org.opendaylight.yang.gen.v1.urn.opendaylight.port.statistics.rev131214.FlowCapableNodeConnectorStatisticsData=FlowCapableNodeConnectorStatisticsData{getFlowCapableNodeConnectorStatistics=FlowCapableNodeConnectorStatistics{getBytes=Bytes{getReceived=0, getTransmitted=5268, augmentations={}}, getCollisionCount=0, getDuration=Duration{getNanosecond=Counter32 [_value=390000000], getSecond=Counter32 [_value=294], augmentations={}}, getPackets=Packets{getReceived=0, getTransmitted=64, augmentations={}}, getReceiveCrcError=0, getReceiveDrops=0, getReceiveErrors=0, getReceiveFrameError=0, getReceiveOverRunError=0, getTransmitDrops=0, getTransmitErrors=0, augmentations={}}}}}
2015-06-09 11:46:40,553 | TRACE | lt-dispatcher-24 | VpnInterfaceManager | 213 - org.opendaylight.vpnservice.vpnmanager-impl - 0.1.0.SNAPSHOT | NextHops are [Adjacency{getIpAddress=10.0.0.4, getMacAddress=00:00:00:00:00:04, augmentations={}}]
2015-06-09 11:46:40,558 | TRACE | lt-dispatcher-24 | VpnInterfaceChangeListener | 214 - org.opendaylight.vpnservice.nexthopmgr-impl - 0.1.0.SNAPSHOT | Adding adjacencies interface : key: InstanceIdentifier

{targetType=interface org.opendaylight.yang.gen.v1.urn.opendaylight.l3vpn.rev130911.Adjacencies, path=[org.opendaylight.yang.gen.v1.urn.huawei.params.xml.ns.yang.l3vpn.rev140815.VpnInterfaces, org.opendaylight.yang.gen.v1.urn.huawei.params.xml.ns.yang.l3vpn.rev140815.vpn.interfaces.VpnInterface[key=VpnInterfaceKey [_name=s2-eth2]], org.opendaylight.yang.gen.v1.urn.opendaylight.l3vpn.rev130911.Adjacencies]}

, value=Adjacencies{getAdjacency=[Adjacency{getIpAddress=10.0.0.4, getLabel=4, getMacAddress=00:00:00:00:00:04, augmentations={}}]}
2015-06-09 11:46:40,558 | DEBUG | lt-dispatcher-24 | NexthopManager | 214 - org.opendaylight.vpnservice.nexthopmgr-impl - 0.1.0.SNAPSHOT | VPN id returned: 1
2015-06-09 11:46:40,559 | TRACE | lt-dispatcher-24 | InterfaceManager | 212 - org.opendaylight.vpnservice.interfacemgr-impl - 0.1.0.SNAPSHOT | nodeConnector: NodeConnector{getId=Uri [_value=openflow:2:2], augmentations={interface org.opendaylight.yang.gen.v1.urn.opendaylight.flow.inventory.rev130819.FlowCapableNodeConnector=FlowCapableNodeConnector{getAdvertisedFeatures=PortFeatures [_tenMbHd=false, _tenMbFd=false, _hundredMbHd=false, _hundredMbFd=false, _oneGbHd=false, _oneGbFd=false, _tenGbFd=false, _fortyGbFd=false, _hundredGbFd=false, _oneTbFd=false, _other=false, _copper=false, _fiber=false, _autoeng=false, _pause=false, _pauseAsym=false], getConfiguration=PortConfig [_pORTDOWN=false, _nORECV=false, _nOFWD=false, _nOPACKETIN=false], getCurrentFeature=PortFeatures [_tenMbHd=false, _tenMbFd=false, _hundredMbHd=false, _hundredMbFd=false, _oneGbHd=false, _oneGbFd=false, _tenGbFd=true, _fortyGbFd=false, _hundredGbFd=false, _oneTbFd=false, _other=false, _copper=true, _fiber=false, _autoeng=false, _pause=false, _pauseAsym=false], getCurrentSpeed=10000000, getHardwareAddress=MacAddress [_value=C6:34:A8:DD:4C:96], getMaximumSpeed=0, getName=s2-eth2, getPeerFeatures=PortFeatures [_tenMbHd=false, _tenMbFd=false, _hundredMbHd=false, _hundredMbFd=false, _oneGbHd=false, _oneGbFd=false, _tenGbFd=false, _fortyGbFd=false, _hundredGbFd=false, _oneTbFd=false, _other=false, _copper=false, _fiber=false, _autoeng=false, _pause=false, _pauseAsym=false], getPortNumber=PortNumberUni [_uint32=2, _value=[2]], getState=State{isBlocked=false, isLinkDown=false, isLive=false, augmentations={}}, getSupported=PortFeatures [_tenMbHd=false, _tenMbFd=false, _hundredMbHd=false, _hundredMbFd=false, _oneGbHd=false, _oneGbFd=false, _tenGbFd=false, _fortyGbFd=false, _hundredGbFd=false, _oneTbFd=false, _other=false, _copper=false, _fiber=false, _autoeng=false, _pause=false, _pauseAsym=false]}, interface org.opendaylight.yang.gen.v1.urn.opendaylight.port.statistics.rev131214.FlowCapableNodeConnectorStatisticsData=FlowCapableNodeConnectorStatisticsData{getFlowCapableNodeConnectorStatistics=FlowCapableNodeConnectorStatistics{getBytes=Bytes{getReceived=0, getTransmitted=5268, augmentations={}}, getCollisionCount=0, getDuration=Duration{getNanosecond=Counter32 [_value=390000000], getSecond=Counter32 [_value=294], augmentations={}}, getPackets=Packets{getReceived=0, getTransmitted=64, augmentations={}}, getReceiveCrcError=0, getReceiveDrops=0, getReceiveErrors=0, getReceiveFrameError=0, getReceiveOverRunError=0, getTransmitDrops=0, getTransmitErrors=0, augmentations={}}}}}
2015-06-09 11:46:40,563 | TRACE | lt-dispatcher-25 | FibManager | 215 - org.opendaylight.vpnservice.fibmanager-impl - 0.1.0.SNAPSHOT | key: KeyedInstanceIdentifier

{targetType=interface org.opendaylight.yang.gen.v1.urn.opendaylight.vpnservice.fibmanager.rev150330.vrfentries.VrfEntry, path=[org.opendaylight.yang.gen.v1.urn.opendaylight.vpnservice.fibmanager.rev150330.FibEntries, org.opendaylight.yang.gen.v1.urn.opendaylight.vpnservice.fibmanager.rev150330.fibentries.VrfTables[key=VrfTablesKey [_routeDistinguisher=100:1]], org.opendaylight.yang.gen.v1.urn.opendaylight.vpnservice.fibmanager.rev150330.vrfentries.VrfEntry[key=VrfEntryKey [_destPrefix=10.0.0.4]]]}

, value=VrfEntry{getDestPrefix=10.0.0.4, getLabel=4, getNextHopAddress=192.168.56.104, augmentations={}}
2015-06-09 11:46:40,564 | DEBUG | lt-dispatcher-25 | FibManager | 215 - org.opendaylight.vpnservice.fibmanager-impl - 0.1.0.SNAPSHOT | adding route 10.0.0.4 100:1
2015-06-09 11:46:40,564 | TRACE | lt-dispatcher-25 | FibManager | 215 - org.opendaylight.vpnservice.fibmanager-impl - 0.1.0.SNAPSHOT | resolveAdjacency called with dpid 1, vpnId1, VrfEntry VrfEntry{getDestPrefix=10.0.0.4, getLabel=4, getNextHopAddress=192.168.56.104, augmentations={}}
2015-06-09 11:46:40,564 | TRACE | lt-dispatcher-25 | NexthopManager | 214 - org.opendaylight.vpnservice.nexthopmgr-impl - 0.1.0.SNAPSHOT | getEgressPointer: input GetEgressPointerInput [_dpnId=1, _ipPrefix=10.0.0.4, _nexthopIp=192.168.56.104, _vpnId=1, augmentation=[]], endpointIp 192.168.56.103
2015-06-09 11:46:40,564 | TRACE | lt-dispatcher-25 | NexthopManager | 214 - org.opendaylight.vpnservice.nexthopmgr-impl - 0.1.0.SNAPSHOT | TunnelNextHop : TunnelNexthop{getEgressPointer=2, getIpAddress=192.168.56.104, augmentations={}}
2015-06-09 11:46:40,564 | TRACE | lt-dispatcher-25 | FibManager | 215 - org.opendaylight.vpnservice.fibmanager-impl - 0.1.0.SNAPSHOT | makeConnectedRoute: vrfEntry VrfEntry{getDestPrefix=10.0.0.4, getLabel=4, getNextHopAddress=192.168.56.104, augmentations={}}
2015-06-09 11:46:40,564 | DEBUG | lt-dispatcher-25 | FibManager | 215 - org.opendaylight.vpnservice.fibmanager-impl - 0.1.0.SNAPSHOT | Adding route to DPN. ip 10.0.0.4 masklen 32
2015-06-09 11:46:40,565 | TRACE | lt-dispatcher-25 | MDSALManager | 210 - org.opendaylight.vpnservice.mdsalutil-impl - 0.1.0.SNAPSHOT | InstallFlow for flowEntity FlowEntity [m_shTableId=21, m_sFlowId=L3.1.21.100:1.10.0.0.4, m_nPriority=42, m_sFlowName=L3.1.21.100:1.10.0.0.4, m_nIdleTimeOut=0, m_nHardTimeOut=0, m_biCookie=134217731, m_listMatchInfo=[org.opendaylight.vpnservice.m...



 Comments   
Comment by Sindhuri B [ 09/Jun/15 ]

Attachment gre_port-del.zip has been added with description: switch entries, logs and datastore output

Comment by Vishal Thapar [ 24/Jun/15 ]

Looks like a bug in NextHop Manager as remote next hop isn't being deleted. This looks similar to issue being fixed as part of 3428. Assigning to Sasi for now. He and Abhinav are looking into 3428.

Comment by Abhinav Gupta [ 26/Jun/15 ]

Deprecated to Beryllium.
Not supported yet since FIB entries are present pointing to that tunnel group, so the decision whether to delete the FIB entries too or not, will be taken later.

Comment by Deepthi V V [ 12/Feb/16 ]

Issue is fixed in Beryllium.

Generated at Wed Feb 07 20:47:06 UTC 2024 using Jira 8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d.