X-Git-Url: https://gerrit.fd.io/r/gitweb?p=csit.git;a=blobdiff_plain;f=resources%2Flibraries%2Fpython%2Ftopology.py;fp=resources%2Flibraries%2Fpython%2Ftopology.py;h=92ade4a7a304695e3445fe334a26012c4afaad47;hp=46a6628a0af99745108336e291396d3192bc799f;hb=063abf35e81deaf749ebbcfee339fbd1d9e89412;hpb=6221f1b96d2a167c6db74ff26cd7ec7906ae9486 diff --git a/resources/libraries/python/topology.py b/resources/libraries/python/topology.py index 46a6628a0a..92ade4a7a3 100644 --- a/resources/libraries/python/topology.py +++ b/resources/libraries/python/topology.py @@ -41,15 +41,19 @@ def load_topo_from_yaml(): return safe_load(work_file.read())[u"nodes"] -# pylint: disable=invalid-name class NodeType: """Defines node types used in topology dictionaries.""" + # TODO: Two letter initialisms are well-known, but too short for pylint. + # Candidates: TG -> TGN, VM -> VNF. + # Device Under Test (this node has VPP running on it) DUT = u"DUT" # Traffic Generator (this node has traffic generator on it) + # pylint: disable=invalid-name TG = u"TG" # Virtual Machine (this node running on DUT node) + # pylint: disable=invalid-name VM = u"VM"