public final class OVSDBEventHandler extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
BRIDGE_URI_PREFIX
identifier to read BRIDGE_URI_PREFIX.
|
| Constructor and Description |
|---|
OVSDBEventHandler(NeutronConfig cfg,
MdsalUtils md,
VTNManagerService vtn)
Method invoked when the open flow switch is Added.
|
| Modifier and Type | Method and Description |
|---|---|
void |
deletePortMap(org.opendaylight.yang.gen.v1.urn.opendaylight.neutron.ports.rev150712.ports.attributes.ports.Port neutronPort)
Delete PortMap set for a NeutronPort.
|
String |
getOvsdbBridgeName()
Return the name of the interface bridge in the OVS.
|
void |
nodeAdded(org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node node,
org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.ovsdb.rev150105.OvsdbNodeAugmentation ovnode)
Method invoked when the open flow switch is Added.
|
void |
nodeRemoved(org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node node)
Method invoked when the open flow switch is Removed.
|
void |
setPortMap(org.opendaylight.yang.gen.v1.urn.opendaylight.neutron.ports.rev150712.ports.attributes.ports.Port neutronPort,
OfNode ofNode,
Long ofPort,
String portName)
Set PortMap for an Interface.
|
public static final String BRIDGE_URI_PREFIX
public OVSDBEventHandler(NeutronConfig cfg, MdsalUtils md, VTNManagerService vtn)
cfg - The configuration for the manager.neutron bundle.md - A MdsalUtils instance.vtn - A VTNManagerService instance.public void nodeAdded(@Nonnull org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node node, @Nonnull org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.ovsdb.rev150105.OvsdbNodeAugmentation ovnode)
node - The created node.ovnode - The created OVSDB node augmentation.public void nodeRemoved(org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node node)
node - Instance of Node object to be removed.public void setPortMap(@Nonnull org.opendaylight.yang.gen.v1.urn.opendaylight.neutron.ports.rev150712.ports.attributes.ports.Port neutronPort, @Nonnull OfNode ofNode, Long ofPort, String portName)
neutronPort - A Port instance.ofNode - An OfNode instance that specifies the
OpenFlow switch.ofPort - A long value that indicates the physical switch port
number.portName - The name of the switch port.public void deletePortMap(@Nonnull org.opendaylight.yang.gen.v1.urn.opendaylight.neutron.ports.rev150712.ports.attributes.ports.Port neutronPort)
neutronPort - An instance of NeutronPort object.Copyright © 2018 OpenDaylight. All rights reserved.