Support for SNAT and DNAT features in L3 forwarding services.
[vpnservice.git] / vpnmanager / vpnmanager-api / src / main / yang / odl-l3vpn.yang
index 6857e98ec55b1a2c73624d70f5523b4e06cfda7c..384bfb2ec8118d04b5ad6ce8444ad0e397905317 100644 (file)
@@ -122,6 +122,12 @@ module odl-l3vpn {
                       type string;
                   }
                }
+               list ip-addresses {
+                  key ip-address;
+                  leaf ip-address {
+                      type string;
+                  }
+               }
            }
         }
     }
@@ -234,4 +240,22 @@ module odl-l3vpn {
         }
     }
 
+    grouping dpn-in-vpn-event {
+            leaf dpn-id { type uint64; }
+            leaf vpn-name { type string; }
+            leaf rd { type string; }
+        }
+
+        notification add-dpn-event {
+            container add-event-data {
+               uses dpn-in-vpn-event;
+            }
+        }
+
+        notification remove-dpn-event {
+            container remove-event-data {
+               uses dpn-in-vpn-event;
+            }
+        }
+
 }
\ No newline at end of file