+ list unimgr-services {
+ key "svc-id";
+ leaf svc-id {
+ description "unimgr service id";
+ type mef-types:retail-svc-id-type;
+ }
+
+ list network {
+ key "network-id";
+ leaf network-id {
+ description "unimgr network id";
+ type string;
+ }
+
+ list unimgr-allocations {
+ key "subnet";
+ leaf subnet {
+ description "subnet for the dhcp to allocate ip addresses";
+ type inet:ip-prefix;
+ }
+
+ list unimgr-allocation-instance {
+ key "mac";
+ leaf mac {
+ description "requesting mac";
+ type yang:phys-address;
+ }
+ leaf allocated-ip {
+ description "allocated ip address";
+ type inet:ip-address;
+ }
+ }
+ }
+
+ list unimgr-allocation-pool {
+ key "subnet";
+ leaf subnet {
+ description "subnet for the dhcp to allocate ip addresses";
+ type inet:ip-prefix;
+ }
+ leaf allocate-from {
+ description "low allocation limit";
+ type inet:ip-address;
+ }
+ leaf allocate-to {
+ description "high allocation limit";
+ type inet:ip-address;
+ }
+ leaf gateway {
+ description "default gateway for dhcp allocation";
+ type inet:ip-address;
+ }
+ leaf-list dns-servers {
+ description "dns server list";
+ type inet:ip-address;
+ }
+ }