diff --git a/inventory_provider/__init__.py b/inventory_provider/__init__.py index 3da1b74381335e77540e1bc527d6db29f21ff532..c8ee8d61c2dc260476cd0d01004694cda2063471 100644 --- a/inventory_provider/__init__.py +++ b/inventory_provider/__init__.py @@ -48,6 +48,9 @@ def create_app(): from inventory_provider.routes import ims_lg app.register_blueprint(ims_lg.routes, url_prefix='/ims-lg') + from inventory_provider.routes import ims_data + app.register_blueprint(ims_data.routes, url_prefix='/ims-data') + # end of IMS based routes # OTRS routes diff --git a/inventory_provider/db/ims.py b/inventory_provider/db/ims.py index e3d43074bef0bc8d165ae23ea6fc741ea192ef15..1f38a0f78dbf9e0e7cc578c1b354f6621ae1471c 100644 --- a/inventory_provider/db/ims.py +++ b/inventory_provider/db/ims.py @@ -64,7 +64,8 @@ PORT_PROPERTIES = { SITE_PROPERTIES = { 'City': 2, 'SiteAliases': 64, - 'Country': 256 + 'Country': 256, + 'Nodes': 32768 } # http://149.210.162.190:81/ImsVersions/4.19.9/html/8ce06cb7-7707-46c4-f02f-86083310d81b.htm # noqa VENDOR_PROPERTIES = { diff --git a/inventory_provider/db/ims_data.py b/inventory_provider/db/ims_data.py index 22ee4a0c87da5b624906e41ba753af10d46b60a3..2e6a59f7183c9117e506002e22c2d0d176eb3356 100644 --- a/inventory_provider/db/ims_data.py +++ b/inventory_provider/db/ims_data.py @@ -10,37 +10,46 @@ logger = logging.getLogger(__name__) # Dashboard V3 +IMS_OPSDB_STATUS_MAP = { + InventoryStatus.PLANNED: 'Planned', + InventoryStatus.READY_FOR_SERVICE: 'Installed', + InventoryStatus.IN_SERVICE: 'Operational', + InventoryStatus.MIGRATION: 'Planned', + InventoryStatus.OUT_OF_SERVICE: 'Terminated', + InventoryStatus.READY_FOR_CEASURE: 'Disposed' +} + -def lookup_pop_info(ds, hostname): +def get_node_locations(ds): site_nav_props = [ ims.SITE_PROPERTIES['City'], ims.SITE_PROPERTIES['SiteAliases'], - ims.SITE_PROPERTIES['Country'] + ims.SITE_PROPERTIES['Country'], + ims.SITE_PROPERTIES['Nodes'] ] - - node = ds.get_entity_by_name('Node', hostname) - if not node: - return None - site = ds.get_entity_by_id('Site', node['SiteId'], site_nav_props, True) - city = site['City'] - abbreviation = '' - try: - abbreviation = site['SiteAliases'][0]['AliasName'] - except IndexError: - pass # no alias - ignore silently - eq = { - 'equipment-name': node['Name'], - 'status': InventoryStatus(node['InventoryStatusId']).name, - 'pop': { - 'name': site['Name'], - 'city': city['Name'], - 'country': city['Country']['Name'], - 'abbreviation': abbreviation, - 'longitude': site['Longitude'], - 'latitude': site['Latitude'], - } - } - return eq + sites = ds.get_all_entities('Site', site_nav_props, step_count=500) + for site in sites: + city = site['city'] + abbreviation = '' + try: + abbreviation = site['sitealiases'][0]['aliasname'] + except IndexError: + pass # no alias - ignore silently + + for node in site['nodes']: + yield (node['name'], { + 'equipment-name': node['name'], + 'status': IMS_OPSDB_STATUS_MAP.get( + InventoryStatus(node['inventorystatusid']), 'unknown'), + 'pop': { + 'name': site['name'], + 'city': city['name'], + 'country': city['country']['name'], + 'abbreviation': abbreviation, + 'longitude': site['longitude'], + 'latitude': site['latitude'], + } + }) # End of Dashboard V3 stuff @@ -114,7 +123,7 @@ def lookup_lg_routers(ds): 'latitude': site['latitude'], } } - yield(eq) + yield eq def otrs_get_customer_company_rows(ds): diff --git a/inventory_provider/routes/common.py b/inventory_provider/routes/common.py index 1d00f9318a56d1c9ff21b99fc3f216cfe660357f..7a84df255501f5d225279d696b71747325bb0348 100644 --- a/inventory_provider/routes/common.py +++ b/inventory_provider/routes/common.py @@ -1,12 +1,44 @@ import functools import logging +from collections import OrderedDict +import requests from flask import request, Response, current_app, g from inventory_provider.tasks import common as tasks_common logger = logging.getLogger(__name__) +def ims_hostname_decorator(field): + """ + Decorator to convert host names to various formats to try to match what is + found in IMS before executing the decorated function. + :param field: name of the field containing hostname + :return: result of decorated function + """ + + suffix = '.geant.net' + + def wrapper(func): + def inner(*args, **kwargs): + orig_val = kwargs[field] + values_to_try = [] + if orig_val.endswith(suffix): + values_to_try.append(orig_val[:-len(suffix)].upper()) + values_to_try.append(orig_val.upper()) + values_to_try.append(orig_val) + values_to_try.append(orig_val.lower()) + + for val in list(OrderedDict.fromkeys(values_to_try)): + kwargs[field] = val + res = func(*args, **kwargs) + if res.status_code != requests.codes.not_found: + return res + return res + return inner + return wrapper + + def get_current_redis(): if 'current_redis_db' in g: latch = tasks_common.get_latch(g.current_redis_db) diff --git a/inventory_provider/routes/ims_data.py b/inventory_provider/routes/ims_data.py new file mode 100644 index 0000000000000000000000000000000000000000..4f70c3f681b99ed31e31f83d19365e660b8b2ebb --- /dev/null +++ b/inventory_provider/routes/ims_data.py @@ -0,0 +1,26 @@ +from flask import Blueprint, Response + +from inventory_provider.routes import common + +routes = Blueprint("ims-inventory-data-query-routes", __name__) + + +@routes.after_request +def after_request(resp): + return common.after_request(resp) + + +@routes.route("/pop/<equipment_name>", methods=['GET', 'POST']) +@common.require_accepts_json +@common.ims_hostname_decorator('equipment_name') +def equipment_location(equipment_name): + redis = common.get_current_redis() + result = redis.get(f'ims:location:{equipment_name}') + + if not result: + return Response( + response="no available info for {}".format(equipment_name), + status=404, + mimetype="text/html") + + return Response(result, mimetype="application/json") diff --git a/inventory_provider/routes/testing.py b/inventory_provider/routes/testing.py index 6f9ce50e67bdb58aec172e2276b64fcd883e77f1..8919aab211da2a1989dd110d7717f6d27dc9c5ad 100644 --- a/inventory_provider/routes/testing.py +++ b/inventory_provider/routes/testing.py @@ -21,6 +21,12 @@ def flushdb(): # IMS routes +@routes.route("update-equipment-locations-ims", methods=['GET', 'POST']) +def update_equipment_locations_ims(): + ims_worker.update_equipment_locations_ims.delay(use_current=True) + return Response('OK') + + @routes.route("update-lg-routers-ims", methods=['GET', 'POST']) def update_lg_routers_ims(): ims_worker.update_lg_routers_ims.delay(use_current=True) diff --git a/inventory_provider/tasks/ims_worker.py b/inventory_provider/tasks/ims_worker.py index b7c2e85c468acbd25891d7d5704c3552612d902d..b2f2bec368cdf5858bf0890387293689596cb45c 100644 --- a/inventory_provider/tasks/ims_worker.py +++ b/inventory_provider/tasks/ims_worker.py @@ -21,6 +21,34 @@ environment.setup_logging() logger = logging.getLogger(__name__) +@app.task(base=InventoryTask, bind=True, name='update_equipment_locations_ims') +@log_task_entry_and_exit +def update_equipment_locations_ims(self, use_current=False): + + if use_current: + r = get_current_redis(InventoryTask.config) + # scan with bigger batches, to mitigate network latency effects + else: + r = get_next_redis(InventoryTask.config) + rp = r.pipeline() + for k in r.scan_iter('ims:location:*', count=1000): + rp.delete(k) + rp.execute() + + c = InventoryTask.config["ims"] + ds = IMS(c['api'], c['username'], c['password']) + + rp = r.pipeline() + hostnames_found = set() + for h, d in ims_data.get_node_locations(ds): + # put into a list to match non-IMS version + rp.set(f'ims:location:{h}', json.dumps([d])) + if h in hostnames_found: + print(f'Multiple entries for {h}') + hostnames_found.add(h) + rp.execute() + + @app.task(base=InventoryTask, bind=True, name='update_lg_routers_ims') @log_task_entry_and_exit def update_lg_routers_ims(self, use_current=False): diff --git a/test/data/ims_nodes_data.json b/test/data/ims_nodes_data.json new file mode 100644 index 0000000000000000000000000000000000000000..ca318c351503a048bb301c9842991dbfa76844ba --- /dev/null +++ b/test/data/ims_nodes_data.json @@ -0,0 +1,3593 @@ +[ + { + "$id": "5622", + "angle": 0, + "buildingname": "COLT LOCAL NODE", + "circuitas": null, + "circuitbs": null, + "city": { + "$id": "5623", + "abbreviation": "MILA", + "aliasname": "", + "country": { + "abbreviation": "IT", + "cities": [ + { + "$ref": "5623" + } + ], + "countrycodeesim": null, + "countrycodetelephone": null, + "errors": null, + "extrainformation": "", + "haserrors": false, + "id": 2573, + "name": "ITALY", + "provinces": null, + "rowversion": "2020-01-31T13:11:51" + }, + "countryid": 2573, + "defaultzipcode": "", + "district": null, + "districtid": null, + "errors": null, + "haserrors": false, + "id": 102568, + "name": "MILAN", + "province": null, + "provinceid": null, + "rowversion": "2020-01-31T13:12:32", + "sites": [ + { + "$ref": "5622" + } + ] + }, + "cityid": 102568, + "contactperson": "", + "coolingunitcapacity": null, + "customer": null, + "customerid": 57640, + "ddfodfs": null, + "description": "", + "empsecured": 0, + "errors": null, + "floor": "", + "floorplan": null, + "haserrors": false, + "helpdeskphonenr": "", + "housenumber": "56", + "iceload": null, + "id": 444963, + "internalports": null, + "inventorystatusid": 3, + "ipranges": null, + "iswarehouse": 0, + "latitude": null, + "locationaccess": "", + "longitude": null, + "maximumwindspeed": null, + "meanwindspeed": null, + "meanwindspeedrefelevation": null, + "meanwindspeedtimeinterval": null, + "name": "JEN-SPL", + "nodes": [], + "oldports": null, + "outofservicedate": null, + "parentsite": null, + "parentsiteid": null, + "phonenumber": "", + "polygons": null, + "ports": null, + "racks": null, + "reconcilesites": null, + "relatedorders": null, + "room": "", + "rowversion": "2020-06-16T13:45:33", + "shelves": null, + "siteaccesscontrols": null, + "sitealiases": [ + { + "$id": "5624", + "aliasname": "JEN", + "description": "", + "errors": null, + "haserrors": false, + "id": 3224, + "originator": "", + "rowversion": "2020-02-03T17:34:45", + "site": { + "$ref": "5622" + }, + "siteid": 444963 + } + ], + "sitealiasesgrouped": null, + "siteattachments": null, + "sitecounts": null, + "sitedomains": null, + "sitename": "IT-MIL-1", + "siterelatedcontacts": null, + "sitetemplate": null, + "sitetemplateid": null, + "sitetype": null, + "sitetypeid": 54, + "slacks": null, + "street": "VIALE JENNER", + "subsites": null, + "towers": null, + "turbulenceintensity": null, + "vendor": null, + "vendorid": 2595, + "zipcode": "20159", + "zpos": null + }, + { + "$id": "5628", + "angle": 0, + "buildingname": "", + "circuitas": null, + "circuitbs": null, + "city": { + "$id": "5629", + "abbreviation": "LOND", + "aliasname": "", + "country": { + "abbreviation": "UK", + "cities": [ + { + "$ref": "5629" + } + ], + "countrycodeesim": null, + "countrycodetelephone": null, + "errors": null, + "extrainformation": "", + "haserrors": false, + "id": 2693, + "name": "UNITED KINGDOM", + "provinces": null, + "rowversion": "2020-01-31T13:11:55" + }, + "countryid": 2693, + "defaultzipcode": "", + "district": null, + "districtid": null, + "errors": null, + "haserrors": false, + "id": 102558, + "name": "LONDON", + "province": null, + "provinceid": null, + "rowversion": "2020-01-31T13:12:31", + "sites": [ + { + "$ref": "5628" + } + ] + }, + "cityid": 102558, + "contactperson": "POWERGATE TELECITY OPERATIONS", + "coolingunitcapacity": null, + "customer": null, + "customerid": 57640, + "ddfodfs": null, + "description": "USED BY JISC", + "empsecured": 0, + "errors": null, + "floor": "1ST", + "floorplan": null, + "haserrors": false, + "helpdeskphonenr": "", + "housenumber": "UNIT 1", + "iceload": null, + "id": 444965, + "internalports": null, + "inventorystatusid": 3, + "ipranges": null, + "iswarehouse": 0, + "latitude": 51.5308142, + "locationaccess": "", + "longitude": -0.257712, + "maximumwindspeed": null, + "meanwindspeed": null, + "meanwindspeedrefelevation": null, + "meanwindspeedtimeinterval": null, + "name": "LONDON 3 POWERGATE", + "nodes": [ + { + "acpowerconsumption": null, + "angle": null, + "batterybackuphoursordered": null, + "bridgedomains": null, + "builddate": "2020-02-19T08:23:32", + "cards": null, + "configuration": "", + "createuser": null, + "createuserid": 6727, + "customer": null, + "customerid": 57640, + "dcpowerconsumption": null, + "directionangle": null, + "domain": null, + "domainid": null, + "equipmentdefinition": null, + "equipmentdefinitionid": 7016, + "errors": null, + "extrainfo": "", + "extrainfoimportant": 0, + "fuseconsumption": null, + "hardwarebuildnumber": null, + "hardwarerevision": "", + "haserrors": false, + "heatemission": null, + "heightinrack": null, + "id": 129120, + "inservicedate": "2020-03-12T20:35:45", + "internalports": null, + "inventorystatusid": 3, + "ipaddress": "", + "iprelates": null, + "leftinrack": 0, + "managementsystem": null, + "managementsystemid": 2363, + "mplsprot": "", + "name": "LON3_CX_01", + "networkaddress": "", + "networkmapnodeobject": null, + "networkrole": "", + "nodealiases": null, + "nodeattachments": null, + "nodecounts": null, + "order": null, + "orderid": null, + "outofservicedate": null, + "parentnode": null, + "parentnodeid": null, + "plmidate": null, + "ploosdate": null, + "ports": null, + "powerconsume": 0, + "rack": null, + "rackframe": null, + "rackframeid": null, + "rackid": null, + "rackside": null, + "range": null, + "ratebatterybackup": null, + "ratedieselgeneratorbackup": null, + "ratevolume": null, + "reconcilenodes": null, + "relatedorders": null, + "requestor": "", + "ring": null, + "ringid": 4230, + "rowversion": "2020-04-21T17:14:20", + "sectors": null, + "serialnumber": "", + "servicecontract": "", + "shelves": null, + "shouldnotberatedacpower": 0, + "shouldnotberateddcpower": 0, + "shouldnotberateddiesel": 0, + "shouldnotberatedvolume": 0, + "site": { + "$ref": "5628" + }, + "siteid": 444965, + "sla": "", + "softwareversion": "", + "stockitem": null, + "stockitemid": null, + "subnodelist": null, + "systemaccountnoderelations": null, + "ups": null, + "upsinfo": "", + "variant": "", + "vminternalportrelatelist": null, + "vmportrelatelist": null + }, + { + "acpowerconsumption": null, + "angle": null, + "batterybackuphoursordered": null, + "bridgedomains": null, + "builddate": "2020-02-11T20:05:00", + "cards": null, + "configuration": "", + "createuser": null, + "createuserid": 6727, + "customer": null, + "customerid": 57640, + "dcpowerconsumption": null, + "directionangle": null, + "domain": null, + "domainid": 2666, + "equipmentdefinition": null, + "equipmentdefinitionid": 6913, + "errors": null, + "extrainfo": "", + "extrainfoimportant": 0, + "fuseconsumption": null, + "hardwarebuildnumber": null, + "hardwarerevision": "V04", + "haserrors": false, + "heatemission": null, + "heightinrack": null, + "id": 129029, + "inservicedate": "2020-02-19T20:06:19", + "internalports": null, + "inventorystatusid": 3, + "ipaddress": "", + "iprelates": null, + "leftinrack": 0, + "managementsystem": null, + "managementsystemid": 2357, + "mplsprot": "", + "name": "TS1.LON3.UK", + "networkaddress": "", + "networkmapnodeobject": null, + "networkrole": "", + "nodealiases": null, + "nodeattachments": null, + "nodecounts": null, + "order": null, + "orderid": null, + "outofservicedate": null, + "parentnode": null, + "parentnodeid": null, + "plmidate": null, + "ploosdate": null, + "ports": null, + "powerconsume": 0, + "rack": null, + "rackframe": null, + "rackframeid": null, + "rackid": null, + "rackside": null, + "range": null, + "ratebatterybackup": null, + "ratedieselgeneratorbackup": null, + "ratevolume": null, + "reconcilenodes": null, + "relatedorders": null, + "requestor": "", + "ring": null, + "ringid": 4230, + "rowversion": "2020-04-21T18:42:47", + "sectors": null, + "serialnumber": "FGL154412DQ", + "servicecontract": "", + "shelves": null, + "shouldnotberatedacpower": null, + "shouldnotberateddcpower": null, + "shouldnotberateddiesel": null, + "shouldnotberatedvolume": null, + "site": { + "$ref": "5628" + }, + "siteid": 444965, + "sla": "", + "softwareversion": "15.7(3)M3", + "stockitem": null, + "stockitemid": null, + "subnodelist": null, + "systemaccountnoderelations": null, + "ups": null, + "upsinfo": "", + "variant": "", + "vminternalportrelatelist": null, + "vmportrelatelist": null + }, + { + "acpowerconsumption": null, + "angle": null, + "batterybackuphoursordered": null, + "bridgedomains": null, + "builddate": "2020-05-05T10:40:45", + "cards": null, + "configuration": "", + "createuser": null, + "createuserid": 8452, + "customer": null, + "customerid": null, + "dcpowerconsumption": null, + "directionangle": null, + "domain": null, + "domainid": null, + "equipmentdefinition": null, + "equipmentdefinitionid": 7294, + "errors": null, + "extrainfo": "", + "extrainfoimportant": 0, + "fuseconsumption": null, + "hardwarebuildnumber": null, + "hardwarerevision": "", + "haserrors": false, + "heatemission": null, + "heightinrack": null, + "id": 129900, + "inservicedate": "2020-05-05T10:40:45", + "internalports": null, + "inventorystatusid": 3, + "ipaddress": "", + "iprelates": null, + "leftinrack": 0, + "managementsystem": null, + "managementsystemid": 461, + "mplsprot": "", + "name": "LON3.EQUINIX.OOB.ACCESS.ROUTER", + "networkaddress": "", + "networkmapnodeobject": null, + "networkrole": "", + "nodealiases": null, + "nodeattachments": null, + "nodecounts": null, + "order": null, + "orderid": null, + "outofservicedate": null, + "parentnode": null, + "parentnodeid": null, + "plmidate": null, + "ploosdate": null, + "ports": null, + "powerconsume": 0, + "rack": null, + "rackframe": null, + "rackframeid": null, + "rackid": null, + "rackside": 0, + "range": null, + "ratebatterybackup": null, + "ratedieselgeneratorbackup": null, + "ratevolume": null, + "reconcilenodes": null, + "relatedorders": null, + "requestor": "", + "ring": null, + "ringid": 4230, + "rowversion": "2020-05-05T10:40:46", + "sectors": null, + "serialnumber": "", + "servicecontract": "", + "shelves": null, + "shouldnotberatedacpower": null, + "shouldnotberateddcpower": null, + "shouldnotberateddiesel": null, + "shouldnotberatedvolume": null, + "site": { + "$ref": "5628" + }, + "siteid": 444965, + "sla": "", + "softwareversion": "", + "stockitem": null, + "stockitemid": null, + "subnodelist": null, + "systemaccountnoderelations": null, + "ups": null, + "upsinfo": "", + "variant": "", + "vminternalportrelatelist": null, + "vmportrelatelist": null + } + ], + "oldports": null, + "outofservicedate": null, + "parentsite": null, + "parentsiteid": null, + "phonenumber": "+44 20 7537 3400", + "polygons": null, + "ports": null, + "racks": null, + "reconcilesites": null, + "relatedorders": null, + "room": "Z08-D60", + "rowversion": "2020-06-08T10:15:14", + "shelves": null, + "siteaccesscontrols": null, + "sitealiases": [ + { + "$id": "5630", + "aliasname": "LON3", + "description": "", + "errors": null, + "haserrors": false, + "id": 3387, + "originator": "", + "rowversion": "2020-03-16T13:12:36", + "site": { + "$ref": "5628" + }, + "siteid": 444965 + } + ], + "sitealiasesgrouped": null, + "siteattachments": null, + "sitecounts": null, + "sitedomains": null, + "sitename": "IBX LD9", + "siterelatedcontacts": null, + "sitetemplate": null, + "sitetemplateid": null, + "sitetype": null, + "sitetypeid": 52, + "slacks": null, + "street": "VOLT AVENUE", + "subsites": null, + "towers": null, + "turbulenceintensity": null, + "vendor": null, + "vendorid": null, + "zipcode": "NW10 6PW", + "zpos": null + }, + { + "$id": "5668", + "angle": 0, + "buildingname": "", + "circuitas": null, + "circuitbs": null, + "city": { + "$id": "5669", + "abbreviation": "LOND", + "aliasname": "", + "country": { + "abbreviation": "UK", + "cities": [ + { + "$ref": "5669" + } + ], + "countrycodeesim": null, + "countrycodetelephone": null, + "errors": null, + "extrainformation": "", + "haserrors": false, + "id": 2693, + "name": "UNITED KINGDOM", + "provinces": null, + "rowversion": "2020-01-31T13:11:55" + }, + "countryid": 2693, + "defaultzipcode": "", + "district": null, + "districtid": null, + "errors": null, + "haserrors": false, + "id": 102558, + "name": "LONDON", + "province": null, + "provinceid": null, + "rowversion": "2020-01-31T13:12:31", + "sites": [ + { + "$ref": "5668" + } + ] + }, + "cityid": 102558, + "contactperson": "LONDON EQUINIX OPERATIONS", + "coolingunitcapacity": null, + "customer": null, + "customerid": 57640, + "ddfodfs": null, + "description": "", + "empsecured": null, + "errors": null, + "floor": "2ND", + "floorplan": null, + "haserrors": false, + "helpdeskphonenr": "", + "housenumber": "8-9", + "iceload": null, + "id": 445244, + "internalports": null, + "inventorystatusid": 3, + "ipranges": null, + "iswarehouse": 0, + "latitude": 51.4981657, + "locationaccess": "", + "longitude": -0.0152639, + "maximumwindspeed": null, + "meanwindspeed": null, + "meanwindspeedrefelevation": null, + "meanwindspeedtimeinterval": null, + "name": "LONDON", + "nodes": [ + { + "acpowerconsumption": null, + "angle": null, + "batterybackuphoursordered": null, + "bridgedomains": null, + "builddate": "2020-02-06T14:30:57", + "cards": null, + "configuration": "", + "createuser": null, + "createuserid": 8317, + "customer": null, + "customerid": 57640, + "dcpowerconsumption": null, + "directionangle": null, + "domain": null, + "domainid": null, + "equipmentdefinition": null, + "equipmentdefinitionid": 6893, + "errors": null, + "extrainfo": "", + "extrainfoimportant": 0, + "fuseconsumption": null, + "hardwarebuildnumber": null, + "hardwarerevision": "", + "haserrors": false, + "heatemission": null, + "heightinrack": null, + "id": 129012, + "inservicedate": "2020-02-06T14:30:57", + "internalports": null, + "inventorystatusid": 3, + "ipaddress": "", + "iprelates": null, + "leftinrack": 0, + "managementsystem": null, + "managementsystemid": 461, + "mplsprot": "", + "name": "SW1.LON.UK.GEANT2.NET", + "networkaddress": "", + "networkmapnodeobject": null, + "networkrole": "", + "nodealiases": null, + "nodeattachments": null, + "nodecounts": null, + "order": null, + "orderid": null, + "outofservicedate": null, + "parentnode": null, + "parentnodeid": null, + "plmidate": null, + "ploosdate": null, + "ports": null, + "powerconsume": 0, + "rack": null, + "rackframe": null, + "rackframeid": null, + "rackid": 113259, + "rackside": 0, + "range": null, + "ratebatterybackup": null, + "ratedieselgeneratorbackup": null, + "ratevolume": null, + "reconcilenodes": null, + "relatedorders": null, + "requestor": "", + "ring": null, + "ringid": 4230, + "rowversion": "2020-02-06T14:30:57", + "sectors": null, + "serialnumber": "", + "servicecontract": "", + "shelves": null, + "shouldnotberatedacpower": null, + "shouldnotberateddcpower": null, + "shouldnotberateddiesel": null, + "shouldnotberatedvolume": null, + "site": { + "$ref": "5668" + }, + "siteid": 445244, + "sla": "", + "softwareversion": "", + "stockitem": null, + "stockitemid": null, + "subnodelist": null, + "systemaccountnoderelations": null, + "ups": null, + "upsinfo": "", + "variant": "", + "vminternalportrelatelist": null, + "vmportrelatelist": null + }, + { + "acpowerconsumption": null, + "angle": null, + "batterybackuphoursordered": null, + "bridgedomains": null, + "builddate": "2020-02-06T14:30:58", + "cards": null, + "configuration": "", + "createuser": null, + "createuserid": 8317, + "customer": null, + "customerid": 57640, + "dcpowerconsumption": null, + "directionangle": null, + "domain": null, + "domainid": null, + "equipmentdefinition": null, + "equipmentdefinitionid": 6893, + "errors": null, + "extrainfo": "", + "extrainfoimportant": 0, + "fuseconsumption": null, + "hardwarebuildnumber": null, + "hardwarerevision": "", + "haserrors": false, + "heatemission": null, + "heightinrack": null, + "id": 129014, + "inservicedate": "2020-02-06T14:30:58", + "internalports": null, + "inventorystatusid": 3, + "ipaddress": "", + "iprelates": null, + "leftinrack": 0, + "managementsystem": null, + "managementsystemid": 461, + "mplsprot": "", + "name": "SW3.LON.UK.GEANT2.NET", + "networkaddress": "", + "networkmapnodeobject": null, + "networkrole": "", + "nodealiases": null, + "nodeattachments": null, + "nodecounts": null, + "order": null, + "orderid": null, + "outofservicedate": null, + "parentnode": null, + "parentnodeid": null, + "plmidate": null, + "ploosdate": null, + "ports": null, + "powerconsume": 0, + "rack": null, + "rackframe": null, + "rackframeid": null, + "rackid": 113260, + "rackside": 0, + "range": null, + "ratebatterybackup": null, + "ratedieselgeneratorbackup": null, + "ratevolume": null, + "reconcilenodes": null, + "relatedorders": null, + "requestor": "", + "ring": null, + "ringid": 4230, + "rowversion": "2020-02-06T14:30:58", + "sectors": null, + "serialnumber": "", + "servicecontract": "", + "shelves": null, + "shouldnotberatedacpower": null, + "shouldnotberateddcpower": null, + "shouldnotberateddiesel": null, + "shouldnotberatedvolume": null, + "site": { + "$ref": "5668" + }, + "siteid": 445244, + "sla": "", + "softwareversion": "", + "stockitem": null, + "stockitemid": null, + "subnodelist": null, + "systemaccountnoderelations": null, + "ups": null, + "upsinfo": "", + "variant": "", + "vminternalportrelatelist": null, + "vmportrelatelist": null + }, + { + "acpowerconsumption": null, + "angle": null, + "batterybackuphoursordered": null, + "bridgedomains": null, + "builddate": "2020-02-12T09:06:10", + "cards": null, + "configuration": "", + "createuser": null, + "createuserid": 6727, + "customer": null, + "customerid": 57640, + "dcpowerconsumption": null, + "directionangle": null, + "domain": null, + "domainid": 2686, + "equipmentdefinition": null, + "equipmentdefinitionid": 6959, + "errors": null, + "extrainfo": "", + "extrainfoimportant": 0, + "fuseconsumption": null, + "hardwarebuildnumber": null, + "hardwarerevision": "REV 01", + "haserrors": false, + "heatemission": null, + "heightinrack": null, + "id": 129079, + "inservicedate": "2020-02-20T20:16:36", + "internalports": null, + "inventorystatusid": 3, + "ipaddress": "", + "iprelates": null, + "leftinrack": 0, + "managementsystem": null, + "managementsystemid": 2356, + "mplsprot": "", + "name": "MX1.LON.UK", + "networkaddress": "", + "networkmapnodeobject": null, + "networkrole": "", + "nodealiases": null, + "nodeattachments": null, + "nodecounts": null, + "order": null, + "orderid": null, + "outofservicedate": null, + "parentnode": null, + "parentnodeid": null, + "plmidate": null, + "ploosdate": null, + "ports": null, + "powerconsume": 0, + "rack": null, + "rackframe": null, + "rackframeid": null, + "rackid": 113261, + "rackside": null, + "range": null, + "ratebatterybackup": null, + "ratedieselgeneratorbackup": null, + "ratevolume": null, + "reconcilenodes": null, + "relatedorders": null, + "requestor": "", + "ring": null, + "ringid": 4230, + "rowversion": "2020-04-20T20:49:39", + "sectors": null, + "serialnumber": "JN11FD747AFA", + "servicecontract": "", + "shelves": null, + "shouldnotberatedacpower": null, + "shouldnotberateddcpower": null, + "shouldnotberateddiesel": null, + "shouldnotberatedvolume": null, + "site": { + "$ref": "5668" + }, + "siteid": 445244, + "sla": "", + "softwareversion": "17.4R2-S6", + "stockitem": null, + "stockitemid": null, + "subnodelist": null, + "systemaccountnoderelations": null, + "ups": null, + "upsinfo": "", + "variant": "", + "vminternalportrelatelist": null, + "vmportrelatelist": null + }, + { + "acpowerconsumption": null, + "angle": null, + "batterybackuphoursordered": null, + "bridgedomains": null, + "builddate": "2020-02-06T15:38:06", + "cards": null, + "configuration": "", + "createuser": null, + "createuserid": 8317, + "customer": null, + "customerid": 57640, + "dcpowerconsumption": null, + "directionangle": null, + "domain": null, + "domainid": null, + "equipmentdefinition": null, + "equipmentdefinitionid": 6894, + "errors": null, + "extrainfo": "", + "extrainfoimportant": 0, + "fuseconsumption": null, + "hardwarebuildnumber": null, + "hardwarerevision": "", + "haserrors": false, + "heatemission": null, + "heightinrack": null, + "id": 129019, + "inservicedate": "2020-02-06T15:38:06", + "internalports": null, + "inventorystatusid": 3, + "ipaddress": "", + "iprelates": null, + "leftinrack": 0, + "managementsystem": null, + "managementsystemid": 461, + "mplsprot": "", + "name": "ATLAS.LON.UK.GEANT.NET", + "networkaddress": "", + "networkmapnodeobject": null, + "networkrole": "", + "nodealiases": null, + "nodeattachments": null, + "nodecounts": null, + "order": null, + "orderid": null, + "outofservicedate": null, + "parentnode": null, + "parentnodeid": null, + "plmidate": null, + "ploosdate": null, + "ports": null, + "powerconsume": 0, + "rack": null, + "rackframe": null, + "rackframeid": null, + "rackid": 113259, + "rackside": 0, + "range": null, + "ratebatterybackup": null, + "ratedieselgeneratorbackup": null, + "ratevolume": null, + "reconcilenodes": null, + "relatedorders": null, + "requestor": "", + "ring": null, + "ringid": 4230, + "rowversion": "2020-04-20T20:49:32", + "sectors": null, + "serialnumber": "", + "servicecontract": "", + "shelves": null, + "shouldnotberatedacpower": 0, + "shouldnotberateddcpower": 0, + "shouldnotberateddiesel": 0, + "shouldnotberatedvolume": 0, + "site": { + "$ref": "5668" + }, + "siteid": 445244, + "sla": "", + "softwareversion": "", + "stockitem": null, + "stockitemid": null, + "subnodelist": null, + "systemaccountnoderelations": null, + "ups": null, + "upsinfo": "", + "variant": "", + "vminternalportrelatelist": null, + "vmportrelatelist": null + }, + { + "acpowerconsumption": null, + "angle": null, + "batterybackuphoursordered": null, + "bridgedomains": null, + "builddate": "2020-02-11T20:05:01", + "cards": null, + "configuration": "", + "createuser": null, + "createuserid": 6727, + "customer": null, + "customerid": 57640, + "dcpowerconsumption": null, + "directionangle": null, + "domain": null, + "domainid": 2666, + "equipmentdefinition": null, + "equipmentdefinitionid": 6913, + "errors": null, + "extrainfo": "", + "extrainfoimportant": 0, + "fuseconsumption": null, + "hardwarebuildnumber": null, + "hardwarerevision": "V07", + "haserrors": false, + "heatemission": null, + "heightinrack": null, + "id": 129031, + "inservicedate": "2020-02-19T20:06:21", + "internalports": null, + "inventorystatusid": 3, + "ipaddress": "", + "iprelates": null, + "leftinrack": 0, + "managementsystem": null, + "managementsystemid": 2357, + "mplsprot": "", + "name": "TS1.LON.UK", + "networkaddress": "", + "networkmapnodeobject": null, + "networkrole": "", + "nodealiases": null, + "nodeattachments": null, + "nodecounts": null, + "order": null, + "orderid": null, + "outofservicedate": null, + "parentnode": null, + "parentnodeid": null, + "plmidate": null, + "ploosdate": null, + "ports": null, + "powerconsume": 0, + "rack": null, + "rackframe": null, + "rackframeid": null, + "rackid": 113259, + "rackside": null, + "range": null, + "ratebatterybackup": null, + "ratedieselgeneratorbackup": null, + "ratevolume": null, + "reconcilenodes": null, + "relatedorders": null, + "requestor": "", + "ring": null, + "ringid": 4230, + "rowversion": "2020-04-20T20:49:47", + "sectors": null, + "serialnumber": "FCZ183170TJ", + "servicecontract": "", + "shelves": null, + "shouldnotberatedacpower": null, + "shouldnotberateddcpower": null, + "shouldnotberateddiesel": null, + "shouldnotberatedvolume": null, + "site": { + "$ref": "5668" + }, + "siteid": 445244, + "sla": "", + "softwareversion": "15.7(3)M3", + "stockitem": null, + "stockitemid": null, + "subnodelist": null, + "systemaccountnoderelations": null, + "ups": null, + "upsinfo": "", + "variant": "", + "vminternalportrelatelist": null, + "vmportrelatelist": null + }, + { + "acpowerconsumption": null, + "angle": null, + "batterybackuphoursordered": null, + "bridgedomains": null, + "builddate": "2020-02-19T12:42:04", + "cards": null, + "configuration": "", + "createuser": null, + "createuserid": 6727, + "customer": null, + "customerid": null, + "dcpowerconsumption": null, + "directionangle": null, + "domain": null, + "domainid": null, + "equipmentdefinition": null, + "equipmentdefinitionid": 6935, + "errors": null, + "extrainfo": "", + "extrainfoimportant": 0, + "fuseconsumption": null, + "hardwarebuildnumber": null, + "hardwarerevision": "", + "haserrors": false, + "heatemission": null, + "heightinrack": null, + "id": 129312, + "inservicedate": "2020-02-19T20:14:59", + "internalports": null, + "inventorystatusid": 3, + "ipaddress": "", + "iprelates": null, + "leftinrack": 0, + "managementsystem": null, + "managementsystemid": 2356, + "mplsprot": "", + "name": "MX1.LON.UK_GEANT-IT", + "networkaddress": "", + "networkmapnodeobject": null, + "networkrole": "", + "nodealiases": null, + "nodeattachments": null, + "nodecounts": null, + "order": null, + "orderid": null, + "outofservicedate": null, + "parentnode": null, + "parentnodeid": 129079, + "plmidate": null, + "ploosdate": null, + "ports": null, + "powerconsume": 0, + "rack": null, + "rackframe": null, + "rackframeid": null, + "rackid": null, + "rackside": null, + "range": null, + "ratebatterybackup": null, + "ratedieselgeneratorbackup": null, + "ratevolume": null, + "reconcilenodes": null, + "relatedorders": null, + "requestor": "", + "ring": null, + "ringid": 4230, + "rowversion": "2020-02-19T20:14:59", + "sectors": null, + "serialnumber": "", + "servicecontract": "", + "shelves": null, + "shouldnotberatedacpower": null, + "shouldnotberateddcpower": null, + "shouldnotberateddiesel": null, + "shouldnotberatedvolume": null, + "site": { + "$ref": "5668" + }, + "siteid": 445244, + "sla": "", + "softwareversion": "", + "stockitem": null, + "stockitemid": null, + "subnodelist": null, + "systemaccountnoderelations": null, + "ups": null, + "upsinfo": "", + "variant": "", + "vminternalportrelatelist": null, + "vmportrelatelist": null + }, + { + "acpowerconsumption": null, + "angle": null, + "batterybackuphoursordered": null, + "bridgedomains": null, + "builddate": "2020-02-20T17:14:38", + "cards": null, + "configuration": "", + "createuser": null, + "createuserid": 8417, + "customer": null, + "customerid": 57640, + "dcpowerconsumption": null, + "directionangle": null, + "domain": null, + "domainid": 2706, + "equipmentdefinition": null, + "equipmentdefinitionid": 7031, + "errors": null, + "extrainfo": "", + "extrainfoimportant": 0, + "fuseconsumption": null, + "hardwarebuildnumber": null, + "hardwarerevision": "", + "haserrors": false, + "heatemission": null, + "heightinrack": null, + "id": 129368, + "inservicedate": "2020-02-20T19:20:57", + "internalports": null, + "inventorystatusid": 3, + "ipaddress": "", + "iprelates": null, + "leftinrack": 0, + "managementsystem": null, + "managementsystemid": 2362, + "mplsprot": "", + "name": "GRV3.LON.UK.GEANT.NET", + "networkaddress": "", + "networkmapnodeobject": null, + "networkrole": "", + "nodealiases": null, + "nodeattachments": null, + "nodecounts": null, + "order": null, + "orderid": null, + "outofservicedate": null, + "parentnode": null, + "parentnodeid": null, + "plmidate": null, + "ploosdate": null, + "ports": null, + "powerconsume": 0, + "rack": null, + "rackframe": null, + "rackframeid": null, + "rackid": 113261, + "rackside": null, + "range": null, + "ratebatterybackup": null, + "ratedieselgeneratorbackup": null, + "ratevolume": null, + "reconcilenodes": null, + "relatedorders": null, + "requestor": "", + "ring": null, + "ringid": 4230, + "rowversion": "2020-04-20T20:49:36", + "sectors": null, + "serialnumber": "8Q2230013", + "servicecontract": "", + "shelves": null, + "shouldnotberatedacpower": null, + "shouldnotberateddcpower": null, + "shouldnotberateddiesel": null, + "shouldnotberatedvolume": null, + "site": { + "$ref": "5668" + }, + "siteid": 445244, + "sla": "", + "softwareversion": "", + "stockitem": null, + "stockitemid": null, + "subnodelist": null, + "systemaccountnoderelations": null, + "ups": null, + "upsinfo": "", + "variant": "", + "vminternalportrelatelist": null, + "vmportrelatelist": null + }, + { + "acpowerconsumption": null, + "angle": null, + "batterybackuphoursordered": null, + "bridgedomains": null, + "builddate": "2020-02-21T19:37:20", + "cards": null, + "configuration": "", + "createuser": null, + "createuserid": 8317, + "customer": null, + "customerid": 57640, + "dcpowerconsumption": null, + "directionangle": null, + "domain": null, + "domainid": null, + "equipmentdefinition": null, + "equipmentdefinitionid": 7057, + "errors": null, + "extrainfo": "", + "extrainfoimportant": 0, + "fuseconsumption": null, + "hardwarebuildnumber": null, + "hardwarerevision": "", + "haserrors": false, + "heatemission": null, + "heightinrack": null, + "id": 129394, + "inservicedate": "2020-02-21T19:37:20", + "internalports": null, + "inventorystatusid": 3, + "ipaddress": "", + "iprelates": null, + "leftinrack": 0, + "managementsystem": null, + "managementsystemid": 461, + "mplsprot": "", + "name": "C1N2.LON.UK.GEANT2.NET", + "networkaddress": "", + "networkmapnodeobject": null, + "networkrole": "", + "nodealiases": null, + "nodeattachments": null, + "nodecounts": null, + "order": null, + "orderid": null, + "outofservicedate": null, + "parentnode": null, + "parentnodeid": null, + "plmidate": null, + "ploosdate": null, + "ports": null, + "powerconsume": 0, + "rack": null, + "rackframe": null, + "rackframeid": null, + "rackid": 113260, + "rackside": 0, + "range": null, + "ratebatterybackup": null, + "ratedieselgeneratorbackup": null, + "ratevolume": null, + "reconcilenodes": null, + "relatedorders": null, + "requestor": "", + "ring": null, + "ringid": 4230, + "rowversion": "2020-02-21T19:37:20", + "sectors": null, + "serialnumber": "56WN55J", + "servicecontract": "", + "shelves": null, + "shouldnotberatedacpower": null, + "shouldnotberateddcpower": null, + "shouldnotberateddiesel": null, + "shouldnotberatedvolume": null, + "site": { + "$ref": "5668" + }, + "siteid": 445244, + "sla": "", + "softwareversion": "", + "stockitem": null, + "stockitemid": null, + "subnodelist": null, + "systemaccountnoderelations": null, + "ups": null, + "upsinfo": "", + "variant": "", + "vminternalportrelatelist": null, + "vmportrelatelist": null + }, + { + "acpowerconsumption": null, + "angle": null, + "batterybackuphoursordered": null, + "bridgedomains": null, + "builddate": "2020-02-20T17:14:36", + "cards": null, + "configuration": "", + "createuser": null, + "createuserid": 8417, + "customer": null, + "customerid": 57640, + "dcpowerconsumption": null, + "directionangle": null, + "domain": null, + "domainid": 2706, + "equipmentdefinition": null, + "equipmentdefinitionid": 7031, + "errors": null, + "extrainfo": "", + "extrainfoimportant": 0, + "fuseconsumption": null, + "hardwarebuildnumber": null, + "hardwarerevision": "", + "haserrors": false, + "heatemission": null, + "heightinrack": 2200, + "id": 129367, + "inservicedate": "2020-02-20T19:20:54", + "internalports": null, + "inventorystatusid": 3, + "ipaddress": "", + "iprelates": null, + "leftinrack": 250, + "managementsystem": null, + "managementsystemid": 2362, + "mplsprot": "", + "name": "GRV1.LON.UK.GEANT.NET", + "networkaddress": "", + "networkmapnodeobject": null, + "networkrole": "", + "nodealiases": null, + "nodeattachments": null, + "nodecounts": null, + "order": null, + "orderid": null, + "outofservicedate": null, + "parentnode": null, + "parentnodeid": null, + "plmidate": null, + "ploosdate": null, + "ports": null, + "powerconsume": 0, + "rack": null, + "rackframe": null, + "rackframeid": null, + "rackid": 113261, + "rackside": 0, + "range": null, + "ratebatterybackup": null, + "ratedieselgeneratorbackup": null, + "ratevolume": null, + "reconcilenodes": null, + "relatedorders": null, + "requestor": "", + "ring": null, + "ringid": 4230, + "rowversion": "2020-06-01T14:42:36", + "sectors": null, + "serialnumber": "7Q3370024", + "servicecontract": "", + "shelves": null, + "shouldnotberatedacpower": null, + "shouldnotberateddcpower": null, + "shouldnotberateddiesel": null, + "shouldnotberatedvolume": null, + "site": { + "$ref": "5668" + }, + "siteid": 445244, + "sla": "", + "softwareversion": "", + "stockitem": null, + "stockitemid": null, + "subnodelist": null, + "systemaccountnoderelations": null, + "ups": null, + "upsinfo": "", + "variant": "", + "vminternalportrelatelist": null, + "vmportrelatelist": null + }, + { + "acpowerconsumption": null, + "angle": null, + "batterybackuphoursordered": null, + "bridgedomains": null, + "builddate": "2020-02-19T12:41:17", + "cards": null, + "configuration": "", + "createuser": null, + "createuserid": 6727, + "customer": null, + "customerid": null, + "dcpowerconsumption": null, + "directionangle": null, + "domain": null, + "domainid": null, + "equipmentdefinition": null, + "equipmentdefinitionid": 6934, + "errors": null, + "extrainfo": "", + "extrainfoimportant": 0, + "fuseconsumption": null, + "hardwarebuildnumber": null, + "hardwarerevision": "", + "haserrors": false, + "heatemission": null, + "heightinrack": null, + "id": 129244, + "inservicedate": "2020-02-19T20:14:18", + "internalports": null, + "inventorystatusid": 3, + "ipaddress": "", + "iprelates": null, + "leftinrack": 0, + "managementsystem": null, + "managementsystemid": 2356, + "mplsprot": "", + "name": "MX1.LON.UK_MGMT-BRIDGE", + "networkaddress": "", + "networkmapnodeobject": null, + "networkrole": "", + "nodealiases": null, + "nodeattachments": null, + "nodecounts": null, + "order": null, + "orderid": null, + "outofservicedate": null, + "parentnode": null, + "parentnodeid": 129079, + "plmidate": null, + "ploosdate": null, + "ports": null, + "powerconsume": 0, + "rack": null, + "rackframe": null, + "rackframeid": null, + "rackid": null, + "rackside": null, + "range": null, + "ratebatterybackup": null, + "ratedieselgeneratorbackup": null, + "ratevolume": null, + "reconcilenodes": null, + "relatedorders": null, + "requestor": "", + "ring": null, + "ringid": 4230, + "rowversion": "2020-02-19T20:14:18", + "sectors": null, + "serialnumber": "", + "servicecontract": "", + "shelves": null, + "shouldnotberatedacpower": null, + "shouldnotberateddcpower": null, + "shouldnotberateddiesel": null, + "shouldnotberatedvolume": null, + "site": { + "$ref": "5668" + }, + "siteid": 445244, + "sla": "", + "softwareversion": "", + "stockitem": null, + "stockitemid": null, + "subnodelist": null, + "systemaccountnoderelations": null, + "ups": null, + "upsinfo": "", + "variant": "", + "vminternalportrelatelist": null, + "vmportrelatelist": null + }, + { + "acpowerconsumption": null, + "angle": null, + "batterybackuphoursordered": null, + "bridgedomains": null, + "builddate": "2020-02-19T12:42:34", + "cards": null, + "configuration": "", + "createuser": null, + "createuserid": 6727, + "customer": null, + "customerid": null, + "dcpowerconsumption": null, + "directionangle": null, + "domain": null, + "domainid": null, + "equipmentdefinition": null, + "equipmentdefinitionid": 6935, + "errors": null, + "extrainfo": "", + "extrainfoimportant": 0, + "fuseconsumption": null, + "hardwarebuildnumber": null, + "hardwarerevision": "", + "haserrors": false, + "heatemission": null, + "heightinrack": null, + "id": 129354, + "inservicedate": "2020-02-19T20:15:10", + "internalports": null, + "inventorystatusid": 3, + "ipaddress": "", + "iprelates": null, + "leftinrack": 0, + "managementsystem": null, + "managementsystemid": 2356, + "mplsprot": "", + "name": "MX1.LON.UK_CORIANT-MGMT", + "networkaddress": "", + "networkmapnodeobject": null, + "networkrole": "", + "nodealiases": null, + "nodeattachments": null, + "nodecounts": null, + "order": null, + "orderid": null, + "outofservicedate": null, + "parentnode": null, + "parentnodeid": 129079, + "plmidate": null, + "ploosdate": null, + "ports": null, + "powerconsume": 0, + "rack": null, + "rackframe": null, + "rackframeid": null, + "rackid": null, + "rackside": null, + "range": null, + "ratebatterybackup": null, + "ratedieselgeneratorbackup": null, + "ratevolume": null, + "reconcilenodes": null, + "relatedorders": null, + "requestor": "", + "ring": null, + "ringid": 4230, + "rowversion": "2020-02-19T20:15:10", + "sectors": null, + "serialnumber": "", + "servicecontract": "", + "shelves": null, + "shouldnotberatedacpower": null, + "shouldnotberateddcpower": null, + "shouldnotberateddiesel": null, + "shouldnotberatedvolume": null, + "site": { + "$ref": "5668" + }, + "siteid": 445244, + "sla": "", + "softwareversion": "", + "stockitem": null, + "stockitemid": null, + "subnodelist": null, + "systemaccountnoderelations": null, + "ups": null, + "upsinfo": "", + "variant": "", + "vminternalportrelatelist": null, + "vmportrelatelist": null + }, + { + "acpowerconsumption": null, + "angle": null, + "batterybackuphoursordered": null, + "bridgedomains": null, + "builddate": "2020-02-19T08:28:03", + "cards": null, + "configuration": "", + "createuser": null, + "createuserid": 6727, + "customer": null, + "customerid": 57640, + "dcpowerconsumption": null, + "directionangle": null, + "domain": null, + "domainid": null, + "equipmentdefinition": null, + "equipmentdefinitionid": 7014, + "errors": null, + "extrainfo": "", + "extrainfoimportant": 0, + "fuseconsumption": null, + "hardwarebuildnumber": null, + "hardwarerevision": "", + "haserrors": false, + "heatemission": null, + "heightinrack": null, + "id": 129182, + "inservicedate": "2020-03-12T20:38:36", + "internalports": null, + "inventorystatusid": 3, + "ipaddress": "", + "iprelates": null, + "leftinrack": 0, + "managementsystem": null, + "managementsystemid": 2363, + "mplsprot": "", + "name": "LON01-DTNX10-1", + "networkaddress": "", + "networkmapnodeobject": null, + "networkrole": "", + "nodealiases": null, + "nodeattachments": null, + "nodecounts": null, + "order": null, + "orderid": null, + "outofservicedate": null, + "parentnode": null, + "parentnodeid": null, + "plmidate": null, + "ploosdate": null, + "ports": null, + "powerconsume": 0, + "rack": null, + "rackframe": null, + "rackframeid": null, + "rackid": null, + "rackside": null, + "range": null, + "ratebatterybackup": null, + "ratedieselgeneratorbackup": null, + "ratevolume": null, + "reconcilenodes": null, + "relatedorders": null, + "requestor": "", + "ring": null, + "ringid": 4230, + "rowversion": "2020-04-21T17:14:27", + "sectors": null, + "serialnumber": "", + "servicecontract": "", + "shelves": null, + "shouldnotberatedacpower": null, + "shouldnotberateddcpower": null, + "shouldnotberateddiesel": null, + "shouldnotberatedvolume": null, + "site": { + "$ref": "5668" + }, + "siteid": 445244, + "sla": "", + "softwareversion": "", + "stockitem": null, + "stockitemid": null, + "subnodelist": null, + "systemaccountnoderelations": null, + "ups": null, + "upsinfo": "", + "variant": "", + "vminternalportrelatelist": null, + "vmportrelatelist": null + }, + { + "acpowerconsumption": null, + "angle": null, + "batterybackuphoursordered": null, + "bridgedomains": null, + "builddate": "2020-02-19T12:42:13", + "cards": null, + "configuration": "", + "createuser": null, + "createuserid": 6727, + "customer": null, + "customerid": null, + "dcpowerconsumption": null, + "directionangle": null, + "domain": null, + "domainid": null, + "equipmentdefinition": null, + "equipmentdefinitionid": 6935, + "errors": null, + "extrainfo": "", + "extrainfoimportant": 0, + "fuseconsumption": null, + "hardwarebuildnumber": null, + "hardwarerevision": "", + "haserrors": false, + "heatemission": null, + "heightinrack": null, + "id": 129325, + "inservicedate": "2020-02-19T20:14:27", + "internalports": null, + "inventorystatusid": 3, + "ipaddress": "", + "iprelates": null, + "leftinrack": 0, + "managementsystem": null, + "managementsystemid": 2356, + "mplsprot": "", + "name": "MX1.LON.UK_CLS", + "networkaddress": "", + "networkmapnodeobject": null, + "networkrole": "", + "nodealiases": null, + "nodeattachments": null, + "nodecounts": null, + "order": null, + "orderid": null, + "outofservicedate": null, + "parentnode": null, + "parentnodeid": 129079, + "plmidate": null, + "ploosdate": null, + "ports": null, + "powerconsume": 0, + "rack": null, + "rackframe": null, + "rackframeid": null, + "rackid": null, + "rackside": null, + "range": null, + "ratebatterybackup": null, + "ratedieselgeneratorbackup": null, + "ratevolume": null, + "reconcilenodes": null, + "relatedorders": null, + "requestor": "", + "ring": null, + "ringid": 4230, + "rowversion": "2020-02-19T20:14:27", + "sectors": null, + "serialnumber": "", + "servicecontract": "", + "shelves": null, + "shouldnotberatedacpower": null, + "shouldnotberateddcpower": null, + "shouldnotberateddiesel": null, + "shouldnotberatedvolume": null, + "site": { + "$ref": "5668" + }, + "siteid": 445244, + "sla": "", + "softwareversion": "", + "stockitem": null, + "stockitemid": null, + "subnodelist": null, + "systemaccountnoderelations": null, + "ups": null, + "upsinfo": "", + "variant": "", + "vminternalportrelatelist": null, + "vmportrelatelist": null + }, + { + "acpowerconsumption": null, + "angle": null, + "batterybackuphoursordered": null, + "bridgedomains": null, + "builddate": "2020-02-20T17:14:47", + "cards": null, + "configuration": "", + "createuser": null, + "createuserid": 8417, + "customer": null, + "customerid": 57640, + "dcpowerconsumption": null, + "directionangle": null, + "domain": null, + "domainid": 2706, + "equipmentdefinition": null, + "equipmentdefinitionid": 7031, + "errors": null, + "extrainfo": "", + "extrainfoimportant": 0, + "fuseconsumption": null, + "hardwarebuildnumber": null, + "hardwarerevision": "", + "haserrors": false, + "heatemission": null, + "heightinrack": 2200, + "id": 129372, + "inservicedate": "2020-02-20T19:21:06", + "internalports": null, + "inventorystatusid": 3, + "ipaddress": "", + "iprelates": null, + "leftinrack": 250, + "managementsystem": null, + "managementsystemid": 2362, + "mplsprot": "", + "name": "GRV2.LON.UK.GEANT.NET", + "networkaddress": "", + "networkmapnodeobject": null, + "networkrole": "", + "nodealiases": null, + "nodeattachments": null, + "nodecounts": null, + "order": null, + "orderid": null, + "outofservicedate": null, + "parentnode": null, + "parentnodeid": null, + "plmidate": null, + "ploosdate": null, + "ports": null, + "powerconsume": 0, + "rack": null, + "rackframe": null, + "rackframeid": null, + "rackid": 113261, + "rackside": 0, + "range": null, + "ratebatterybackup": null, + "ratedieselgeneratorbackup": null, + "ratevolume": null, + "reconcilenodes": null, + "relatedorders": null, + "requestor": "", + "ring": null, + "ringid": 4230, + "rowversion": "2020-06-01T14:42:58", + "sectors": null, + "serialnumber": "8Q2260082", + "servicecontract": "", + "shelves": null, + "shouldnotberatedacpower": null, + "shouldnotberateddcpower": null, + "shouldnotberateddiesel": null, + "shouldnotberatedvolume": null, + "site": { + "$ref": "5668" + }, + "siteid": 445244, + "sla": "", + "softwareversion": "", + "stockitem": null, + "stockitemid": null, + "subnodelist": null, + "systemaccountnoderelations": null, + "ups": null, + "upsinfo": "", + "variant": "", + "vminternalportrelatelist": null, + "vmportrelatelist": null + }, + { + "acpowerconsumption": null, + "angle": null, + "batterybackuphoursordered": null, + "bridgedomains": null, + "builddate": "2020-02-21T19:31:18", + "cards": null, + "configuration": "", + "createuser": null, + "createuserid": 8317, + "customer": null, + "customerid": 57709, + "dcpowerconsumption": null, + "directionangle": null, + "domain": null, + "domainid": null, + "equipmentdefinition": null, + "equipmentdefinitionid": 7051, + "errors": null, + "extrainfo": "", + "extrainfoimportant": 0, + "fuseconsumption": null, + "hardwarebuildnumber": null, + "hardwarerevision": "", + "haserrors": false, + "heatemission": null, + "heightinrack": null, + "id": 129391, + "inservicedate": "2020-02-21T19:31:18", + "internalports": null, + "inventorystatusid": 3, + "ipaddress": "", + "iprelates": null, + "leftinrack": 0, + "managementsystem": null, + "managementsystemid": 461, + "mplsprot": "", + "name": "SINET-SD-WAN LON - EDGE", + "networkaddress": "", + "networkmapnodeobject": null, + "networkrole": "", + "nodealiases": null, + "nodeattachments": null, + "nodecounts": null, + "order": null, + "orderid": null, + "outofservicedate": null, + "parentnode": null, + "parentnodeid": null, + "plmidate": null, + "ploosdate": null, + "ports": null, + "powerconsume": 0, + "rack": null, + "rackframe": null, + "rackframeid": null, + "rackid": 113259, + "rackside": 0, + "range": null, + "ratebatterybackup": null, + "ratedieselgeneratorbackup": null, + "ratevolume": null, + "reconcilenodes": null, + "relatedorders": null, + "requestor": "", + "ring": null, + "ringid": 4230, + "rowversion": "2020-02-21T19:31:18", + "sectors": null, + "serialnumber": "DW725M2", + "servicecontract": "", + "shelves": null, + "shouldnotberatedacpower": null, + "shouldnotberateddcpower": null, + "shouldnotberateddiesel": null, + "shouldnotberatedvolume": null, + "site": { + "$ref": "5668" + }, + "siteid": 445244, + "sla": "", + "softwareversion": "", + "stockitem": null, + "stockitemid": null, + "subnodelist": null, + "systemaccountnoderelations": null, + "ups": null, + "upsinfo": "", + "variant": "", + "vminternalportrelatelist": null, + "vmportrelatelist": null + }, + { + "acpowerconsumption": null, + "angle": null, + "batterybackuphoursordered": null, + "bridgedomains": null, + "builddate": "2020-02-21T19:31:18", + "cards": null, + "configuration": "", + "createuser": null, + "createuserid": 8317, + "customer": null, + "customerid": 57709, + "dcpowerconsumption": null, + "directionangle": null, + "domain": null, + "domainid": null, + "equipmentdefinition": null, + "equipmentdefinitionid": 7051, + "errors": null, + "extrainfo": "", + "extrainfoimportant": 0, + "fuseconsumption": null, + "hardwarebuildnumber": null, + "hardwarerevision": "", + "haserrors": false, + "heatemission": null, + "heightinrack": null, + "id": 129392, + "inservicedate": "2020-02-21T19:31:18", + "internalports": null, + "inventorystatusid": 3, + "ipaddress": "", + "iprelates": null, + "leftinrack": 0, + "managementsystem": null, + "managementsystemid": 461, + "mplsprot": "", + "name": "SINET-SD-WAN LON - HOST", + "networkaddress": "", + "networkmapnodeobject": null, + "networkrole": "", + "nodealiases": null, + "nodeattachments": null, + "nodecounts": null, + "order": null, + "orderid": null, + "outofservicedate": null, + "parentnode": null, + "parentnodeid": null, + "plmidate": null, + "ploosdate": null, + "ports": null, + "powerconsume": 0, + "rack": null, + "rackframe": null, + "rackframeid": null, + "rackid": 113259, + "rackside": 0, + "range": null, + "ratebatterybackup": null, + "ratedieselgeneratorbackup": null, + "ratevolume": null, + "reconcilenodes": null, + "relatedorders": null, + "requestor": "", + "ring": null, + "ringid": 4230, + "rowversion": "2020-02-21T19:31:18", + "sectors": null, + "serialnumber": "322SBB2", + "servicecontract": "", + "shelves": null, + "shouldnotberatedacpower": null, + "shouldnotberateddcpower": null, + "shouldnotberateddiesel": null, + "shouldnotberatedvolume": null, + "site": { + "$ref": "5668" + }, + "siteid": 445244, + "sla": "", + "softwareversion": "", + "stockitem": null, + "stockitemid": null, + "subnodelist": null, + "systemaccountnoderelations": null, + "ups": null, + "upsinfo": "", + "variant": "", + "vminternalportrelatelist": null, + "vmportrelatelist": null + }, + { + "acpowerconsumption": null, + "angle": null, + "batterybackuphoursordered": null, + "bridgedomains": null, + "builddate": "2020-02-19T12:41:26", + "cards": null, + "configuration": "", + "createuser": null, + "createuserid": 6727, + "customer": null, + "customerid": null, + "dcpowerconsumption": null, + "directionangle": null, + "domain": null, + "domainid": null, + "equipmentdefinition": null, + "equipmentdefinitionid": 6935, + "errors": null, + "extrainfo": "", + "extrainfoimportant": 0, + "fuseconsumption": null, + "hardwarebuildnumber": null, + "hardwarerevision": "", + "haserrors": false, + "heatemission": null, + "heightinrack": null, + "id": 129261, + "inservicedate": "2020-02-19T20:14:36", + "internalports": null, + "inventorystatusid": 3, + "ipaddress": "", + "iprelates": null, + "leftinrack": 0, + "managementsystem": null, + "managementsystemid": 2356, + "mplsprot": "", + "name": "MX1.LON.UK_MDVPN", + "networkaddress": "", + "networkmapnodeobject": null, + "networkrole": "", + "nodealiases": null, + "nodeattachments": null, + "nodecounts": null, + "order": null, + "orderid": null, + "outofservicedate": null, + "parentnode": null, + "parentnodeid": 129079, + "plmidate": null, + "ploosdate": null, + "ports": null, + "powerconsume": 0, + "rack": null, + "rackframe": null, + "rackframeid": null, + "rackid": null, + "rackside": null, + "range": null, + "ratebatterybackup": null, + "ratedieselgeneratorbackup": null, + "ratevolume": null, + "reconcilenodes": null, + "relatedorders": null, + "requestor": "", + "ring": null, + "ringid": 4230, + "rowversion": "2020-02-19T20:14:36", + "sectors": null, + "serialnumber": "", + "servicecontract": "", + "shelves": null, + "shouldnotberatedacpower": null, + "shouldnotberateddcpower": null, + "shouldnotberateddiesel": null, + "shouldnotberatedvolume": null, + "site": { + "$ref": "5668" + }, + "siteid": 445244, + "sla": "", + "softwareversion": "", + "stockitem": null, + "stockitemid": null, + "subnodelist": null, + "systemaccountnoderelations": null, + "ups": null, + "upsinfo": "", + "variant": "", + "vminternalportrelatelist": null, + "vmportrelatelist": null + }, + { + "acpowerconsumption": null, + "angle": null, + "batterybackuphoursordered": null, + "bridgedomains": null, + "builddate": "2020-02-19T12:42:05", + "cards": null, + "configuration": "", + "createuser": null, + "createuserid": 6727, + "customer": null, + "customerid": null, + "dcpowerconsumption": null, + "directionangle": null, + "domain": null, + "domainid": null, + "equipmentdefinition": null, + "equipmentdefinitionid": 6935, + "errors": null, + "extrainfo": "", + "extrainfoimportant": 0, + "fuseconsumption": null, + "hardwarebuildnumber": null, + "hardwarerevision": "", + "haserrors": false, + "heatemission": null, + "heightinrack": null, + "id": 129313, + "inservicedate": "2020-02-19T20:14:40", + "internalports": null, + "inventorystatusid": 3, + "ipaddress": "", + "iprelates": null, + "leftinrack": 0, + "managementsystem": null, + "managementsystemid": 2356, + "mplsprot": "", + "name": "MX1.LON.UK_LHCONE-L3VPN", + "networkaddress": "", + "networkmapnodeobject": null, + "networkrole": "", + "nodealiases": null, + "nodeattachments": null, + "nodecounts": null, + "order": null, + "orderid": null, + "outofservicedate": null, + "parentnode": null, + "parentnodeid": 129079, + "plmidate": null, + "ploosdate": null, + "ports": null, + "powerconsume": 0, + "rack": null, + "rackframe": null, + "rackframeid": null, + "rackid": null, + "rackside": null, + "range": null, + "ratebatterybackup": null, + "ratedieselgeneratorbackup": null, + "ratevolume": null, + "reconcilenodes": null, + "relatedorders": null, + "requestor": "", + "ring": null, + "ringid": 4230, + "rowversion": "2020-02-19T20:14:40", + "sectors": null, + "serialnumber": "", + "servicecontract": "", + "shelves": null, + "shouldnotberatedacpower": null, + "shouldnotberateddcpower": null, + "shouldnotberateddiesel": null, + "shouldnotberatedvolume": null, + "site": { + "$ref": "5668" + }, + "siteid": 445244, + "sla": "", + "softwareversion": "", + "stockitem": null, + "stockitemid": null, + "subnodelist": null, + "systemaccountnoderelations": null, + "ups": null, + "upsinfo": "", + "variant": "", + "vminternalportrelatelist": null, + "vmportrelatelist": null + }, + { + "acpowerconsumption": null, + "angle": null, + "batterybackuphoursordered": null, + "bridgedomains": null, + "builddate": "2020-02-19T12:41:17", + "cards": null, + "configuration": "", + "createuser": null, + "createuserid": 6727, + "customer": null, + "customerid": null, + "dcpowerconsumption": null, + "directionangle": null, + "domain": null, + "domainid": null, + "equipmentdefinition": null, + "equipmentdefinitionid": 6934, + "errors": null, + "extrainfo": "", + "extrainfoimportant": 0, + "fuseconsumption": null, + "hardwarebuildnumber": null, + "hardwarerevision": "", + "haserrors": false, + "heatemission": null, + "heightinrack": null, + "id": 129243, + "inservicedate": "2020-02-19T20:14:12", + "internalports": null, + "inventorystatusid": 3, + "ipaddress": "", + "iprelates": null, + "leftinrack": 0, + "managementsystem": null, + "managementsystemid": 2356, + "mplsprot": "", + "name": "MX1.LON.UK_DMC20", + "networkaddress": "", + "networkmapnodeobject": null, + "networkrole": "", + "nodealiases": null, + "nodeattachments": null, + "nodecounts": null, + "order": null, + "orderid": null, + "outofservicedate": null, + "parentnode": null, + "parentnodeid": 129079, + "plmidate": null, + "ploosdate": null, + "ports": null, + "powerconsume": 0, + "rack": null, + "rackframe": null, + "rackframeid": null, + "rackid": null, + "rackside": null, + "range": null, + "ratebatterybackup": null, + "ratedieselgeneratorbackup": null, + "ratevolume": null, + "reconcilenodes": null, + "relatedorders": null, + "requestor": "", + "ring": null, + "ringid": 4230, + "rowversion": "2020-02-19T20:14:12", + "sectors": null, + "serialnumber": "", + "servicecontract": "", + "shelves": null, + "shouldnotberatedacpower": null, + "shouldnotberateddcpower": null, + "shouldnotberateddiesel": null, + "shouldnotberatedvolume": null, + "site": { + "$ref": "5668" + }, + "siteid": 445244, + "sla": "", + "softwareversion": "", + "stockitem": null, + "stockitemid": null, + "subnodelist": null, + "systemaccountnoderelations": null, + "ups": null, + "upsinfo": "", + "variant": "", + "vminternalportrelatelist": null, + "vmportrelatelist": null + }, + { + "acpowerconsumption": null, + "angle": null, + "batterybackuphoursordered": null, + "bridgedomains": null, + "builddate": "2020-02-19T12:42:25", + "cards": null, + "configuration": "", + "createuser": null, + "createuserid": 6727, + "customer": null, + "customerid": null, + "dcpowerconsumption": null, + "directionangle": null, + "domain": null, + "domainid": null, + "equipmentdefinition": null, + "equipmentdefinitionid": 6935, + "errors": null, + "extrainfo": "", + "extrainfoimportant": 0, + "fuseconsumption": null, + "hardwarebuildnumber": null, + "hardwarerevision": "", + "haserrors": false, + "heatemission": null, + "heightinrack": null, + "id": 129341, + "inservicedate": "2020-02-19T20:14:41", + "internalports": null, + "inventorystatusid": 3, + "ipaddress": "", + "iprelates": null, + "leftinrack": 0, + "managementsystem": null, + "managementsystemid": 2356, + "mplsprot": "", + "name": "MX1.LON.UK_MGMT-L3VPN", + "networkaddress": "", + "networkmapnodeobject": null, + "networkrole": "", + "nodealiases": null, + "nodeattachments": null, + "nodecounts": null, + "order": null, + "orderid": null, + "outofservicedate": null, + "parentnode": null, + "parentnodeid": 129079, + "plmidate": null, + "ploosdate": null, + "ports": null, + "powerconsume": 0, + "rack": null, + "rackframe": null, + "rackframeid": null, + "rackid": null, + "rackside": null, + "range": null, + "ratebatterybackup": null, + "ratedieselgeneratorbackup": null, + "ratevolume": null, + "reconcilenodes": null, + "relatedorders": null, + "requestor": "", + "ring": null, + "ringid": 4230, + "rowversion": "2020-02-19T20:14:41", + "sectors": null, + "serialnumber": "", + "servicecontract": "", + "shelves": null, + "shouldnotberatedacpower": null, + "shouldnotberateddcpower": null, + "shouldnotberateddiesel": null, + "shouldnotberatedvolume": null, + "site": { + "$ref": "5668" + }, + "siteid": 445244, + "sla": "", + "softwareversion": "", + "stockitem": null, + "stockitemid": null, + "subnodelist": null, + "systemaccountnoderelations": null, + "ups": null, + "upsinfo": "", + "variant": "", + "vminternalportrelatelist": null, + "vmportrelatelist": null + }, + { + "acpowerconsumption": null, + "angle": null, + "batterybackuphoursordered": null, + "bridgedomains": null, + "builddate": "2020-02-19T12:42:35", + "cards": null, + "configuration": "", + "createuser": null, + "createuserid": 6727, + "customer": null, + "customerid": null, + "dcpowerconsumption": null, + "directionangle": null, + "domain": null, + "domainid": null, + "equipmentdefinition": null, + "equipmentdefinitionid": 6935, + "errors": null, + "extrainfo": "", + "extrainfoimportant": 0, + "fuseconsumption": null, + "hardwarebuildnumber": null, + "hardwarerevision": "", + "haserrors": false, + "heatemission": null, + "heightinrack": null, + "id": 129355, + "inservicedate": "2020-02-19T20:14:27", + "internalports": null, + "inventorystatusid": 3, + "ipaddress": "", + "iprelates": null, + "leftinrack": 0, + "managementsystem": null, + "managementsystemid": 2356, + "mplsprot": "", + "name": "MX1.LON.UK_IAS", + "networkaddress": "", + "networkmapnodeobject": null, + "networkrole": "", + "nodealiases": null, + "nodeattachments": null, + "nodecounts": null, + "order": null, + "orderid": null, + "outofservicedate": null, + "parentnode": null, + "parentnodeid": 129079, + "plmidate": null, + "ploosdate": null, + "ports": null, + "powerconsume": 0, + "rack": null, + "rackframe": null, + "rackframeid": null, + "rackid": null, + "rackside": null, + "range": null, + "ratebatterybackup": null, + "ratedieselgeneratorbackup": null, + "ratevolume": null, + "reconcilenodes": null, + "relatedorders": null, + "requestor": "", + "ring": null, + "ringid": 4230, + "rowversion": "2020-02-19T20:14:27", + "sectors": null, + "serialnumber": "", + "servicecontract": "", + "shelves": null, + "shouldnotberatedacpower": null, + "shouldnotberateddcpower": null, + "shouldnotberateddiesel": null, + "shouldnotberatedvolume": null, + "site": { + "$ref": "5668" + }, + "siteid": 445244, + "sla": "", + "softwareversion": "", + "stockitem": null, + "stockitemid": null, + "subnodelist": null, + "systemaccountnoderelations": null, + "ups": null, + "upsinfo": "", + "variant": "", + "vminternalportrelatelist": null, + "vmportrelatelist": null + }, + { + "acpowerconsumption": null, + "angle": null, + "batterybackuphoursordered": null, + "bridgedomains": null, + "builddate": "2020-02-21T19:37:33", + "cards": null, + "configuration": "", + "createuser": null, + "createuserid": 8317, + "customer": null, + "customerid": 57640, + "dcpowerconsumption": null, + "directionangle": null, + "domain": null, + "domainid": null, + "equipmentdefinition": null, + "equipmentdefinitionid": 7055, + "errors": null, + "extrainfo": "", + "extrainfoimportant": 0, + "fuseconsumption": null, + "hardwarebuildnumber": null, + "hardwarerevision": "", + "haserrors": false, + "heatemission": null, + "heightinrack": null, + "id": 129467, + "inservicedate": "2020-02-21T19:37:33", + "internalports": null, + "inventorystatusid": 3, + "ipaddress": "", + "iprelates": null, + "leftinrack": 0, + "managementsystem": null, + "managementsystemid": 461, + "mplsprot": "", + "name": "INFINERADNA.LON.UK.GEANT.NET", + "networkaddress": "", + "networkmapnodeobject": null, + "networkrole": "", + "nodealiases": null, + "nodeattachments": null, + "nodecounts": null, + "order": null, + "orderid": null, + "outofservicedate": null, + "parentnode": null, + "parentnodeid": null, + "plmidate": null, + "ploosdate": null, + "ports": null, + "powerconsume": 0, + "rack": null, + "rackframe": null, + "rackframeid": null, + "rackid": 113260, + "rackside": 0, + "range": null, + "ratebatterybackup": null, + "ratedieselgeneratorbackup": null, + "ratevolume": null, + "reconcilenodes": null, + "relatedorders": null, + "requestor": "", + "ring": null, + "ringid": 4230, + "rowversion": "2020-02-21T19:37:34", + "sectors": null, + "serialnumber": "6QZ5LY1", + "servicecontract": "", + "shelves": null, + "shouldnotberatedacpower": null, + "shouldnotberateddcpower": null, + "shouldnotberateddiesel": null, + "shouldnotberatedvolume": null, + "site": { + "$ref": "5668" + }, + "siteid": 445244, + "sla": "", + "softwareversion": "", + "stockitem": null, + "stockitemid": null, + "subnodelist": null, + "systemaccountnoderelations": null, + "ups": null, + "upsinfo": "", + "variant": "", + "vminternalportrelatelist": null, + "vmportrelatelist": null + }, + { + "acpowerconsumption": null, + "angle": null, + "batterybackuphoursordered": null, + "bridgedomains": null, + "builddate": "2020-02-21T19:43:24", + "cards": null, + "configuration": "", + "createuser": null, + "createuserid": 8317, + "customer": null, + "customerid": 57640, + "dcpowerconsumption": null, + "directionangle": null, + "domain": null, + "domainid": null, + "equipmentdefinition": null, + "equipmentdefinitionid": 7065, + "errors": null, + "extrainfo": "", + "extrainfoimportant": 0, + "fuseconsumption": null, + "hardwarebuildnumber": null, + "hardwarerevision": "", + "haserrors": false, + "heatemission": null, + "heightinrack": null, + "id": 129517, + "inservicedate": "2020-02-21T19:43:24", + "internalports": null, + "inventorystatusid": 3, + "ipaddress": "", + "iprelates": null, + "leftinrack": 0, + "managementsystem": null, + "managementsystemid": 461, + "mplsprot": "", + "name": "PSMP.LON.UK.GEANT2.NET", + "networkaddress": "", + "networkmapnodeobject": null, + "networkrole": "", + "nodealiases": null, + "nodeattachments": null, + "nodecounts": null, + "order": null, + "orderid": null, + "outofservicedate": null, + "parentnode": null, + "parentnodeid": null, + "plmidate": null, + "ploosdate": null, + "ports": null, + "powerconsume": 0, + "rack": null, + "rackframe": null, + "rackframeid": null, + "rackid": 113260, + "rackside": 0, + "range": null, + "ratebatterybackup": null, + "ratedieselgeneratorbackup": null, + "ratevolume": null, + "reconcilenodes": null, + "relatedorders": null, + "requestor": "", + "ring": null, + "ringid": 4230, + "rowversion": "2020-02-21T19:43:24", + "sectors": null, + "serialnumber": "CZGXH5J", + "servicecontract": "", + "shelves": null, + "shouldnotberatedacpower": null, + "shouldnotberateddcpower": null, + "shouldnotberateddiesel": null, + "shouldnotberatedvolume": null, + "site": { + "$ref": "5668" + }, + "siteid": 445244, + "sla": "", + "softwareversion": "", + "stockitem": null, + "stockitemid": null, + "subnodelist": null, + "systemaccountnoderelations": null, + "ups": null, + "upsinfo": "", + "variant": "", + "vminternalportrelatelist": null, + "vmportrelatelist": null + }, + { + "acpowerconsumption": null, + "angle": null, + "batterybackuphoursordered": null, + "bridgedomains": null, + "builddate": "2020-02-21T19:39:49", + "cards": null, + "configuration": "", + "createuser": null, + "createuserid": 8317, + "customer": null, + "customerid": 57640, + "dcpowerconsumption": null, + "directionangle": null, + "domain": null, + "domainid": null, + "equipmentdefinition": null, + "equipmentdefinitionid": 7064, + "errors": null, + "extrainfo": "", + "extrainfoimportant": 0, + "fuseconsumption": null, + "hardwarebuildnumber": null, + "hardwarerevision": "", + "haserrors": false, + "heatemission": null, + "heightinrack": null, + "id": 129504, + "inservicedate": "2020-02-21T19:39:49", + "internalports": null, + "inventorystatusid": 3, + "ipaddress": "", + "iprelates": null, + "leftinrack": 0, + "managementsystem": null, + "managementsystemid": 461, + "mplsprot": "", + "name": "PSMP-LHC.LON.UK.GEANT.NET", + "networkaddress": "", + "networkmapnodeobject": null, + "networkrole": "", + "nodealiases": null, + "nodeattachments": null, + "nodecounts": null, + "order": null, + "orderid": null, + "outofservicedate": null, + "parentnode": null, + "parentnodeid": null, + "plmidate": null, + "ploosdate": null, + "ports": null, + "powerconsume": 0, + "rack": null, + "rackframe": null, + "rackframeid": null, + "rackid": 113260, + "rackside": 0, + "range": null, + "ratebatterybackup": null, + "ratedieselgeneratorbackup": null, + "ratevolume": null, + "reconcilenodes": null, + "relatedorders": null, + "requestor": "", + "ring": null, + "ringid": 4230, + "rowversion": "2020-02-21T19:39:50", + "sectors": null, + "serialnumber": "0", + "servicecontract": "", + "shelves": null, + "shouldnotberatedacpower": null, + "shouldnotberateddcpower": null, + "shouldnotberateddiesel": null, + "shouldnotberatedvolume": null, + "site": { + "$ref": "5668" + }, + "siteid": 445244, + "sla": "", + "softwareversion": "", + "stockitem": null, + "stockitemid": null, + "subnodelist": null, + "systemaccountnoderelations": null, + "ups": null, + "upsinfo": "", + "variant": "", + "vminternalportrelatelist": null, + "vmportrelatelist": null + }, + { + "acpowerconsumption": null, + "angle": null, + "batterybackuphoursordered": null, + "bridgedomains": null, + "builddate": "2020-04-24T09:20:52", + "cards": null, + "configuration": "", + "createuser": null, + "createuserid": 8337, + "customer": null, + "customerid": null, + "dcpowerconsumption": null, + "directionangle": null, + "domain": null, + "domainid": 2666, + "equipmentdefinition": null, + "equipmentdefinitionid": 6961, + "errors": null, + "extrainfo": "", + "extrainfoimportant": 0, + "fuseconsumption": null, + "hardwarebuildnumber": null, + "hardwarerevision": "V01", + "haserrors": false, + "heatemission": null, + "heightinrack": null, + "id": 129872, + "inservicedate": "2020-04-24T09:20:52", + "internalports": null, + "inventorystatusid": 3, + "ipaddress": "", + "iprelates": null, + "leftinrack": 0, + "managementsystem": null, + "managementsystemid": 2357, + "mplsprot": "", + "name": "LON-C2960", + "networkaddress": "", + "networkmapnodeobject": null, + "networkrole": "", + "nodealiases": null, + "nodeattachments": null, + "nodecounts": null, + "order": null, + "orderid": null, + "outofservicedate": null, + "parentnode": null, + "parentnodeid": null, + "plmidate": null, + "ploosdate": null, + "ports": null, + "powerconsume": 0, + "rack": null, + "rackframe": null, + "rackframeid": null, + "rackid": null, + "rackside": null, + "range": null, + "ratebatterybackup": null, + "ratedieselgeneratorbackup": null, + "ratevolume": null, + "reconcilenodes": null, + "relatedorders": null, + "requestor": "", + "ring": null, + "ringid": 4230, + "rowversion": "2020-04-24T18:12:24", + "sectors": null, + "serialnumber": "FOC1837S7AA", + "servicecontract": "", + "shelves": null, + "shouldnotberatedacpower": null, + "shouldnotberateddcpower": null, + "shouldnotberateddiesel": null, + "shouldnotberatedvolume": null, + "site": { + "$ref": "5668" + }, + "siteid": 445244, + "sla": "", + "softwareversion": "15.0(2)EX5", + "stockitem": null, + "stockitemid": null, + "subnodelist": null, + "systemaccountnoderelations": null, + "ups": null, + "upsinfo": "", + "variant": "", + "vminternalportrelatelist": null, + "vmportrelatelist": null + }, + { + "acpowerconsumption": null, + "angle": null, + "batterybackuphoursordered": null, + "bridgedomains": null, + "builddate": "2020-03-23T16:06:01", + "cards": null, + "configuration": "", + "createuser": null, + "createuserid": 8439, + "customer": null, + "customerid": 57640, + "dcpowerconsumption": null, + "directionangle": null, + "domain": null, + "domainid": null, + "equipmentdefinition": null, + "equipmentdefinitionid": 7291, + "errors": null, + "extrainfo": "", + "extrainfoimportant": 0, + "fuseconsumption": null, + "hardwarebuildnumber": null, + "hardwarerevision": "", + "haserrors": false, + "heatemission": null, + "heightinrack": null, + "id": 129831, + "inservicedate": "2020-03-23T16:06:01", + "internalports": null, + "inventorystatusid": 3, + "ipaddress": "", + "iprelates": null, + "leftinrack": 0, + "managementsystem": null, + "managementsystemid": 461, + "mplsprot": "", + "name": "INFOBLOX1.LON.UK", + "networkaddress": "", + "networkmapnodeobject": null, + "networkrole": "", + "nodealiases": null, + "nodeattachments": null, + "nodecounts": null, + "order": null, + "orderid": null, + "outofservicedate": null, + "parentnode": null, + "parentnodeid": null, + "plmidate": null, + "ploosdate": null, + "ports": null, + "powerconsume": 0, + "rack": null, + "rackframe": null, + "rackframeid": null, + "rackid": null, + "rackside": null, + "range": null, + "ratebatterybackup": null, + "ratedieselgeneratorbackup": null, + "ratevolume": null, + "reconcilenodes": null, + "relatedorders": null, + "requestor": "", + "ring": null, + "ringid": 4230, + "rowversion": "2020-04-29T14:31:42", + "sectors": null, + "serialnumber": "800201412100172", + "servicecontract": "", + "shelves": null, + "shouldnotberatedacpower": 0, + "shouldnotberateddcpower": 0, + "shouldnotberateddiesel": 0, + "shouldnotberatedvolume": 0, + "site": { + "$ref": "5668" + }, + "siteid": 445244, + "sla": "", + "softwareversion": "", + "stockitem": null, + "stockitemid": null, + "subnodelist": null, + "systemaccountnoderelations": null, + "ups": null, + "upsinfo": "", + "variant": "", + "vminternalportrelatelist": null, + "vmportrelatelist": null + }, + { + "acpowerconsumption": null, + "angle": null, + "batterybackuphoursordered": null, + "bridgedomains": null, + "builddate": "2020-05-05T10:40:44", + "cards": null, + "configuration": "", + "createuser": null, + "createuserid": 8452, + "customer": null, + "customerid": null, + "dcpowerconsumption": null, + "directionangle": null, + "domain": null, + "domainid": null, + "equipmentdefinition": null, + "equipmentdefinitionid": 7294, + "errors": null, + "extrainfo": "", + "extrainfoimportant": 0, + "fuseconsumption": null, + "hardwarebuildnumber": null, + "hardwarerevision": "", + "haserrors": false, + "heatemission": null, + "heightinrack": null, + "id": 129898, + "inservicedate": "2020-05-05T10:40:44", + "internalports": null, + "inventorystatusid": 3, + "ipaddress": "", + "iprelates": null, + "leftinrack": 0, + "managementsystem": null, + "managementsystemid": 461, + "mplsprot": "", + "name": "LON.EQUINIX.OOB.ACCESS.ROUTER", + "networkaddress": "", + "networkmapnodeobject": null, + "networkrole": "", + "nodealiases": null, + "nodeattachments": null, + "nodecounts": null, + "order": null, + "orderid": null, + "outofservicedate": null, + "parentnode": null, + "parentnodeid": null, + "plmidate": null, + "ploosdate": null, + "ports": null, + "powerconsume": 0, + "rack": null, + "rackframe": null, + "rackframeid": null, + "rackid": null, + "rackside": 0, + "range": null, + "ratebatterybackup": null, + "ratedieselgeneratorbackup": null, + "ratevolume": null, + "reconcilenodes": null, + "relatedorders": null, + "requestor": "", + "ring": null, + "ringid": 4230, + "rowversion": "2020-05-05T10:40:45", + "sectors": null, + "serialnumber": "", + "servicecontract": "", + "shelves": null, + "shouldnotberatedacpower": null, + "shouldnotberateddcpower": null, + "shouldnotberateddiesel": null, + "shouldnotberatedvolume": null, + "site": { + "$ref": "5668" + }, + "siteid": 445244, + "sla": "", + "softwareversion": "", + "stockitem": null, + "stockitemid": null, + "subnodelist": null, + "systemaccountnoderelations": null, + "ups": null, + "upsinfo": "", + "variant": "", + "vminternalportrelatelist": null, + "vmportrelatelist": null + }, + { + "acpowerconsumption": null, + "angle": null, + "batterybackuphoursordered": null, + "bridgedomains": null, + "builddate": "2020-03-25T23:13:45", + "cards": null, + "configuration": "", + "createuser": null, + "createuserid": 8439, + "customer": null, + "customerid": 57640, + "dcpowerconsumption": null, + "directionangle": null, + "domain": null, + "domainid": null, + "equipmentdefinition": null, + "equipmentdefinitionid": 7055, + "errors": null, + "extrainfo": "", + "extrainfoimportant": 0, + "fuseconsumption": null, + "hardwarebuildnumber": null, + "hardwarerevision": "", + "haserrors": false, + "heatemission": null, + "heightinrack": null, + "id": 129855, + "inservicedate": "2020-03-25T23:13:45", + "internalports": null, + "inventorystatusid": 3, + "ipaddress": "", + "iprelates": null, + "leftinrack": 0, + "managementsystem": null, + "managementsystemid": 461, + "mplsprot": "", + "name": "VMSPACE02.LON.UK", + "networkaddress": "", + "networkmapnodeobject": null, + "networkrole": "", + "nodealiases": null, + "nodeattachments": null, + "nodecounts": null, + "order": null, + "orderid": null, + "outofservicedate": null, + "parentnode": null, + "parentnodeid": null, + "plmidate": null, + "ploosdate": null, + "ports": null, + "powerconsume": 0, + "rack": null, + "rackframe": null, + "rackframeid": null, + "rackid": 113260, + "rackside": 0, + "range": null, + "ratebatterybackup": null, + "ratedieselgeneratorbackup": null, + "ratevolume": null, + "reconcilenodes": null, + "relatedorders": null, + "requestor": "", + "ring": null, + "ringid": 4230, + "rowversion": "2020-04-20T20:49:49", + "sectors": null, + "serialnumber": "", + "servicecontract": "", + "shelves": null, + "shouldnotberatedacpower": null, + "shouldnotberateddcpower": null, + "shouldnotberateddiesel": null, + "shouldnotberatedvolume": null, + "site": { + "$ref": "5668" + }, + "siteid": 445244, + "sla": "", + "softwareversion": "", + "stockitem": null, + "stockitemid": null, + "subnodelist": null, + "systemaccountnoderelations": null, + "ups": null, + "upsinfo": "", + "variant": "", + "vminternalportrelatelist": null, + "vmportrelatelist": null + }, + { + "acpowerconsumption": null, + "angle": null, + "batterybackuphoursordered": null, + "bridgedomains": null, + "builddate": "2020-03-23T16:06:32", + "cards": null, + "configuration": "", + "createuser": null, + "createuserid": 8439, + "customer": null, + "customerid": 57640, + "dcpowerconsumption": null, + "directionangle": null, + "domain": null, + "domainid": null, + "equipmentdefinition": null, + "equipmentdefinitionid": 7291, + "errors": null, + "extrainfo": "", + "extrainfoimportant": 0, + "fuseconsumption": null, + "hardwarebuildnumber": null, + "hardwarerevision": "", + "haserrors": false, + "heatemission": null, + "heightinrack": null, + "id": 129832, + "inservicedate": "2020-03-23T16:06:32", + "internalports": null, + "inventorystatusid": 3, + "ipaddress": "", + "iprelates": null, + "leftinrack": 0, + "managementsystem": null, + "managementsystemid": 461, + "mplsprot": "", + "name": "INFOBLOX2.LON.UK", + "networkaddress": "", + "networkmapnodeobject": null, + "networkrole": "", + "nodealiases": null, + "nodeattachments": null, + "nodecounts": null, + "order": null, + "orderid": null, + "outofservicedate": null, + "parentnode": null, + "parentnodeid": null, + "plmidate": null, + "ploosdate": null, + "ports": null, + "powerconsume": 0, + "rack": null, + "rackframe": null, + "rackframeid": null, + "rackid": 113259, + "rackside": 0, + "range": null, + "ratebatterybackup": null, + "ratedieselgeneratorbackup": null, + "ratevolume": null, + "reconcilenodes": null, + "relatedorders": null, + "requestor": "", + "ring": null, + "ringid": 4230, + "rowversion": "2020-04-29T14:33:07", + "sectors": null, + "serialnumber": "800201412100248", + "servicecontract": "", + "shelves": null, + "shouldnotberatedacpower": 0, + "shouldnotberateddcpower": 0, + "shouldnotberateddiesel": 0, + "shouldnotberatedvolume": 0, + "site": { + "$ref": "5668" + }, + "siteid": 445244, + "sla": "", + "softwareversion": "", + "stockitem": null, + "stockitemid": null, + "subnodelist": null, + "systemaccountnoderelations": null, + "ups": null, + "upsinfo": "", + "variant": "", + "vminternalportrelatelist": null, + "vmportrelatelist": null + }, + { + "acpowerconsumption": null, + "angle": null, + "batterybackuphoursordered": null, + "bridgedomains": null, + "builddate": "2020-06-03T14:09:28", + "cards": null, + "configuration": "", + "createuser": null, + "createuserid": 6727, + "customer": null, + "customerid": null, + "dcpowerconsumption": null, + "directionangle": null, + "domain": null, + "domainid": null, + "equipmentdefinition": null, + "equipmentdefinitionid": 7450, + "errors": null, + "extrainfo": "", + "extrainfoimportant": 0, + "fuseconsumption": null, + "hardwarebuildnumber": null, + "hardwarerevision": "", + "haserrors": false, + "heatemission": null, + "heightinrack": null, + "id": 129923, + "inservicedate": "2020-06-03T14:09:28", + "internalports": null, + "inventorystatusid": 3, + "ipaddress": "", + "iprelates": null, + "leftinrack": 0, + "managementsystem": null, + "managementsystemid": 461, + "mplsprot": "", + "name": "LON-AMS FILTER", + "networkaddress": "", + "networkmapnodeobject": null, + "networkrole": "", + "nodealiases": null, + "nodeattachments": null, + "nodecounts": null, + "order": null, + "orderid": null, + "outofservicedate": null, + "parentnode": null, + "parentnodeid": null, + "plmidate": null, + "ploosdate": null, + "ports": null, + "powerconsume": 0, + "rack": null, + "rackframe": null, + "rackframeid": null, + "rackid": 113260, + "rackside": 0, + "range": null, + "ratebatterybackup": null, + "ratedieselgeneratorbackup": null, + "ratevolume": null, + "reconcilenodes": null, + "relatedorders": null, + "requestor": "", + "ring": null, + "ringid": 4230, + "rowversion": "2020-06-03T14:09:29", + "sectors": null, + "serialnumber": "", + "servicecontract": "", + "shelves": null, + "shouldnotberatedacpower": null, + "shouldnotberateddcpower": null, + "shouldnotberateddiesel": null, + "shouldnotberatedvolume": null, + "site": { + "$ref": "5668" + }, + "siteid": 445244, + "sla": "", + "softwareversion": "", + "stockitem": null, + "stockitemid": null, + "subnodelist": null, + "systemaccountnoderelations": null, + "ups": null, + "upsinfo": "", + "variant": "", + "vminternalportrelatelist": null, + "vmportrelatelist": null + }, + { + "acpowerconsumption": null, + "angle": null, + "batterybackuphoursordered": null, + "bridgedomains": null, + "builddate": "2020-06-03T14:09:28", + "cards": null, + "configuration": "", + "createuser": null, + "createuserid": 6727, + "customer": null, + "customerid": null, + "dcpowerconsumption": null, + "directionangle": null, + "domain": null, + "domainid": null, + "equipmentdefinition": null, + "equipmentdefinitionid": 7450, + "errors": null, + "extrainfo": "", + "extrainfoimportant": 0, + "fuseconsumption": null, + "hardwarebuildnumber": null, + "hardwarerevision": "", + "haserrors": false, + "heatemission": null, + "heightinrack": null, + "id": 129924, + "inservicedate": "2020-06-03T14:09:28", + "internalports": null, + "inventorystatusid": 3, + "ipaddress": "", + "iprelates": null, + "leftinrack": 0, + "managementsystem": null, + "managementsystemid": 461, + "mplsprot": "", + "name": "LON-LON2 FILTER", + "networkaddress": "", + "networkmapnodeobject": null, + "networkrole": "", + "nodealiases": null, + "nodeattachments": null, + "nodecounts": null, + "order": null, + "orderid": null, + "outofservicedate": null, + "parentnode": null, + "parentnodeid": null, + "plmidate": null, + "ploosdate": null, + "ports": null, + "powerconsume": 0, + "rack": null, + "rackframe": null, + "rackframeid": null, + "rackid": 113260, + "rackside": 0, + "range": null, + "ratebatterybackup": null, + "ratedieselgeneratorbackup": null, + "ratevolume": null, + "reconcilenodes": null, + "relatedorders": null, + "requestor": "", + "ring": null, + "ringid": 4230, + "rowversion": "2020-06-03T14:09:29", + "sectors": null, + "serialnumber": "", + "servicecontract": "", + "shelves": null, + "shouldnotberatedacpower": null, + "shouldnotberateddcpower": null, + "shouldnotberateddiesel": null, + "shouldnotberatedvolume": null, + "site": { + "$ref": "5668" + }, + "siteid": 445244, + "sla": "", + "softwareversion": "", + "stockitem": null, + "stockitemid": null, + "subnodelist": null, + "systemaccountnoderelations": null, + "ups": null, + "upsinfo": "", + "variant": "", + "vminternalportrelatelist": null, + "vmportrelatelist": null + }, + { + "acpowerconsumption": null, + "angle": null, + "batterybackuphoursordered": null, + "bridgedomains": null, + "builddate": "2020-02-06T14:30:58", + "cards": null, + "configuration": "", + "createuser": null, + "createuserid": 8317, + "customer": null, + "customerid": 57640, + "dcpowerconsumption": null, + "directionangle": null, + "domain": null, + "domainid": null, + "equipmentdefinition": null, + "equipmentdefinitionid": 6893, + "errors": null, + "extrainfo": "", + "extrainfoimportant": 0, + "fuseconsumption": null, + "hardwarebuildnumber": null, + "hardwarerevision": "", + "haserrors": false, + "heatemission": null, + "heightinrack": null, + "id": 129013, + "inservicedate": "2020-02-06T14:30:58", + "internalports": null, + "inventorystatusid": 3, + "ipaddress": "", + "iprelates": null, + "leftinrack": 0, + "managementsystem": null, + "managementsystemid": 461, + "mplsprot": "", + "name": "SW2.LON.UK.GEANT2.NET", + "networkaddress": "", + "networkmapnodeobject": null, + "networkrole": "", + "nodealiases": null, + "nodeattachments": null, + "nodecounts": null, + "order": null, + "orderid": null, + "outofservicedate": null, + "parentnode": null, + "parentnodeid": null, + "plmidate": null, + "ploosdate": null, + "ports": null, + "powerconsume": 0, + "rack": null, + "rackframe": null, + "rackframeid": null, + "rackid": 113259, + "rackside": 0, + "range": null, + "ratebatterybackup": null, + "ratedieselgeneratorbackup": null, + "ratevolume": null, + "reconcilenodes": null, + "relatedorders": null, + "requestor": "", + "ring": null, + "ringid": 4230, + "rowversion": "2020-02-06T14:30:58", + "sectors": null, + "serialnumber": "", + "servicecontract": "", + "shelves": null, + "shouldnotberatedacpower": null, + "shouldnotberateddcpower": null, + "shouldnotberateddiesel": null, + "shouldnotberatedvolume": null, + "site": { + "$ref": "5668" + }, + "siteid": 445244, + "sla": "", + "softwareversion": "", + "stockitem": null, + "stockitemid": null, + "subnodelist": null, + "systemaccountnoderelations": null, + "ups": null, + "upsinfo": "", + "variant": "", + "vminternalportrelatelist": null, + "vmportrelatelist": null + } + ], + "oldports": null, + "outofservicedate": null, + "parentsite": null, + "parentsiteid": null, + "phonenumber": "", + "polygons": null, + "ports": null, + "racks": null, + "reconcilesites": null, + "relatedorders": null, + "room": "SUITE 2J", + "rowversion": "2020-02-20T10:50:17", + "shelves": null, + "siteaccesscontrols": null, + "sitealiases": [ + { + "$id": "5670", + "aliasname": "LON", + "description": "", + "errors": null, + "haserrors": false, + "id": 3305, + "originator": "", + "rowversion": "2020-02-03T17:34:49", + "site": { + "$ref": "5668" + }, + "siteid": 445244 + } + ], + "sitealiasesgrouped": null, + "siteattachments": null, + "sitecounts": null, + "sitedomains": null, + "sitename": "IBX LD8", + "siterelatedcontacts": null, + "sitetemplate": null, + "sitetemplateid": null, + "sitetype": null, + "sitetypeid": 52, + "slacks": null, + "street": "HARBOUR EXCHANGE", + "subsites": null, + "towers": null, + "turbulenceintensity": null, + "vendor": null, + "vendorid": 2600, + "zipcode": "E14 9GE", + "zpos": null + } +] \ No newline at end of file diff --git a/test/test_ims_data.py b/test/test_ims_data.py index 7ce58da719a559c0867e54b9cf4a4dfa8b541607..da62b3e0e80ad6e5af7cc54537488e67580e5b40 100644 --- a/test/test_ims_data.py +++ b/test/test_ims_data.py @@ -2,9 +2,9 @@ import json import inventory_provider from inventory_provider.db.ims import InventoryStatus -from inventory_provider.db.ims_data import lookup_pop_info, \ - lookup_lg_routers, otrs_get_customer_company_rows, \ - otrs_get_customer_users_rows +from inventory_provider.db.ims_data import lookup_lg_routers, \ + otrs_get_customer_company_rows, \ + otrs_get_customer_users_rows, get_node_locations, IMS_OPSDB_STATUS_MAP def test_lookup_lg_routers(mocker): @@ -59,32 +59,28 @@ def test_lookup_lg_routers(mocker): } -def test_lookup_pop_info(mocker): - +def test_get_node_location(mocker): ims = mocker.patch('inventory_provider.db.ims.IMS') - with open('test/data/ims_pop_info_mx1_pra_cz.json') as data: + with open('test/data/ims_nodes_data.json') as data: resp_data = json.load(data) - ims.return_value.get_entity_by_name.return_value = resp_data['router'] - ims.return_value.get_entity_by_id.return_value = resp_data['site'] + ims.return_value.get_all_entities.return_value = resp_data ds = inventory_provider.db.ims.IMS( 'dummy_base', 'dummy_username', 'dummy_password') - res = lookup_pop_info(ds, 'dummy_host') - ds.get_entity_by_name.assert_called_once_with('Node', 'dummy_host') - ds.get_entity_by_id.assert_called_once_with( - 'Site', 445312, [2, 64, 256], True) - assert res == { - 'equipment-name': 'MX1.PRA.CZ', - 'status': InventoryStatus.IN_SERVICE.name, + res = list(get_node_locations(ds)) + assert len(res) == 35 + assert res[0] == ('LON3_CX_01', { + 'equipment-name': 'LON3_CX_01', + 'status': IMS_OPSDB_STATUS_MAP[InventoryStatus.IN_SERVICE], 'pop': { - 'name': 'PRAGUE', - 'city': 'PRAGUE', - 'country': 'CZECH REPUBLIC', - 'abbreviation': 'PRA', - 'longitude': 14.39166667, - 'latitude': 50.10166667, + 'name': 'LONDON 3 POWERGATE', + 'city': 'LONDON', + 'country': 'UNITED KINGDOM', + 'abbreviation': 'LON3', + 'longitude': -0.257712, + 'latitude': 51.5308142, } - } + }) def test_otrs_get_customer_company_rows(mocker):