Class NetconfTopologyPlugin
- java.lang.Object
-
- io.lighty.core.controller.api.AbstractLightyModule
-
- io.lighty.modules.southbound.netconf.impl.NetconfTopologyPlugin
-
- All Implemented Interfaces:
LightyModule,NetconfSBPlugin
public class NetconfTopologyPlugin extends AbstractLightyModule implements NetconfSBPlugin
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Optional<NetconfBaseService>getNetconfBaseService(org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.NodeId nodeId)Create an instance ofNetconfBaseServicefor specific device (mount point)Optional<NetconfNmdaBaseService>getNetconfNmdaBaseService(org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.NodeId nodeId)Create an instance ofNetconfNmdaBaseServicefor specific device (mount point)protected booleaninitProcedure()booleanisClustered()Indicates if this instance is clustered or not.protected booleanstopProcedure()-
Methods inherited from class io.lighty.core.controller.api.AbstractLightyModule
shutdown, start, startBlocking, startBlocking
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface io.lighty.core.controller.api.LightyModule
shutdown, start, startBlocking
-
-
-
-
Method Detail
-
initProcedure
protected boolean initProcedure()
- Specified by:
initProcedurein classAbstractLightyModule
-
stopProcedure
protected boolean stopProcedure()
- Specified by:
stopProcedurein classAbstractLightyModule
-
isClustered
public boolean isClustered()
Description copied from interface:NetconfSBPluginIndicates if this instance is clustered or not.- Specified by:
isClusteredin interfaceNetconfSBPlugin- Returns:
- True if this instance of NETCONF SBP is clustered, false otherwise.
-
getNetconfBaseService
public Optional<NetconfBaseService> getNetconfBaseService(org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.NodeId nodeId)
Description copied from interface:NetconfSBPluginCreate an instance ofNetconfBaseServicefor specific device (mount point)- Specified by:
getNetconfBaseServicein interfaceNetconfSBPlugin- Parameters:
nodeId- Unique identifier of Netconf node in topology-netconf.- Returns:
- Instance of
NetconfBaseServiceor empty if node is not found by nodeId.
-
getNetconfNmdaBaseService
public Optional<NetconfNmdaBaseService> getNetconfNmdaBaseService(org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.NodeId nodeId)
Description copied from interface:NetconfSBPluginCreate an instance ofNetconfNmdaBaseServicefor specific device (mount point)- Specified by:
getNetconfNmdaBaseServicein interfaceNetconfSBPlugin- Parameters:
nodeId- Unique identifier of Netconf node in topology-netconf.- Returns:
- Instance of
NetconfNmdaBaseServiceor empty if node is not found by nodeId.
-
-