Uploaded image for project: 'ONOS'
  1. ONOS
  2. ONOS-2890

Deactivating DHCP app deletes default arp flow installed by ONOS on devices

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Critical
    • Resolution: Done
    • Affects Version/s: 1.3.0
    • Fix Version/s: 1.4.0
    • Component/s: None
    • Labels:
    • Epic Link:
    • Sprint:
      Drake Sprint 4 (8/31-9/4) 2, Emu Sprint 1 (9/21-10/9), Emu Sprint 2 (10/12-10/30)

      Description

      onos>
      onos> summary
      node=10.128.20.11, version=1.3.0.rc3
      nodes=3, devices=25, links=114, hosts=0, SCC(s)=1, flows=75, intents=0
      onos>
      onos>
      onos> flows any of:0000000000000001
      deviceId=of:0000000000000001, flowRuleCount=3
      id=100004642d916, state=ADDED, bytes=10368, packets=128, duration=61, priority=40000, tableId=0 appId=org.onosproject.core, payLoad=null
      selector=[ETH_TYPE

      {ethType=lldp}]
      treatment=DefaultTrafficTreatment{immediate=[OUTPUT{port=CONTROLLER}], deferred=[], transition=None, cleared=false, metadata=null}
      id=100004642e760, state=ADDED, bytes=10611, packets=131, duration=61, priority=40000, tableId=0 appId=org.onosproject.core, payLoad=null
      selector=[ETH_TYPE{ethType=bddp}]
      treatment=DefaultTrafficTreatment{immediate=[OUTPUT{port=CONTROLLER}]
      , deferred=[], transition=None, cleared=false, metadata=null}
      id=100004652411c, state=ADDED, bytes=0, packets=0, duration=61, priority=40000, tableId=0 appId=org.onosproject.core, payLoad=null
      selector=[ETH_TYPE{ethType=arp}]
      treatment=DefaultTrafficTreatment{immediate=[OUTPUT{port=CONTROLLER}], deferred=[], transition=None, cleared=false, metadata=null}
      onos>
      onos>
      onos> app activate org.onosproject.
      org.onosproject.aaa org.onosproject.acl org.onosproject.bgprouter
      org.onosproject.cip org.onosproject.config org.onosproject.cordfabric
      org.onosproject.demo org.onosproject.dhcp org.onosproject.distributedprimitives
      org.onosproject.election org.onosproject.flowanalyzer org.onosproject.fwd
      org.onosproject.intentperf org.onosproject.messagingperf org.onosproject.metrics
      org.onosproject.netconf org.onosproject.null org.onosproject.olt
      org.onosproject.optical org.onosproject.ovsdb org.onosproject.pcep
      org.onosproject.reactive.routing org.onosproject.sdnip org.onosproject.segmentrouting
      org.onosproject.virtualbng org.onosproject.vtn org.onosproject.vtnrsc
      org.onosproject.vtnweb org.onosproject.xosintegration
      onos> app activate org.onosproject.dhcp
      onos> summary
      node=10.128.20.11, version=1.3.0.rc3
      nodes=3, devices=25, links=114, hosts=0, SCC(s)=1, flows=100, intents=0
      onos>
      onos> flows any of:0000000000000001
      deviceId=of:0000000000000001, flowRuleCount=4
      id=100004642d916, state=ADDED, bytes=13608, packets=168, duration=91, priority=40000, tableId=0 appId=org.onosproject.core, payLoad=null
      selector=[ETH_TYPE{ethType=lldp}

      ]
      treatment=DefaultTrafficTreatment{immediate=[OUTPUT

      {port=CONTROLLER}], deferred=[], transition=None, cleared=false, metadata=null}
      id=100004642e760, state=ADDED, bytes=13851, packets=171, duration=91, priority=40000, tableId=0 appId=org.onosproject.core, payLoad=null
      selector=[ETH_TYPE{ethType=bddp}]
      treatment=DefaultTrafficTreatment{immediate=[OUTPUT{port=CONTROLLER}

      ], deferred=[], transition=None, cleared=false, metadata=null}
      id=100004652411c, state=ADDED, bytes=0, packets=0, duration=10, priority=40000, tableId=0 appId=org.onosproject.core, payLoad=null
      selector=[ETH_TYPE

      {ethType=arp}

      ]
      treatment=DefaultTrafficTreatment{immediate=[OUTPUT

      {port=CONTROLLER}], deferred=[], transition=None, cleared=false, metadata=null}
      id=10000465449d0, state=ADDED, bytes=0, packets=0, duration=10, priority=40000, tableId=0 appId=org.onosproject.core, payLoad=null
      selector=[ETH_TYPE{ethType=ipv4}, UDP_DST{udpPort=67}, IP_PROTO{protocol=17}, UDP_SRC{udpPort=68}]
      treatment=DefaultTrafficTreatment{immediate=[OUTPUT{port=CONTROLLER}

      ], deferred=[], transition=None, cleared=false, metadata=null}
      onos>
      onos>
      onos> flows | grep Count
      deviceId=of:0000000000000001, flowRuleCount=4
      deviceId=of:0000000000000002, flowRuleCount=4
      deviceId=of:0000000000000003, flowRuleCount=4
      deviceId=of:0000000000000004, flowRuleCount=4
      deviceId=of:0000000000000005, flowRuleCount=4
      deviceId=of:0000000000000006, flowRuleCount=4
      deviceId=of:0000000000000007, flowRuleCount=4
      deviceId=of:0000000000000008, flowRuleCount=4
      deviceId=of:0000000000000009, flowRuleCount=4
      deviceId=of:000000000000000a, flowRuleCount=4
      deviceId=of:000000000000000b, flowRuleCount=4
      deviceId=of:000000000000000c, flowRuleCount=4
      deviceId=of:000000000000000d, flowRuleCount=4
      deviceId=of:000000000000000e, flowRuleCount=4
      deviceId=of:000000000000000f, flowRuleCount=4
      deviceId=of:0000000000000010, flowRuleCount=4
      deviceId=of:0000000000000011, flowRuleCount=4
      deviceId=of:0000000000000012, flowRuleCount=4
      deviceId=of:0000000000000013, flowRuleCount=4
      deviceId=of:0000000000000014, flowRuleCount=4
      deviceId=of:0000000000000015, flowRuleCount=4
      deviceId=of:0000000000000016, flowRuleCount=4
      deviceId=of:0000000000000017, flowRuleCount=4
      deviceId=of:0000000000000018, flowRuleCount=4
      deviceId=of:0000000000000019, flowRuleCount=4
      onos>
      onos> app deactivate org.onosproject.dhcp
      onos> flows any of:0000000000000001
      deviceId=of:0000000000000001, flowRuleCount=2
      id=100004642d916, state=ADDED, bytes=15552, packets=192, duration=111, priority=40000, tableId=0 appId=org.onosproject.core, payLoad=null
      selector=[ETH_TYPE

      {ethType=lldp}

      ]
      treatment=DefaultTrafficTreatment{immediate=[OUTPUT

      {port=CONTROLLER}], deferred=[], transition=None, cleared=false, metadata=null}
      id=100004642e760, state=ADDED, bytes=15795, packets=195, duration=111, priority=40000, tableId=0 appId=org.onosproject.core, payLoad=null
      selector=[ETH_TYPE{ethType=bddp}]
      treatment=DefaultTrafficTreatment{immediate=[OUTPUT{port=CONTROLLER}

      ], deferred=[], transition=None, cleared=false, metadata=null}
      onos>
      onos> summary
      node=10.128.20.11, version=1.3.0.rc3
      nodes=3, devices=25, links=114, hosts=0, SCC(s)=1, flows=50, intents=0
      onos> flows | grep Count
      deviceId=of:0000000000000001, flowRuleCount=2
      deviceId=of:0000000000000002, flowRuleCount=2
      deviceId=of:0000000000000003, flowRuleCount=2
      deviceId=of:0000000000000004, flowRuleCount=2
      deviceId=of:0000000000000005, flowRuleCount=2
      deviceId=of:0000000000000006, flowRuleCount=2
      deviceId=of:0000000000000007, flowRuleCount=2
      deviceId=of:0000000000000008, flowRuleCount=2
      deviceId=of:0000000000000009, flowRuleCount=2
      deviceId=of:000000000000000a, flowRuleCount=2
      deviceId=of:000000000000000b, flowRuleCount=2
      deviceId=of:000000000000000c, flowRuleCount=2
      deviceId=of:000000000000000d, flowRuleCount=2
      deviceId=of:000000000000000e, flowRuleCount=2
      deviceId=of:000000000000000f, flowRuleCount=2
      deviceId=of:0000000000000010, flowRuleCount=2
      deviceId=of:0000000000000011, flowRuleCount=2
      deviceId=of:0000000000000012, flowRuleCount=2
      deviceId=of:0000000000000013, flowRuleCount=2
      deviceId=of:0000000000000014, flowRuleCount=2
      deviceId=of:0000000000000015, flowRuleCount=2
      deviceId=of:0000000000000016, flowRuleCount=2
      deviceId=of:0000000000000017, flowRuleCount=2
      deviceId=of:0000000000000018, flowRuleCount=2
      deviceId=of:0000000000000019, flowRuleCount=2
      onos>
      onos> apps | grep arp

      • id=10, name=org.onosproject.proxyarp, version=1.3.0.rc3, origin=ON.Lab, description=Proxy ARP/NDP application, features=[onos-app-proxyarp], featuresRepo=mvn:org.onosproject/onos-app-proxyarp/1.3.0-rc3/xml/features, permissions=[]
        onos>
        onos>

        Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

            • Assignee:
              hari hari
              Reporter:
              hari hari
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: