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

Enable to Edit parser using POST

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Resolution: Duplicate
    • None
    • None
    • netconf
    • None
    • Operating System: Windows
      Platform: PC

    • 1755

    Description

      Steps

      ODL was connected to XRVR and a netonf session setup and we tried to edit config of attached device

      URL

      config/opendaylight-inventory:nodes/node/controller-config_xrvr/yang-ext:mount/Cisco-IOS-XR-parser-cfg:parser

      METHOD == POST

      PAYLOAD

      <parser xmlns="http://cisco.com/ns/yang/Cisco-IOS-XR-parser-cfg">
      <alias>
      <commands>
      <command>
      <alias-name>
      Dusan
      </alias-name>
      <command>
      show all youcaneat
      </command>
      </command>
      </commands>
      </alias>
      </parser>

      RESULT

      <?xml version="1.0" encoding="UTF-8" standalone="no"?>
      <errors xmlns="urn:ietf:params:xml:ns:yang:ietf-restconf">
      <error>
      <error-type>protocol</error-type>
      <error-tag>invalid-value</error-tag>
      <error-message>Data schema node was not found for parser</error-message>
      </error>
      </errors>

      From log , not as much as I expected actually

      08 14:10:02.082 PDT [http-bio-8080-exec-3] ERROR o.o.y.y.d.i.c.xml.XmlStreamUtils - Failed to find codec for type (urn:ietf:params:xml:ns:yang:1)leafref [xpath=/config:services/config:service[config:type=current()/../type]/config:instance/config:name], falling back to using stream
      2014-09-

      Version

      org.opendaylight.controller.version = 0.1
      org.opendaylight.controller.build.scm.version = a383b6b25de528a456a909ebdeaf5d4d2cfe1415
      org.opendaylight.controller.build.user = jenkins-controller
      org.opendaylight.controller.build.workspace = **********
      org.opendaylight.controller.build.timestamp = 1410205377028
      org.opendaylight.controller.build.machine = **********

      Attachments

        Issue Links

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

          Activity

            People

              Unassigned Unassigned
              ricjhill@gmail.com RichardHill
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: