diff options
author | Marek Gradzki <mgradzki@cisco.com> | 2017-02-17 13:22:09 +0100 |
---|---|---|
committer | Marek Gradzki <mgradzki@cisco.com> | 2017-02-17 13:23:24 +0100 |
commit | 2c00d09e6a41fcb066b43e76beb14e3d79210cc4 (patch) | |
tree | e4ab04608ae0d56f4da29a558d0c3c682312d0e5 /dhcp/dhcp-api | |
parent | c9ab24206b1356dced7f90768606fbe83edbce1a (diff) |
Change dhcp yang model to use inet:ip-address
workaround for
https://bugs.opendaylight.org/show_bug.cgi?id=6413
needed until we bump ODL dependencies to Boron again.
Change-Id: I28e03ed26e8c032fa4d06c9a1c0f4bc5f32c7c64
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
Diffstat (limited to 'dhcp/dhcp-api')
-rw-r--r-- | dhcp/dhcp-api/src/main/yang/dhcp.yang | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/dhcp/dhcp-api/src/main/yang/dhcp.yang b/dhcp/dhcp-api/src/main/yang/dhcp.yang index 281c5049a..ebfdbd830 100644 --- a/dhcp/dhcp-api/src/main/yang/dhcp.yang +++ b/dhcp/dhcp-api/src/main/yang/dhcp.yang @@ -43,7 +43,8 @@ module dhcp { grouping relay-attributes { leaf server-address { - type inet:ip-address-no-zone; + // FIXME(HC2VPP-79): change to ip-address-no-zone after https://bugs.opendaylight.org/show_bug.cgi?id=6413 is resolved + type inet:ip-address; mandatory true; description "IP address of the server DHCP packets will be forwarded to."; @@ -55,7 +56,8 @@ module dhcp { "Used to send DHCP messages to the server"; } leaf gateway-address { - type inet:ip-address-no-zone; + // FIXME(HC2VPP-79): change to ip-address-no-zone after https://bugs.opendaylight.org/show_bug.cgi?id=6413 is resolved + type inet:ip-address; mandatory true; description "IP address of the relay agent."; |