[TRNSPRTPCE-594] AvailFreqMaps is reset when netconf connection lost and restored Created: 28/Jan/22  Updated: 12/Sep/22

Status: Open
Project: transportpce
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Medium
Reporter: Jonas Mårtensson Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

When the netconf session between TransportPCE and a device goes down (e.g. because someone pulls a cable) and then it comes up again, the node is re-created in the openroadm topology. For a ROADM node, this means that the available frequencies bitmaps for both degrees and SRGs are reset so that all frequencies are available (because that is how it's initialized in createDegree and createSrg in OpenRoadmTopology.java). This means that the PCE may allocate spectrum for a new service that is already used by an existing service.

I have verified this for a simple topology with two nodes, A and B, by:

1) create a service between A and B

2) disconnect both A and B from TransportPCE

3) reconnect both A and B

4) create another service between A and B

The new service is allocated the same spectrum, disrupting the first service. Here is what the SRG for node A looks like in the the openroadm topology after these steps. Note that the same frequency is used on both PP1 and PP2, which should not be possible:

{
            "node-id": "ROADM-A1-SRG1",
            "org-openroadm-network-topology:srg-attributes": {
                "avail-freq-maps": [
                    {
                        "map-name": "cband",
                        "effective-bits": 768,
                        "freq-map": "//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////8A",
                        "start-edge-freq": 191.325,
                        "freq-map-granularity": 6.25
                    }
                ]
            },
            "ietf-network-topology:termination-point": [
                {
                    "tp-id": "SRG1-PP4-TXRX",
                    "org-openroadm-common-network:operational-state": "inService",
                    "org-openroadm-common-network:tp-type": "SRG-TXRX-PP",
                    "org-openroadm-common-network:administrative-state": "inService"
                },
                {
                    "tp-id": "SRG1-PP1-TXRX",
                    "org-openroadm-common-network:operational-state": "inService",
                    "org-openroadm-common-network:tp-type": "SRG-TXRX-PP",
                    "org-openroadm-common-network:administrative-state": "inService",
                    "org-openroadm-network-topology:pp-attributes": {
                        "avail-freq-maps": [
                            {
                                "map-name": "cband",
                                "effective-bits": 768,
                                "freq-map": "//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////8A",
                                "start-edge-freq": 191.325,
                                "freq-map-granularity": 6.25
                            }
                        ]
                    }
                },
                {
                    "tp-id": "SRG1-PP2-TXRX",
                    "org-openroadm-common-network:operational-state": "inService",
                    "org-openroadm-common-network:tp-type": "SRG-TXRX-PP",
                    "org-openroadm-common-network:administrative-state": "inService",
                    "org-openroadm-network-topology:pp-attributes": {
                        "avail-freq-maps": [
                            {
                                "map-name": "cband",
                                "effective-bits": 768,
                                "freq-map": "//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////8A",
                                "start-edge-freq": 191.325,
                                "freq-map-granularity": 6.25
                            }
                        ]
                    }
                },
                {
                    "tp-id": "SRG1-PP3-TXRX",
                    "org-openroadm-common-network:operational-state": "inService",
                    "org-openroadm-common-network:tp-type": "SRG-TXRX-PP",
                    "org-openroadm-common-network:administrative-state": "inService"
                },
                {
                    "tp-id": "SRG1-CP-TXRX",
                    "org-openroadm-common-network:operational-state": "inService",
                    "org-openroadm-common-network:tp-type": "SRG-TXRX-CP",
                    "org-openroadm-common-network:administrative-state": "inService",
                    "org-openroadm-network-topology:cp-attributes": {
                        "avail-freq-maps": [
                            {
                                "map-name": "cband",
                                "effective-bits": 768,
                                "freq-map": "//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////8A",
                                "start-edge-freq": 191.325,
                                "freq-map-granularity": 6.25
                            }
                        ]
                    }
                }
            ],
            "supporting-node": [
                {
                    "network-ref": "openroadm-network",
                    "node-ref": "ROADM-A1"
                },
                {
                    "network-ref": "clli-network",
                    "node-ref": "NodeA"
                }
            ],
            "org-openroadm-common-network:operational-state": "inService",
            "org-openroadm-common-network:node-type": "SRG",
            "org-openroadm-common-network:administrative-state": "inService"
        }

Generated at Wed Feb 07 20:43:30 UTC 2024 using Jira 8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d.