Commit d5ff9e2a authored by Lluis Gifre Renom's avatar Lluis Gifre Renom
Browse files

Fix OFC'22 descriptors to enable interfaces for monitoring

parent 2796cbeb
Loading
Loading
Loading
Loading
+17 −5
Original line number Diff line number Diff line
@@ -15,7 +15,9 @@
                {"action": 1, "custom": {"resource_key": "_connect/settings", "resource_value": {"endpoints": [
                    {"uuid": "13/0/0", "type": "optical", "sample_types": []},
                    {"uuid": "13/1/2", "type": "copper",  "sample_types": [101, 102, 201, 202]}
                ]}}}
                ]}}},
                {"action": 1, "custom": {"resource_key": "/interface[13/0/0]/settings", "resource_value": {"name": "13/0/0", "enabled": true}}},
                {"action": 1, "custom": {"resource_key": "/interface[13/1/2]/settings", "resource_value": {"name": "13/1/2", "enabled": true}}}
            ]}
        },
        {
@@ -27,7 +29,9 @@
                {"action": 1, "custom": {"resource_key": "_connect/settings", "resource_value": {"endpoints": [
                    {"uuid": "13/0/0", "type": "optical", "sample_types": []},
                    {"uuid": "13/1/2", "type": "copper",  "sample_types": [101, 102, 201, 202]}
                ]}}}
                ]}}},
                {"action": 1, "custom": {"resource_key": "/interface[13/0/0]/settings", "resource_value": {"name": "13/0/0", "enabled": true}}},
                {"action": 1, "custom": {"resource_key": "/interface[13/1/2]/settings", "resource_value": {"name": "13/1/2", "enabled": true}}}
            ]}
        },
        {
@@ -39,7 +43,9 @@
                {"action": 1, "custom": {"resource_key": "_connect/settings", "resource_value": {"endpoints": [
                    {"uuid": "13/0/0", "type": "optical", "sample_types": []},
                    {"uuid": "13/1/2", "type": "copper",  "sample_types": [101, 102, 201, 202]}
                ]}}}
                ]}}},
                {"action": 1, "custom": {"resource_key": "/interface[13/0/0]/settings", "resource_value": {"name": "13/0/0", "enabled": true}}},
                {"action": 1, "custom": {"resource_key": "/interface[13/1/2]/settings", "resource_value": {"name": "13/1/2", "enabled": true}}}
            ]}
        },
        {
@@ -51,7 +57,9 @@
                {"action": 1, "custom": {"resource_key": "_connect/settings", "resource_value": {"endpoints": [
                    {"uuid": "13/0/0", "type": "optical", "sample_types": []},
                    {"uuid": "13/1/2", "type": "copper",  "sample_types": [101, 102, 201, 202]}
                ]}}}
                ]}}},
                {"action": 1, "custom": {"resource_key": "/interface[13/0/0]/settings", "resource_value": {"name": "13/0/0", "enabled": true}}},
                {"action": 1, "custom": {"resource_key": "/interface[13/1/2]/settings", "resource_value": {"name": "13/1/2", "enabled": true}}}
            ]}
        },
        {
@@ -65,7 +73,11 @@
                    {"uuid": "eb287d83-f05e-53ec-ab5a-adf6bd2b5418", "type": "optical", "sample_types": []},
                    {"uuid": "0ef74f99-1acc-57bd-ab9d-4b958b06c513", "type": "optical", "sample_types": []},
                    {"uuid": "50296d99-58cc-5ce7-82f5-fc8ee4eec2ec", "type": "optical", "sample_types": []}
                ]}}}
                ]}}},
                {"action": 1, "custom": {"resource_key": "/interface[aade6001-f00b-5e2f-a357-6a0a9d3de870]/settings", "resource_value": {"name": "aade6001-f00b-5e2f-a357-6a0a9d3de870", "enabled": true}}},
                {"action": 1, "custom": {"resource_key": "/interface[eb287d83-f05e-53ec-ab5a-adf6bd2b5418]/settings", "resource_value": {"name": "eb287d83-f05e-53ec-ab5a-adf6bd2b5418", "enabled": true}}},
                {"action": 1, "custom": {"resource_key": "/interface[0ef74f99-1acc-57bd-ab9d-4b958b06c513]/settings", "resource_value": {"name": "0ef74f99-1acc-57bd-ab9d-4b958b06c513", "enabled": true}}},
                {"action": 1, "custom": {"resource_key": "/interface[50296d99-58cc-5ce7-82f5-fc8ee4eec2ec]/settings", "resource_value": {"name": "50296d99-58cc-5ce7-82f5-fc8ee4eec2ec", "enabled": true}}}
            ]}
        }
    ],