Commit 9274f74b authored by Mohammad Ismaeel's avatar Mohammad Ismaeel
Browse files

Openroadm endpoints descovery bugs fixed

parent b46ef290
Loading
Loading
Loading
Loading

.xml.log.swp

deleted100644 → 0
−8 KiB

File deleted.

+62 −1
Original line number Diff line number Diff line
{"1": {"optical_band_id": 1, "bidir": 0, "src": "R1", "dst": "R2", "flows": {"R1": {"f": {"in": "0", "out": "port-1-out"}, "b": {}}, "R2": {"f": {"in": "port-1-in", "out": "0"}, "b": {}}}, "band_type": "c_slots", "fiber_forward": {}, "fiber_backward": {}, "op-mode": 0, "n_slots": 16, "links": ["R1-R2"], "path": ["R1", "R2"], "band": 200000, "freq": 192106250, "is_active": false, "src_port": "port-1-out", "dst_port": "port-1-in", "rev_dst_port": "port-1-in", "rev_src_port": "port-1-out", "c_slots": {"1": 1, "2": 1, "3": 1, "4": 1, "5": 1, "6": 1, "7": 1, "8": 1, "9": 1, "10": 1, "11": 1, "12": 1, "13": 1, "14": 1, "15": 1, "16": 1}, "served_lightpaths": []}, "2": {"optical_band_id": 2, "bidir": 0, "src": "R1", "dst": "R2", "flows": {"R1": {"f": {"in": "0", "out": "port-1-out"}, "b": {}}, "R2": {"f": {"in": "port-1-in", "out": "0"}, "b": {}}}, "band_type": "c_slots", "fiber_forward": {}, "fiber_backward": {}, "op-mode": 0, "n_slots": 16, "links": ["R1-R2"], "path": ["R1", "R2"], "band": 200000, "freq": 192106250, "is_active": true, "src_port": "port-1-out", "dst_port": "port-1-in", "rev_dst_port": "port-1-in", "rev_src_port": "port-1-out", "c_slots": {"1": 0, "2": 0, "3": 0, "4": 0, "5": 0, "6": 0, "7": 0, "8": 0, "9": 0, "10": 0, "11": 0, "12": 0, "13": 0, "14": 0, "15": 0, "16": 0}, "served_lightpaths": [2, 3]}}
{
    "1": {
        "optical_band_id": 1,
        "bidir": 0,
        "src": "R1",
        "dst": "R2",
        "flows": {
            "R1": {
                "f": {
                    "in": "0",
                    "out": "101"
                },
                "b": {}
            },
            "R2": {
                "f": {
                    "in": "111",
                    "out": "0"
                },
                "b": {}
            }
        },
        "band_type": "c_slots",
        "fiber_forward": {},
        "fiber_backward": {},
        "op-mode": 0,
        "n_slots": 16,
        "links": [
            "R1-R2"
        ],
        "path": [
            "R1",
            "R2"
        ],
        "band": 200000,
        "freq": 192106250,
        "is_active": false,
        "src_port": "101",
        "dst_port": "111",
        "rev_dst_port": "111",
        "rev_src_port": "101",
        "c_slots": {
            "1": 1,
            "2": 1,
            "3": 1,
            "4": 1,
            "5": 1,
            "6": 1,
            "7": 1,
            "8": 1,
            "9": 1,
            "10": 1,
            "11": 1,
            "12": 1,
            "13": 1,
            "14": 1,
            "15": 1,
            "16": 1
        },
        "served_lightpaths": []
    }
}
 No newline at end of file

lightpath.json

0 → 100644
+63 −0
Original line number Diff line number Diff line
{
    "1": {
        "flow_id": 1,
        "src": "T1.1",
        "dst": "T2.1",
        "bitrate": 100,
        "bidir": 0,
        "flows": {
            "T1.1": {
                "f": {
                    "in": "0",
                    "out": "1"
                },
                "b": {}
            },
            "R1": {
                "f": {
                    "in": "12",
                    "out": "101"
                },
                "b": {}
            },
            "R2": {
                "f": {
                    "in": "111",
                    "out": "2"
                },
                "b": {}
            },
            "T2.1": {
                "f": {
                    "in": "6",
                    "out": "0"
                },
                "b": {}
            }
        },
        "band_type": "c_slots",
        "slots": [
            1,
            2,
            3,
            4
        ],
        "fiber_forward": {},
        "fiber_backward": {},
        "op-mode": 1,
        "n_slots": 4,
        "links": [
            "T1.1-R1",
            "R2-T2.1"
        ],
        "path": [
            "R1",
            "R2"
        ],
        "band": 50000,
        "freq": 192031250,
        "is_active": false,
        "parent_opt_band": 1,
        "new_optical_band": 1
    }
}
 No newline at end of file
+1712 −1

File changed.

Preview size limit exceeded, changes collapsed.

+1 −0
Original line number Diff line number Diff line
@@ -48,6 +48,7 @@ class DeviceTypeEnum(Enum):
    PACKET_SWITCH                   = 'packet-switch'
    XR_CONSTELLATION                = 'xr-constellation'
    QKD_NODE                        = 'qkd-node'
    OPEN_ROADM                      = 'openroadm'

    # ETSI TeraFlowSDN controller
    TERAFLOWSDN_CONTROLLER          = 'teraflowsdn'
Loading