Added comments for the followings interfaces: IForwardingStaticRouting, IRouting.
Removed the method saveConfig() from IForwardingStaticRouting since it is not a public method and is only use privately.
Change-Id: I15e15916287fe05a02e31536e064fb78c827c26a
Signed-off-by: Chi-Vien Ly <chivly@cisco.com>
*/
import org.opendaylight.controller.sal.utils.Status;
+/**
+ *
+ * This Interface provides APIs to manage and query the static routes
+ *
+ */
public interface IForwardingStaticRouting {
/**
* If the operation is successful, the return string will be "SUCCESS"
*/
public Status removeStaticRoute(String name);
-
- /**
- * Saves the config
- * @return a text string indicating the result of the operation.
- * If the operation is successful, the return string will be "Success"
- */
- Status saveConfig();
}
}
}
- @Override
- public Status saveConfig() {
+
+ private Status saveConfig() {
// Publish the save config event to the cluster nodes
configSaveEvent.put(new Date().getTime(), SAVE);
return saveConfigInternal();
import org.opendaylight.controller.sal.core.Node;
import org.opendaylight.controller.sal.core.Path;
+/**
+ * This interface provides APIs to manage and query the routing information
+ *
+ */
public interface IRouting {
/**