Hi all,
I am going to send an edit-config with the following xml body
<target>
<running/>
</target>
<config>
<interfaces xmlns="urn:ietf:params:xml:ns:yang:ietf-interfaces">
<interface>
<name>eth0 </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>
<mtu>1514</mtu>
<address>
<ip>172.16.137.165</ip>
<prefix-length>24</prefix-length>
</address>
</ipv4>
<enabled>true</enabled>
</interface>
</interfaces>
</config>
The restapi that I am using is the following :
http://localhost:8181/restconf/operations/network-topology:network-topology/topology/topology-netconf/node/new-netconf-device/yang-ext:mount/ietf-netconf:edit-config
Unfortunately it is not successfull. I really appreciate if you let me know
what is my problem in the xml body.
Thanks,
_______________________________________________
Discuss mailing list
[email protected]
https://lists.opendaylight.org/mailman/listinfo/discuss