cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Announcements

Community Helping Community

144
Views
0
Helpful
0
Replies
Highlighted
Cisco Employee

Read NETCONF RPC Additional Attributes

Hi,

 

Is it possible to add additional attributes in a NETCONF RPC request in addition to message-id?

 

See the following example:

<rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="1" some-attribute="0001">

 

Looking at the NETCONF RFC it appears that it should be possible to add arbitrary attributes with the <rpc> element.

       <xs:attribute name="message-id" type="messageIdType"
                     use="required"/>
       <!--
          Arbitrary attributes can be supplied with <rpc> element.
         -->

If so, how can these values be retrieved in a (Java) service?