Uploaded image for project: 'dlux'
  1. dlux
  2. DLUX-75

Yang UI Putting more than one topology id (topology list) results in error

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • unspecified
    • General
    • None
    • Operating System: All
      Platform: All

    • 5496

      Navigate to Yang UI -> API tree -> ... -> config -> network-topology -> topology

      {topology-id}

      .
      When trying to PUT more than one topology id (topology list), the application returns error "Error sending request - : Error parsing input: expected one element but was: ..." There are 2 topology ids sent to a single topology id.
      Sent data is:
      http://localhost:8181/restconf/config/network-topology:network-topology/topology/t2

      {
      "topology": [
      {
      "topology-id": "t1",
      "topology-types": {
      "l3-unicast-igp-topology:l3-unicast-igp-topology": {
      "isis-topology:isis": {},
      "ospf-topology:ospf": {}
      }
      }
      },
      {
      "topology-id": "t2",
      "topology-types": {
      "l3-unicast-igp-topology:l3-unicast-igp-topology": {
      "isis-topology:isis": {},
      "ospf-topology:ospf": {}
      }
      }
      }
      ]
      }

            malachovsky Daniel Malachovsky
            dasa.simkova@pantheon.sk Daša Šimková
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated: