X-Git-Url: https://gerrit.fd.io/r/gitweb?p=csit.git;a=blobdiff_plain;f=resources%2Flibraries%2Fpython%2Fhoneycomb%2FDHCP.py;h=56cfdb2a783aab717e064d3c31440d4fe5672381;hp=3c03b1405f3bd310350a48cb3e453986e2b89951;hb=67f247b4015b76641c6fab7c49e7d9862043c856;hpb=d30aa3a0c0e64682266b0fbf5c8506952e39e414 diff --git a/resources/libraries/python/honeycomb/DHCP.py b/resources/libraries/python/honeycomb/DHCP.py index 3c03b1405f..56cfdb2a78 100644 --- a/resources/libraries/python/honeycomb/DHCP.py +++ b/resources/libraries/python/honeycomb/DHCP.py @@ -1,4 +1,4 @@ -# Copyright (c) 2017 Cisco and/or its affiliates. +# Copyright (c) 2018 Cisco and/or its affiliates. # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at: @@ -37,7 +37,7 @@ class DHCPRelayKeywords(object): :type node: dict :type path: str :type data: dict - :return: Content of response. + :returns: Content of response. :rtype: bytearray :raises HoneycombError: If the status code in response is not 200 = OK or 201 = ACCEPTED. @@ -73,7 +73,8 @@ class DHCPRelayKeywords(object): :rtype: bytearray """ - path = "/relay/dhcp:{0}/{1}".format(ip_version, entry_id) + path = "/relay/vpp-fib-table-management:{0}/{1}".format(ip_version, + entry_id) return DHCPRelayKeywords._set_dhcp_relay_properties(node, path, data)