diff options
author | selias <samelias@cisco.com> | 2017-05-18 18:07:46 +0200 |
---|---|---|
committer | Tibor Frank <tifrank@cisco.com> | 2017-06-05 11:25:06 +0000 |
commit | 54021405af918f9b6ee2fc8c0d531903f579e930 (patch) | |
tree | e4365e3a627753095c58641e6fed699b746c975a /resources/libraries/python/honeycomb/Lisp.py | |
parent | b92b5be7d4bbbf523812f774bb2e539ab2081cf6 (diff) |
CSIT-610 HC Test: add test cases for unnumbered interface
- add interface and sub-interface tests with unnumbered config
- modify interface IPv4 address assignment to handle custom interfaces
and sub-interfaces
- pylint and style fixes
Change-Id: Ic39df1655b4d44f0025a2acef9f7f968929aeff5
Signed-off-by: selias <samelias@cisco.com>
Diffstat (limited to 'resources/libraries/python/honeycomb/Lisp.py')
-rw-r--r-- | resources/libraries/python/honeycomb/Lisp.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/resources/libraries/python/honeycomb/Lisp.py b/resources/libraries/python/honeycomb/Lisp.py index 8c124d194c..f89ffed0b9 100644 --- a/resources/libraries/python/honeycomb/Lisp.py +++ b/resources/libraries/python/honeycomb/Lisp.py @@ -148,7 +148,7 @@ class LispKeywords(object): if ret_code == HTTPCodes.OK: data["lisp"]["enable"] = bool(state) elif ret_code == HTTPCodes.NOT_FOUND: - data = {"lisp": {"enable": bool(state)}} + data = {"lisp": {"enable": bool(state)}} else: raise HoneycombError("Unexpected return code when getting existing" " Lisp configuration.") @@ -340,7 +340,7 @@ class LispKeywords(object): data = { "map-request-mode": { "mode": "source-destination" if src_dst - else "target-destination" + else "target-destination" } } |