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:
parent
1e8d1ecd9f
commit
f277e96c9a
13 changed files with 12 additions and 22 deletions
|
@ -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):
|
||||
"""
|
||||
|
|
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue