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

Host intent default treatment is set to DROP after install

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Minor
    • Resolution: Done
    • Affects Version/s: 1.2.0
    • Fix Version/s: 1.2.0
    • Component/s: None
    • Labels:

      Description

      Just assigning this to Brian for now.
      #################################
      ---------- Forwarded message ----------
      From: Hari Krishna <hari@onlab.us>
      Date: Wed, Apr 29, 2015 at 4:33 PM
      Subject: Unable to ping between hosts with host-intent (treatment set to DROP)
      To: "onos-dev@onosproject.org" <onos-dev@onosproject.org>, Min-Cheng Chan <rascov@gmail.com>

      Not sure if this caused by below change, but currently on latest master
      I cannot ping between hosts with host-intent. I do not find the ANY CLI
      option to pass treatment in case if this has been added and mandatory
      for host-intent to work.

      commit 41aff9fb4a36bb237f7e38b4bfdb6ac762784e2e
      Author: Charles M.C. Chan <rascov@gmail.com>
      Date: Thu Apr 30 00:34:41 2015 +0800

      Pass the selector/treatment set by CLI to the HostToHostIntent

      -Hari
      ################################
      onos> add-host-intent 00:00:00:00:00:01/-1 00:00:00:00:00:03/-1
      Host to Host intent submitted:
      HostToHostIntent{id=0x800000, key=0x800000, appId=DefaultApplicationId

      {id=1, name=org.onosproject.cli}

      , priority=100, resources=[00:00:00:00:00:01/-1, 00:00:00:00:00:03/-1], selector=DefaultTrafficSelector{criteria=[ETH_TYPE

      {ethType=800}]}, treatment=DefaultTrafficTreatment{immediate=[DROP{}], deferred=[], transition=None, cleared=false}, constraints=[LinkTypeConstraint{inclusive=false, types=[OPTICAL]}], one=00:00:00:00:00:01/-1, two=00:00:00:00:00:03/-1}
      onos> intents
      intents intents-events intents-events-metrics
      onos> intents
      id=0x800000, state=FAILED, key=0x800000, type=HostToHostIntent, appId=org.onosproject.cli
      resources=[00:00:00:00:00:01/-1, 00:00:00:00:00:03/-1]
      selector=[ETH_TYPE{ethType=800}

      ]
      treatment=[DROP{}]
      constraints=[LinkTypeConstraint

      {inclusive=false, types=[OPTICAL]}]
      host1=00:00:00:00:00:01/-1, host2=00:00:00:00:00:03/-1
      onos> summary
      node=10.128.40.41, version=1.2.0.admin~2015/04/29@16:09
      nodes=5, devices=2, links=2, hosts=0, SCC(s)=1, flows=10, intents=1
      onos>
      onos> hosts
      id=00:00:00:00:00:01/-1, mac=00:00:00:00:00:01, location=of:0000000000000001/1, vlan=-1, ip(s)=[10.0.0.1]
      id=00:00:00:00:00:03/-1, mac=00:00:00:00:00:03, location=of:0000000000000002/1, vlan=-1, ip(s)=[10.0.0.3]
      onos> summary
      node=10.128.40.41, version=1.2.0.admin~2015/04/29@16:09
      nodes=5, devices=2, links=2, hosts=2, SCC(s)=1, flows=14, intents=1
      onos> intents
      id=0x800000, state=INSTALLED, key=0x800000, type=HostToHostIntent, appId=org.onosproject.cli
      resources=[00:00:00:00:00:01/-1, 00:00:00:00:00:03/-1]
      selector=[ETH_TYPE{ethType=800}]
      treatment=[DROP{}]
      constraints=[LinkTypeConstraint{inclusive=false, types=[OPTICAL]}

      ]
      host1=00:00:00:00:00:01/-1, host2=00:00:00:00:00:03/-1
      onos>

        Attachments

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

          Activity

            People

            Assignee:
            bocon Brian O'Connor
            Reporter:
            hari hari
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: