add YANG file for dhcp on unimgr side
[unimgr.git] / legato-api / src / main / yang / unimgr-dhcp.yang
1 module unimgr-dhcp {
2     namespace "urn:opendaylight:unimgr:unimgr-dhcp";
3     prefix "unimgr-dhcp";
4     
5     import dhcp_allocation_pool {
6         prefix dhcp;
7     }
8
9     revision "2016-12-14" {
10         description "It provides required datastore containers to handle DHCP requests
11             coming from access or external tunnel ports";
12     }
13
14     container unimgr-dhcp {
15         config true;
16         description "contains non-neutron DHCP allocation";
17         list network {
18             key "network-id";
19             leaf network-id {
20                 description "unimgr network id";
21                 type string;
22             }
23             uses dhcp:dhcp_allocations;
24         }
25     }
26 }