From: Shai Haim Date: Sun, 5 Mar 2017 12:04:42 +0000 (+0200) Subject: add YANG file for dhcp on unimgr side X-Git-Tag: release/carbon~12 X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=commitdiff_plain;h=5b6208cfe322c6d84adde86939d90e84c09b00a5;p=unimgr.git add YANG file for dhcp on unimgr side Change-Id: Ic5c7885180ef33c54107912a63817cb512636048 Signed-off-by: Shai Haim --- diff --git a/features/src/main/features/features.xml b/features/src/main/features/features.xml index 9ceee68a..a27e3b9b 100755 --- a/features/src/main/features/features.xml +++ b/features/src/main/features/features.xml @@ -22,7 +22,6 @@ description='OpenDaylight :: UniMgr :: api'> odl-mdsal-models odl-ovsdb-southbound-api - mvn:org.opendaylight.unimgr/unimgr-legato-api/{{VERSION}} mvn:org.opendaylight.unimgr/unimgr-api/{{VERSION}} @@ -56,6 +55,7 @@ odl-netvirt-impl odl-restconf mvn:org.opendaylight.unimgr/unimgr-netvirt/{{VERSION}} + mvn:org.opendaylight.unimgr/unimgr-legato-api/{{VERSION}} 1.4.0-SNAPSHOT + 0.4.0-SNAPSHOT @@ -45,6 +46,11 @@ and is available at http://www.eclipse.org/legal/epl-v10.html INTERNAL southbound-api ${ovsdb.version} + + org.opendaylight.netvirt + dhcpservice-api + ${vpnservice.version} + diff --git a/legato-api/src/main/yang/unimgr-dhcp.yang b/legato-api/src/main/yang/unimgr-dhcp.yang new file mode 100644 index 00000000..04849440 --- /dev/null +++ b/legato-api/src/main/yang/unimgr-dhcp.yang @@ -0,0 +1,26 @@ +module unimgr-dhcp { + namespace "urn:opendaylight:unimgr:unimgr-dhcp"; + prefix "unimgr-dhcp"; + + import dhcp_allocation_pool { + prefix dhcp; + } + + revision "2016-12-14" { + description "It provides required datastore containers to handle DHCP requests + coming from access or external tunnel ports"; + } + + container unimgr-dhcp { + config true; + description "contains non-neutron DHCP allocation"; + list network { + key "network-id"; + leaf network-id { + description "unimgr network id"; + type string; + } + uses dhcp:dhcp_allocations; + } + } +}