TeTopology core and nbi bug fixes and improvements
Change-Id: I5f3dbcaa79b04c1b1b00b9df7ccae804953c3bae
diff --git a/apps/tetopology/app/src/main/java/org/onosproject/tetopology/management/impl/TeTopologyConfig.java b/apps/tetopology/app/src/main/java/org/onosproject/tetopology/management/impl/TeTopologyConfig.java
index b980159..a4e6032 100644
--- a/apps/tetopology/app/src/main/java/org/onosproject/tetopology/management/impl/TeTopologyConfig.java
+++ b/apps/tetopology/app/src/main/java/org/onosproject/tetopology/management/impl/TeTopologyConfig.java
@@ -31,12 +31,12 @@
private static final String TENODE_ID_END = "tenode-id-end";
/**
- * Retrieves TE topology provider identifier.
- *
- * @return provider Id
- * @throws ConfigException if the parameters are not correctly configured
- * or conversion of the parameters fails
- */
+ * Retrieves TE topology provider identifier.
+ *
+ * @return provider Id
+ * @throws ConfigException if the parameters are not correctly configured
+ * or conversion of the parameters fails
+ */
public long providerId() throws ConfigException {
try {
return object.path(PROVIDER_ID).asLong();
@@ -45,49 +45,49 @@
}
}
- /**
- * Retrieves TE node starting IPv4 address.
- *
- * @return the IPv4 address
- * @throws ConfigException if the parameters are not correctly configured
- * or conversion of the parameters fails
- */
- public Ip4Address teNodeIpStart() throws ConfigException {
+ /**
+ * Retrieves TE node starting IPv4 address.
+ *
+ * @return the IPv4 address
+ * @throws ConfigException if the parameters are not correctly configured
+ * or conversion of the parameters fails
+ */
+ public Ip4Address teNodeIpStart() throws ConfigException {
try {
return Ip4Address.valueOf(object.path(TENODE_ID_START).asText());
} catch (IllegalArgumentException e) {
throw new ConfigException(CONFIG_VALUE_ERROR, e);
}
- }
+ }
- /**
- * Retrieves TE node end IPv4 address.
- *
- * @return the IPv4 address
- * @throws ConfigException if the parameters are not correctly configured or
- * conversion of the parameters fails
- */
- public Ip4Address teNodeIpEnd() throws ConfigException {
- try {
- return Ip4Address.valueOf(object.path(TENODE_ID_END).asText());
- } catch (IllegalArgumentException e) {
- throw new ConfigException(CONFIG_VALUE_ERROR, e);
- }
- }
+ /**
+ * Retrieves TE node end IPv4 address.
+ *
+ * @return the IPv4 address
+ * @throws ConfigException if the parameters are not correctly configured
+ * or conversion of the parameters fails
+ */
+ public Ip4Address teNodeIpEnd() throws ConfigException {
+ try {
+ return Ip4Address.valueOf(object.path(TENODE_ID_END).asText());
+ } catch (IllegalArgumentException e) {
+ throw new ConfigException(CONFIG_VALUE_ERROR, e);
+ }
+ }
- /**
- * Retrieves if this is a MDSC(Multi-Domain Super Controller).
- *
- * @return MDSC value
- * @throws ConfigException if the parameters are not correctly configured or
- * conversion of the parameters fails
- */
- public String mdsc() throws ConfigException {
- try {
- return object.path(MDSC).asText();
- } catch (IllegalArgumentException e) {
- throw new ConfigException(CONFIG_VALUE_ERROR, e);
- }
- }
+ /**
+ * Retrieves if this is a MDSC(Multi-Domain Super Controller).
+ *
+ * @return MDSC value
+ * @throws ConfigException if the parameters are not correctly configured or
+ * conversion of the parameters fails
+ */
+ public String mdsc() throws ConfigException {
+ try {
+ return object.path(MDSC).asText();
+ } catch (IllegalArgumentException e) {
+ throw new ConfigException(CONFIG_VALUE_ERROR, e);
+ }
+ }
}