summaryrefslogtreecommitdiff
path: root/haircontrol/data.py
diff options
context:
space:
mode:
authorLudovic Pouzenc <ludovic@pouzenc.fr>2016-05-16 13:08:46 +0200
committerLudovic Pouzenc <ludovic@pouzenc.fr>2016-05-16 13:08:46 +0200
commitf5814e325dc083523337d34c7f459ca5b7f8ca07 (patch)
treee45cda66ad9c7dfcda358ad4b0d7667e45b4e3aa /haircontrol/data.py
parent840d7620a279dec86e0b529e2a549967adee27fa (diff)
downloadhaircontrol-f5814e325dc083523337d34c7f459ca5b7f8ca07.zip
haircontrol-f5814e325dc083523337d34c7f459ca5b7f8ca07.tar.gz
haircontrol-f5814e325dc083523337d34c7f459ca5b7f8ca07.tar.bz2
Inspectors : add ToughSwitch. Tests : static hinting for switches. Discovery : go through all neighbours until all are inspected.
Diffstat (limited to 'haircontrol/data.py')
-rw-r--r--haircontrol/data.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/haircontrol/data.py b/haircontrol/data.py
index 8adf75f..463e38a 100644
--- a/haircontrol/data.py
+++ b/haircontrol/data.py
@@ -33,6 +33,7 @@ class Equipment:
self.name = name
self.mgmtip = mgmtip
self.ifaces = {}
+ self.inspected = False
def __repr__(self):
return repr( (self.name, self.mgmtip, list(self.ifaces.values())) )