Hello all,

 I am a newbie to OpenDaylight. I am going to configure an interface through 
the RESTAPI. Here it is my following API:

http://localhost:8181/restconf/operations/network-topology:network-topology/topology/topology-netconf/node/new-netconf-device/yang-ext:mount/ietf-netconf:edit-config

And here it is my xml body:


<input xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
<target>
<running/>
</target>
<config>
<interfaces xmlns="urn:ietf:params:xml:ns:yang:ietf-interfaces">
<interface>
    <name>host-vpp1out</name>
    <description>Ethernet</description>
    <type 
xmlns:ianaift="urn:ietf:params:xml:ns:yang:iana-if-type">ianaift:ethernetCsmacd</type>
    <ipv4 xmlns="urn:ietf:params:xml:ns:yang:ietf-ip">
    <enabled>true</enabled>
      <address>
        <ip>172.16.137.165</ip>
        <prefix-length>24</prefix-length>
      </address>
    </ipv4>
  </interface>
</interfaces>
</config>
</input>

I receive an error from netopeer2-server in which Request could not be 
completed because the requested operation is not supported by this 
implementation.

Thank you,
Kind Regards,
_______________________________________________
Discuss mailing list
[email protected]
https://lists.opendaylight.org/mailman/listinfo/discuss

Reply via email to