Uploaded image for project: 'ovsdb'
  1. ovsdb
  2. OVSDB-187

pipeline flows not programmed on manually added br-int

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Resolution: Cannot Reproduce
    • unspecified
    • None
    • openstack.net-virt
    • None
    • Operating System: All
      Platform: All

    • 4014

    Description

      pipeline flows not programmed on manually added br-int

      Steps:

      1. Manually add br-int on the ovsdb node
      sudo ovs-vsctl add-br br-int
      2. stack
      3. check for the pipeline flows
      sudo ovs-ofctl -O OpenFlow13 dump-flows br-int

      The netvirt code expects to get a dataChange event for the new bridge node. The pipeline verifies that that the OvsdbBridgeAugmentation is part of the node before programming the pipeline flows. In the failed scenario this dataChange does not happen. What does happen is a terminationPoint event might come in for the ports on that bridge. In the example below, the only augmentation is the terminationPoint augmentation. The bridgeAugmentation is further down in the terminationPoint so it is not found.

      2015-07-17 08:52:04,559 | INFO | pool-44-thread-1 | PipelineOrchestratorImpl | 269 - org.opendaylight.ovsdb.openstack.net-virt-providers - 1.1.1.SNAPSHOT | >>>>> dequeue: Node{getNodeId=Uri [_value=ovsdb://uuid/3b2c4dea-c9aa-4d64-9bc3-d0e6e3fafbff/bridge/br-int], getTerminationPoint=[TerminationPoint{getTpId=Uri [_value=eth1], augmentations={interface org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.ovsdb.rev150105.OvsdbTerminationPointAugmentation=OvsdbTerminationPointAugmentation

      {getInterfaceUuid=Uuid [_value=390ff11d-cc87-47e0-b2a7-aeb6e5437fad], getName=eth1, getOfport=1, getPortUuid=Uuid [_value=95c16f5a-1d23-4eeb-8fe2-93278f7242bf]}

      }}, TerminationPoint{getTpId=Uri [_value=br-int], augmentations={interface org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.ovsdb.rev150105.OvsdbTerminationPointAugmentation=OvsdbTerminationPointAugmentation

      {getInterfaceType=class org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.ovsdb.rev150105.InterfaceTypeInternal, getInterfaceUuid=Uuid [_value=450cfec9-906d-43c1-9685-c4ee7f297104], getName=br-int, getOfport=65534, getPortUuid=Uuid [_value=473c4af1-080e-43e4-9e79-79461840c84b]}

      }}], augmentations={interface org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.ovsdb.rev150105.OvsdbBridgeAugmentation=OvsdbBridgeAugmentation{getBridgeName=OvsdbBridgeName [_value=br-int], getBridgeUuid=Uuid [_value=9b2b977b-cc94-4ef3-b909-148bdc402e88], getDatapathId=DatapathId [_value=00:00:7a:97:2b:9b:f3:4e], getDatapathType=class org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.ovsdb.rev150105.DatapathTypeSystem, getManagedBy=OvsdbNodeRef [_value=KeyedInstanceIdentifier

      {targetType=interface org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node, path=[org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.NetworkTopology, org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.Topology[key=TopologyKey [_topologyId=Uri [_value=ovsdb:1]]], org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node[key=NodeKey [_nodeId=Uri [_value=ovsdb://uuid/3b2c4dea-c9aa-4d64-9bc3-d0e6e3fafbff]]]]}

      ]}}}

      Attachments

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

        Activity

          People

            shague Sam Hague
            shague Sam Hague
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: