support wireless link deletion during runtime

This commit is contained in:
Huy Pham 2020-02-18 13:59:23 -08:00
parent b3dabbfe05
commit 08e652633f
2 changed files with 65 additions and 13 deletions

View file

@ -90,6 +90,10 @@ class NodeUtils:
def is_rj45_node(cls, node_type: NodeType) -> bool:
return node_type in cls.RJ45_NODES
@classmethod
def is_mdr_node(cls, node_type: NodeType, model: str) -> bool:
return cls.is_container_node(node_type) and model == "mdr"
@classmethod
def node_icon(
cls,