Skip to content
Snippets Groups Projects
Commit f1596bef authored by Robert Latta's avatar Robert Latta
Browse files

corrected statuses_to_be_ignored

parent 0cb70948
No related branches found
No related tags found
No related merge requests found
......@@ -23,7 +23,8 @@ IMS_OPSDB_STATUS_MAP = {
InventoryStatus.READY_FOR_CEASURE: 'disposed'
}
STATUSES_TO_IGNORE = \
[InventoryStatus.OUT_OF_SERVICE, InventoryStatus.READY_FOR_CEASURE]
[InventoryStatus.OUT_OF_SERVICE.value,
InventoryStatus.READY_FOR_CEASURE.value]
@lru_cache(64, typed=False)
......@@ -34,6 +35,8 @@ def get_service_types(ds: IMS):
yield d['selection']
# http://test-inventory-provider-ims.geant.org:8080/classifier/infinera-lambda-info/VEN-OLA1/1-A-3-L1/wibble
def get_fibre_info(ds: IMS):
# get all the wdm ots circuits where each node is in a different location
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment