Uploaded image for project: 'controller'
  1. controller
  2. CONTROLLER-214

problem to use slashes as identifier behind mount point

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Resolution: Done
    • None
    • None
    • restconf
    • None
    • Operating System: Mac OS
      Platform: PC

    • 524

    Description

      Email from Giles Heron:

      I'm trying to do a GET on a RESTCONF URL in ODL.

      if I go to e.g. http://172.23.29.120:8080/restconf/config/opendaylight-inventory:nodes/node/xrvr-a/yang-ext:mount/Cisco-IOS-XR-ifmgr-cfg:interface-configurations/interface-configuration/act/Loopback0 then it works ok.

      But if I want to get the config of a GigE interface, e.g. GigabitEthernet0/0/0/0 I hit a problem.

      I've tried to use %2F instead of the "/". so I do a get on:

      http://172.23.29.120:8080/restconf/config/opendaylight-inventory:nodes/node/xrvr-a/yang-ext:mount/Cisco-IOS-XR-ifmgr-cfg:interface-configurations/interface-configuration/act/GigabitEthernet0%2F0%2F0%2F0

      I get no response from ODL. And no error log either.

      If I deliberately put a non-existent interface in I'll get "No data exists" if the interface name (e.g. "Loopback4") is feasible or an HTTP 500 error if it isn't (e.g. "foo").

      am I doing something wrong? Or is this a bug?

      Attachments

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

        Activity

          People

            Unassigned Unassigned
            jgloncak Jozef Gloncak
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: