Uploaded image for project: 'topoprocessing'
  1. topoprocessing
  2. TOPOPROCES-25

Correlations are overwritten

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Resolution: Done
    • unspecified
    • None
    • General
    • None
    • Operating System: All
      Platform: All

    • 3586

    Description

      Topoprocessing is designed to support multiple correlations at the same time. But when we use the same name (type) of correlation in overlay topology request - we end up only with one such correlation received in TopologyRequestHandler.

      Can be tested with following input:
      <?xml version="1.0" encoding="UTF-8" standalone="no"?>
      <topology xmlns="urn:opendaylight:topology:correlation" xmlns:n="urn:TBD:params:xml:ns:yang:network-topology">
      <n:topology-id>mytopo:1</n:topology-id>
      <correlations>
      <correlation>
      <name>equality</name>
      <correlation-item>node</correlation-item>
      <equality>
      <mapping>
      <underlay-topology>mypcep:1</underlay-topology>
      <target-field>network-topology-pcep:path-computation-client/network-topology-pcep:ip-address</target-field>
      <aggregate-inside>false</aggregate-inside>
      </mapping>
      <mapping>
      <underlay-topology>mypcep:2</underlay-topology>
      <target-field>network-topology-pcep:path-computation-client/network-topology-pcep:ip-address</target-field>
      <aggregate-inside>false</aggregate-inside>
      </mapping>
      </equality>
      </correlation>
      <correlation>
      <name>equality</name>
      <correlation-item>node</correlation-item>
      <equality>
      <mapping>
      <underlay-topology>mypcep:3</underlay-topology>
      <target-field>network-topology-pcep:path-computation-client/network-topology-pcep:ip-address</target-field>
      <aggregate-inside>false</aggregate-inside>
      </mapping>
      <mapping>
      <underlay-topology>mypcep:4</underlay-topology>
      <target-field>network-topology-pcep:path-computation-client/network-topology-pcep:ip-address</target-field>
      <aggregate-inside>false</aggregate-inside>
      </mapping>
      </equality>
      </correlation>
      </correlations>
      </topology>

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            Unassigned Unassigned
            michal.polkorab@gmail.com Michal Polkorab
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: