Code Review
/
transportpce.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
fix some compilation warnings
[transportpce.git]
/
common
/
src
/
main
/
java
/
org
/
opendaylight
/
transportpce
/
common
/
openroadminterfaces
/
OpenRoadmInterfaces.java
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 b553a422f2622c7ad1c6a231bc5760e55fb746f2..dc3821652d04c22812816a94f5fe802ea3515619 100644
(file)
--- 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
* </p>
*
* 2. If exists then admin state of interface is outOfState/Maintenance
* </p>
*
+ * @param nodeId node ID
+ *
* @param ifBuilder Builder object containing the data to post.
*
* @param ifBuilder Builder object containing the data to post.
*
+ * @throws OpenRoadmInterfaceException OpenRoadm Interface Exception
+ *
*/
void postInterface(String nodeId, InterfaceBuilder ifBuilder) throws OpenRoadmInterfaceException;
*/
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.
*
* 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
* @param interfaceName
* Name of the interface
*
* @return Optional of Interface from datastore
+ *
+ * @throws OpenRoadmInterfaceException OpenRoadm Interface Exception
*/
Optional<Interface> getInterface(String nodeId, String interfaceName) throws OpenRoadmInterfaceException;
*/
Optional<Interface> 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
* </p>
*
* 2. If exists then changes the state of interface to outOfService
* </p>
*
+ * @param nodeId node ID
+ *
* @param interfaceName
* Name of the interface to delete.
* @param interfaceName
* Name of the interface to delete.
+ *
+ * @throws OpenRoadmInterfaceException OpenRoadm Interface Exception
*/
void deleteInterface(String nodeId, String interfaceName) throws OpenRoadmInterfaceException;
*/
void deleteInterface(String nodeId, String interfaceName) throws OpenRoadmInterfaceException;