Class NetconfTopologyPlugin
java.lang.Object
io.lighty.core.controller.api.AbstractLightyModule
io.lighty.modules.southbound.netconf.impl.NetconfTopologyPlugin
- All Implemented Interfaces:
LightyModule,NetconfSBPlugin
-
Method Summary
Modifier and TypeMethodDescriptiongetNetconfBaseService(org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.NodeId nodeId) Create an instance ofNetconfBaseServicefor specific device (mount point).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 booleanbooleanIndicates if this instance is clustered or not.protected booleanMethods inherited from class io.lighty.core.controller.api.AbstractLightyModule
shutdown, shutdown, start, startBlocking, startBlockingMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.lighty.core.controller.api.LightyModule
shutdown, shutdown, start, startBlocking
-
Method Details
-
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.- 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.
-