move vpnservice and cleanup poms
[netvirt.git] / dhcpservice / dhcpservice-api / src / main / yang / dhcpservice-api.yang
1 module dhcpservice-api {
2     yang-version 1;
3     namespace "urn:opendaylight:params:xml:ns:yang:dhcpservice:api";
4     prefix "dhcpservice-api";
5
6     revision "2015-07-10" {
7         description
8             "Initial revision for DHCP Service module";
9     }
10
11     container interface-name-mac-addresses {
12         config false;
13         description
14             "Container to hold list of interface names and MAC address";
15
16         list interface-name-mac-address {
17             max-elements "unbounded";
18             min-elements "0";
19             key "interface-name";
20             description
21                 "Specifies the name of the interface";
22
23             leaf interface-name {
24                 type string;
25                 description
26                     "The name of the interface.";
27             }
28
29             leaf mac-address {
30                 type string;
31                 description
32                     "The VM mac address for the interface.";
33             }
34         }
35     }
36
37     container subnet-dhcp-port-data {
38         config true;
39         description
40             "Container to hold DHCP Neutron Port information allocated for the Subnet";
41         list subnet-to-dhcp-port {
42             key "subnet-id";
43             leaf subnet-id { type string;}
44             leaf port-name { type string;}
45             leaf port-fixedip { type string;}
46             leaf port-macaddress { type string;}
47         }
48     }
49
50 }