avoid attempting to stop services for nodes that are not considered up

This commit is contained in:
Blake Harnden 2020-02-04 10:13:37 -08:00
parent 3846f2b5bd
commit c66ee04db5
4 changed files with 7 additions and 13 deletions

View file

@ -289,7 +289,6 @@ class Rj45Node(CoreNodeBase, CoreInterface):
"""
CoreNodeBase.__init__(self, session, _id, name, start, server)
CoreInterface.__init__(self, session, self, name, mtu, server)
self.up = False
self.lock = threading.RLock()
self.ifindex = None
# the following are PyCoreNetIf attributes