X-Git-Url: https://gerrit.fd.io/r/gitweb?p=csit.git;a=blobdiff_plain;f=resources%2Flibraries%2Fpython%2FLispSetup.py;h=14f99293dfe7962435be66e4e064d40e6e38debf;hp=88fcfacda692772ca6d8af6a482aec2894b21c11;hb=628d2d69244c571403981db5f4ded5ac5288e8b5;hpb=c85a2d27d7d08dde04c6d37b239f4ae17a2fee87 diff --git a/resources/libraries/python/LispSetup.py b/resources/libraries/python/LispSetup.py index 88fcfacda6..14f99293df 100644 --- a/resources/libraries/python/LispSetup.py +++ b/resources/libraries/python/LispSetup.py @@ -17,7 +17,7 @@ from resources.libraries.python.topology import NodeType from resources.libraries.python.VatExecutor import VatExecutor -class Lisp(object): +class LispStatus(object): """Class for lisp API.""" def __init__(self): @@ -34,7 +34,7 @@ class Lisp(object): """ VatExecutor.cmd_from_template(node, - 'lisp/lisp.vat', + 'lisp/lisp_status.vat', state=state) @@ -494,16 +494,3 @@ class LispSetup(object): lgi = LispGpeIface() lgi.vpp_lisp_gpe_iface(node, state) - - @staticmethod - def vpp_lisp_state(node, state): - """Enable/Disable lisp on VPP node in topology. - - :param node: VPP node. - :param state: State of the lisp, enable or disable - :type node: dict - :type state: str - """ - - lgi = Lisp() - lgi.vpp_lisp_enable_disable(node, state)