Bug 5199 : DHCP and Transparent code changes
[vpnservice.git] / dhcpservice / dhcpservice-api / src / main / yang / dhcpservice-api.yang
index 6d45eed9877e051d9fbcf2fae4ddf5e63cd2fb9f..fd86e9ff7680e1bcc05c99ef3977e27387ffebe0 100644 (file)
@@ -8,4 +8,29 @@ module dhcpservice-api {
             "Initial revision for DHCP Service module";
     }
 
+    container interface-name-mac-addresses {
+        config false;
+        description
+            "Container to hold list of interface names and MAC address";
+
+        list interface-name-mac-address {
+            max-elements "unbounded";
+            min-elements "0";
+            key "interface-name";
+            description
+                "Specifies the name of the interface";
+
+            leaf interface-name {
+                type string;
+                description
+                    "The name of the interface.";
+            }
+
+            leaf mac-address {
+                type string;
+                description
+                    "The VM mac address for the interface.";
+            }
+        }
+    }
 }
\ No newline at end of file