X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=opendaylight%2Fswitchmanager%2Fapi%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fcontroller%2Fswitchmanager%2FISwitchManager.java;h=072544c2146f9edd31a7b3bdf9458378290064d9;hb=e640f23d9c37afac9ca51f48e155302bc65327ed;hp=9ac0b5055f071de56ad2afd87e0e65bb8ef3da29;hpb=8217c3243a6dc674ed91515b2cbdbcab7d37847c;p=controller.git diff --git a/opendaylight/switchmanager/api/src/main/java/org/opendaylight/controller/switchmanager/ISwitchManager.java b/opendaylight/switchmanager/api/src/main/java/org/opendaylight/controller/switchmanager/ISwitchManager.java index 9ac0b5055f..072544c214 100644 --- a/opendaylight/switchmanager/api/src/main/java/org/opendaylight/controller/switchmanager/ISwitchManager.java +++ b/opendaylight/switchmanager/api/src/main/java/org/opendaylight/controller/switchmanager/ISwitchManager.java @@ -66,6 +66,13 @@ public interface ISwitchManager { */ public List getNetworkDevices(); + /** + * Return a Set of all configured devices that are not connected to the controller + * + * @return Set of {@link org.opendaylight.controller.switchmanager.Switch} + */ + public Set getConfiguredNotConnectedSwitches(); + /** * Return a list of subnet that were previously configured * @@ -385,4 +392,44 @@ public interface ISwitchManager { */ @Deprecated public String getNodeDescription(Node node); + + /** + * Return all the properties of the controller + * + * @return map of {@link org.opendaylight.controller.sal.core.Property} such + * as {@link org.opendaylight.controller.sal.core.Description} + * and/or {@link org.opendaylight.controller.sal.core.Tier} etc. + */ + public Map getControllerProperties(); + + /** + * Return a specific property of the controller given the property name + * + * @param propName + * the property name specified by + * {@link org.opendaylight.controller.sal.core.Property} and its + * extended classes + * @return {@link org.opendaylight.controller.sal.core.Property} + */ + public Property getControllerProperty(String propertyName); + + /** + * Set a specific property of the controller + * + * @param property + * {@link org.opendaylight.controller.sal.core.Property} + * @return + */ + public Status setControllerProperty(Property property); + + /** + * Remove a property of a node + * + * @param propertyName + * the property name specified by + * {@link org.opendaylight.controller.sal.core.Property} and its + * extended classes + * @return success or failed reason + */ + public Status removeControllerProperty(String propertyName); }