Initial commit
This commit is contained in:
1 parent
8472e7d97c
commit
d3df425784
10 files changed
+235
No files matched your search
@@ -0,0 +1,13 @@
|
||||
class LLDPNeighbor:
|
||||
def __init__(self, hostname, local_port, remote_port):
|
||||
"""
|
||||
Represents and LLDP neighbor.
|
||||
|
||||
:param hostname: (str) hostname of the LLDP Neighbor
|
||||
:param local_port: (str) Local port where the LLDP Neighbor is connected to.
|
||||
:param remote_port: (str) Remote port where the LLDP Neighbor is connected to.
|
||||
:return:
|
||||
"""
|
||||
self.hostname = hostname
|
||||
self.local_port = local_port
|
||||
self.remote_port = remote_port
|
||||
Reference in new issue
Block a user