Added server mac address to Endpoint
[vpnservice.git] / vpnintent / api / src / main / yang / vpnintent.yang
index efe7ef3a95c0984d375d5f0919bbdf8de6c1b4d6..c7bc0f4c749e157f51042b8a3bd2844a5c7adbd6 100644 (file)
@@ -3,6 +3,7 @@ module vpnintent {
     namespace "urn:opendaylight:params:xml:ns:yang:vpnintent";
     prefix "vpnintent";
 
+    import ietf-yang-types { prefix yang; revision-date "2010-09-24";}
     import ietf-inet-types { prefix inet; revision-date 2010-09-24;}
 
     revision "2015-01-05" {
@@ -62,6 +63,11 @@ module vpnintent {
             type string;
             description "Switch and port ID that VPN member is connected to.";
         }
+
+        leaf next-hop-mac {
+            type yang:mac-address;
+            description "server mac address";
+        }
     }
 
     grouping labels {