+ public void updatePort(UUID uuid, InstanceIdentifier<Node> iid) {
+ ports.put(uuid, iid);
+ }
+
+ public void removePort(UUID uuid) {
+ ports.remove(uuid);
+ }
+
+ public InstanceIdentifier<Node> getPort(UUID uuid) {
+ return ports.get(uuid);
+ }
+
+ public void updatePortInterface(String name, InstanceIdentifier<Node> iid) {
+ portInterfaces.put(name, iid);
+ }
+
+ public void removePortInterface(String name) {
+ portInterfaces.remove(name);
+ }
+
+ public InstanceIdentifier<Node> getPortInterface(String name) {
+ return portInterfaces.get(name);
+ }
+