Uploaded image for project: 'transportpce'
  1. transportpce
  2. TRNSPRTPCE-594

AvailFreqMaps is reset when netconf connection lost and restored

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Medium Medium
    • None
    • None
    • None
    • None

      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"
              }
      

            Unassigned Unassigned
            ojnas Jonas Mårtensson
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: