Natservice module bug fixes
[vpnservice.git] / natservice / natservice-api / src / main / yang / odl-nat.yang
index b56bda21dc705b4727e89394fcb0e928b38b707a..1ff2228b751bdb5ffe8d07b7548ef8d5c6b33a65 100644 (file)
@@ -128,6 +128,15 @@ module odl-nat {
          }
      }
 
+     container router-to-vpn-mapping {
+         list routermapping {
+             key router-name;
+             leaf router-name { type string; }
+             leaf vpn-id { type uint32; }
+             leaf vpn-name { type string; }
+         }
+     }
+
      container router-id-name {
        list routerIds {
            key router-id;
@@ -135,4 +144,17 @@ module odl-nat {
            leaf router-name { type string; }
        }
     }
+
+    container external-ips-counter {
+        config false;
+        list external-counters{
+            key segment-id;
+            leaf segment-id { type uint32; }
+            list external-ip-counter {
+                key external-ip;
+                leaf external-ip { type string; }
+                leaf counter { type uint8; }
+            }
+        }
+    }
 }