Natservice module bug fixes
[vpnservice.git] / neutronvpn / neutronvpn-api / src / main / yang / neutronvpn.yang
index 92c084a75deb98b6df51c1247fb4095b975db702..aead8a4bc00ba643efad225071dccfb5744e1d22 100644 (file)
@@ -151,6 +151,19 @@ module neutronvpn {
         }
     }
 
+
+    container router-interfaces-map {
+        list router-interfaces {
+            key router-id;
+            leaf router-id { type yang:uuid; }
+            list interfaces {
+                key interface-id;
+                leaf interface-id { type string; }
+            }
+        }
+    }
+
+
     /* container for DHCP Configuration */
     container dhcp-config {
         list configs {
@@ -390,4 +403,24 @@ module neutronvpn {
             }
     }
 
-}
\ No newline at end of file
+    notification router-associated-to-vpn {
+                description "router association to vpn";
+                leaf router-id{
+                    type yang:uuid;
+                }
+                leaf vpn-id{
+                    type yang:uuid;
+                }
+        }
+
+        notification router-disassociated-from-vpn {
+                description "router disassociation from vpn";
+                leaf router-id{
+                    type yang:uuid;
+                }
+                leaf vpn-id{
+                    type yang:uuid;
+                }
+        }
+
+}