Initial commit

This commit is contained in:
David Barroso committed 2014-12-19 15:17:27 +01:00
1 parent 8472e7d97c
commit d3df425784
10 files changed
+235

No files matched your search

+13
View File
@@ -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