Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion acitoolkit/__about__.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
__summary__ = "Toolkit for Cisco ACI Fabrics"
__uri__ = "http://datacenter.github.io/acitoolkit/"

__version__ = "0.4"
__version__ = "0.41"

__author__ = "Cisco Systems, Inc."
__email__ = "acitoolkit@external.cisco.com"
Expand Down
4 changes: 2 additions & 2 deletions acitoolkit/acitoolkit.py
Original file line number Diff line number Diff line change
Expand Up @@ -5210,7 +5210,7 @@ def _populate_from_attributes(self, attributes):
self.encap = str(attributes.get('encap'))
if 'lcC' in attributes:
life_cycle = str(attributes.get('lcC'))
if life_cycle is not '':
if life_cycle != '':
self.life_cycle = life_cycle
if 'type' in attributes:
self.type = str(attributes.get('type'))
Expand Down Expand Up @@ -5391,7 +5391,7 @@ def _get(session, endpoint_name, interfaces, endpoints,
epg = EPG(str(ep['dn']).split('/')[3][4:], app_profile)
endpoint = Endpoint(str(ep['name']), parent=epg)
endpoint.mac = str(ep['mac'])
endpoint.ip = str(ep['ip'])
endpoint.ip = str(ep.get('ip', ""))
endpoint.encap = str(ep['encap'])
endpoint.timestamp = str(ep['modTs'])
for child in children:
Expand Down