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

wipe-out command does not wipe-out intents left in FAILED state

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Minor
    • Resolution: Done
    • Affects Version/s: 1.3.0
    • Fix Version/s: 1.3.0
    • Component/s: None
    • Labels:
    • Epic Link:
    • Sprint:
      Drake Sprint 1 (7/6-7/24)

      Description

      onos> summary
      node=10.128.40.41, version=1.3.0.admin~2015/07/13@14:07
      nodes=3, devices=25, links=0, hosts=0, SCC(s)=0, flows=0, intents=300
      onos>
      onos> wipe-out --help
      DESCRIPTION
      onos:wipe-out

      Wipes-out the entire network information base, i.e. devices, links, hosts

      SYNTAX
      onos:wipe-out [options] [please]

      ARGUMENTS
      please
      Confirmation phrase

      OPTIONS
      --help
      Display this help message
      -r, --recompute
      Trigger topology re-computation
      -j, --json
      Output JSON

      onos> wipe-out
      I'm afraid I can't do that!
      Say: please
      onos> please
      Command not found: please
      onos> wipe-out please
      Wiping devices
      Wiping links
      Wiping hosts
      Wiping intents
      onos> summary
      node=10.128.40.41, version=1.3.0.admin~2015/07/13@14:07
      nodes=3, devices=0, links=0, hosts=0, SCC(s)=0, flows=0, intents=300
      onos>
      onos> intents
      id=0x10003d, state=FAILED, key=0x10003d, type=HostToHostIntent, appId=org.onosproject.cli
      resources=[00:00:00:00:00:02/-1, 00:00:00:00:00:14/-1]
      constraints=[LinkTypeConstraint

      {inclusive=false, types=[OPTICAL]}]
      host1=00:00:00:00:00:02/-1, host2=00:00:00:00:00:14/-1
      id=0x200253, state=FAILED, key=0x200253, type=HostToHostIntent, appId=org.onosproject.cli
      resources=[00:00:00:00:00:17/-1, 00:00:00:00:00:19/-1]
      constraints=[LinkTypeConstraint{inclusive=false, types=[OPTICAL]}

      ]
      host1=00:00:00:00:00:17/-1, host2=00:00:00:00:00:19/-1
      id=0x200031, state=FAILED, key=0x200031, type=HostToHostIntent, appId=org.onosproject.cli
      resources=[00:00:00:00:00:02/-1, 00:00:00:00:00:07/-1]
      constraints=[LinkTypeConstraint

      {inclusive=false, types=[OPTICAL]}]
      host1=00:00:00:00:00:02/-1, host2=00:00:00:00:00:07/-1
      id=0x200036, state=FAILED, key=0x200036, type=HostToHostIntent, appId=org.onosproject.cli
      resources=[00:00:00:00:00:02/-1, 00:00:00:00:00:0A/-1]
      constraints=[LinkTypeConstraint{inclusive=false, types=[OPTICAL]}

      ]
      host1=00:00:00:00:00:02/-1, host2=00:00:00:00:00:0A/-1

      onos> intents -s | grep fail
      Connectivity withdrawn= 0 failed= 300
      HostToHost withdrawn= 0 failed= 300
      PointToPoint withdrawn= 0 failed= 0
      MultiPointToSinglePoint withdrawn= 0 failed= 0
      SinglePointToMultiPoint withdrawn= 0 failed= 0
      Path withdrawn= 0 failed= 0
      LinkCollection withdrawn= 0 failed= 0
      UnknownType withdrawn= 0 failed= 0
      All withdrawn= 0 failed= 300
      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:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: