revert logging back to info, removed Rj45Models enum as it was not being used, updated linktypes enum to be used directly

This commit is contained in:
Blake Harnden 2020-03-10 22:48:05 -07:00
parent 1e8d1ecd9f
commit f277e96c9a
13 changed files with 12 additions and 22 deletions

View file

@ -86,16 +86,6 @@ class NodeTypes(Enum):
LXC = 16
class Rj45Models(Enum):
"""
RJ45 model types.
"""
LINKED = 0
WIRELESS = 1
INSTALLED = 2
# Link Message TLV Types
class LinkTlvs(Enum):
"""

View file

@ -577,7 +577,7 @@ class Session:
try:
# wireless link
if link_options.type == LinkTypes.WIRELESS.value:
if link_options.type == LinkTypes.WIRELESS:
raise CoreError("cannot update wireless link")
else:
if not node_one and not node_two: