X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=common%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Ftransportpce%2Fcommon%2Fopenroadminterfaces%2FOpenRoadmInterfaces.java;h=dc3821652d04c22812816a94f5fe802ea3515619;hb=ce96a3bb3962f1350f9c7cee6405dcfba88aaaa3;hp=b553a422f2622c7ad1c6a231bc5760e55fb746f2;hpb=f8f1b05b6eefd0f5c18e22c22b4d4e023f61faf6;p=transportpce.git diff --git a/common/src/main/java/org/opendaylight/transportpce/common/openroadminterfaces/OpenRoadmInterfaces.java b/common/src/main/java/org/opendaylight/transportpce/common/openroadminterfaces/OpenRoadmInterfaces.java index b553a422f..dc3821652 100644 --- a/common/src/main/java/org/opendaylight/transportpce/common/openroadminterfaces/OpenRoadmInterfaces.java +++ b/common/src/main/java/org/opendaylight/transportpce/common/openroadminterfaces/OpenRoadmInterfaces.java @@ -25,8 +25,12 @@ public interface OpenRoadmInterfaces { * 2. If exists then admin state of interface is outOfState/Maintenance *

* + * @param nodeId node ID + * * @param ifBuilder Builder object containing the data to post. * + * @throws OpenRoadmInterfaceException OpenRoadm Interface Exception + * */ void postInterface(String nodeId, InterfaceBuilder ifBuilder) throws OpenRoadmInterfaceException; @@ -35,10 +39,14 @@ public interface OpenRoadmInterfaces { * interface name as the key and return the class corresponding to the interface * type. * + * @param nodeId node ID + * * @param interfaceName * Name of the interface * * @return Optional of Interface from datastore + * + * @throws OpenRoadmInterfaceException OpenRoadm Interface Exception */ Optional getInterface(String nodeId, String interfaceName) throws OpenRoadmInterfaceException; @@ -52,8 +60,12 @@ public interface OpenRoadmInterfaces { * 2. If exists then changes the state of interface to outOfService *

* + * @param nodeId node ID + * * @param interfaceName * Name of the interface to delete. + * + * @throws OpenRoadmInterfaceException OpenRoadm Interface Exception */ void deleteInterface(String nodeId, String interfaceName) throws OpenRoadmInterfaceException;