1 module dhcpservice-api {
3 namespace "urn:opendaylight:params:xml:ns:yang:dhcpservice:api";
4 prefix "dhcpservice-api";
6 revision "2015-07-10" {
8 "Initial revision for DHCP Service module";
11 container interface-name-mac-addresses {
14 "Container to hold list of interface names and MAC address";
16 list interface-name-mac-address {
17 max-elements "unbounded";
21 "Specifies the name of the interface";
26 "The name of the interface.";
32 "The VM mac address for the interface.";
37 container subnet-dhcp-port-data {
40 "Container to hold DHCP Neutron Port information allocated for the Subnet";
41 list subnet-to-dhcp-port {
43 leaf subnet-id { type string;}
44 leaf port-name { type string;}
45 leaf port-fixedip { type string;}
46 leaf port-macaddress { type string;}