fix typo
Change-Id: Iaeadec71fec9e2658118b746af8d99267c3186db
diff --git a/apps/vtn/vtnweb/src/main/java/org/onosproject/vtnweb/resources/RouterWebResource.java b/apps/vtn/vtnweb/src/main/java/org/onosproject/vtnweb/resources/RouterWebResource.java
index f03f528..15d56cf 100644
--- a/apps/vtn/vtnweb/src/main/java/org/onosproject/vtnweb/resources/RouterWebResource.java
+++ b/apps/vtn/vtnweb/src/main/java/org/onosproject/vtnweb/resources/RouterWebResource.java
@@ -204,7 +204,7 @@
} else if (subnode.get("tenant_id").asText().isEmpty()) {
throw new IllegalArgumentException("tenant_id should not be empty");
}
- TenantId tenentId = TenantId
+ TenantId tenantId = TenantId
.tenantId(subnode.get("tenant_id").asText());
if (!subnode.hasNonNull("port_id")) {
throw new IllegalArgumentException("port_id should not be null");
@@ -214,7 +214,7 @@
VirtualPortId portId = VirtualPortId
.portId(subnode.get("port_id").asText());
RouterInterface routerInterface = RouterInterface
- .routerInterface(subnetId, portId, routerId, tenentId);
+ .routerInterface(subnetId, portId, routerId, tenantId);
get(RouterInterfaceService.class)
.addRouterInterface(routerInterface);
return ok(INTFACR_ADD_SUCCESS).build();
@@ -260,10 +260,10 @@
} else if (subnode.get("tenant_id").asText().isEmpty()) {
throw new IllegalArgumentException("tenant_id should not be empty");
}
- TenantId tenentId = TenantId
+ TenantId tenantId = TenantId
.tenantId(subnode.get("tenant_id").asText());
RouterInterface routerInterface = RouterInterface
- .routerInterface(subnetId, portId, routerId, tenentId);
+ .routerInterface(subnetId, portId, routerId, tenantId);
get(RouterInterfaceService.class)
.removeRouterInterface(routerInterface);
return ok(INTFACR_DEL_SUCCESS).build();