log out data
@@ -205,8 +205,6 @@ class SDNConnect(object):
def find_new_machines(self, machines):
'''parse switch structure to find new machines added to network
since last call'''
- self.poseidon_logger.info(
- 'self object from find_new_machines {0}'.format(self))
for machine in machines:
h = SDNConnect().make_hash(machine)
ep = None
@@ -237,7 +235,8 @@ class SDNConnect(object):
endpoints = []
for endpoint in self.endpoints:
- endpoints.append((endpoint.name, endpoint.state))
+ endpoints.append(
+ (endpoint.name, endpoint.state, endpoint.endpoint_data))
self.poseidon_logger.info('endpoints: {0}'.format(endpoints))
# store latest version of endpoints in redis
