Skip to content
Snippets Groups Projects
Commit cc0b16bc authored by Erik Reid's avatar Erik Reid
Browse files

rolled back some testing code, accidentally comitted

parent 5dd7444a
No related branches found
No related tags found
No related merge requests found
......@@ -170,7 +170,7 @@ def get_port_id_services(ds: IMS):
c['circuit_type'] = _get_circuit_type(c)
yield c
circuits = list(_get_circuits())
circuits = _get_circuits()
# order of preference
# internalports (first and last sequencenumbers)
......
......@@ -730,7 +730,14 @@ def extract_ims_data():
def _extract_ims_data(ims_api_url, ims_username, ims_password):
"""
convenient entry point for testing ...
:param ims_api_url:
:param ims_username:
:param ims_password:
:return:
"""
def _ds() -> IMS:
return IMS(ims_api_url, ims_username, ims_password)
......@@ -1068,8 +1075,6 @@ def transform_ims_data(data):
if sid_info not in sid_services[sid]:
sid_services[sid].append(sid_info)
if k.startswith('MX1.LON.UK:XE-1/0/0'):
print('here')
interface_services[k].extend(circuits)
return {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment