Hi Nagesh,
There is no problem :-). When you are connected to the netopeer-server,
you use the command "edit-config --defop replace running" and then you
introduce the configuration (<etr-cfg xmlns ...).
Regards
Albert
On 14/12/16 14:38, Nagesh L wrote:
Hi Albert,
Sorry to ask you again, I am new to netconf.
I am not able to use the config provided by you, could you please give
the text which I can use it in edit-config running (netopeer-cli).
I have not used the below lines in my earlier config.
*<rpc xmlns="urn:ietf:params:xml:ns:**netconf:base:1.0" message-id="10">
<edit-config>
<target>
<running/>
</target>
<default-operation>replace</**default-operation>
<config>
*
Thanks
Nagesh
On Wed, Dec 14, 2016 at 5:20 PM, Albert López <alo...@ac.upc.edu
<mailto:alo...@ac.upc.edu>> wrote:
Hi Nagesh,
We use the default-operation replace of yang. When we receive the
message, we remove the database an create it again.
Best regards
Albert
<rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="10">
<edit-config>
<target>
<running/>
</target>
*<default-operation>replace</default-operation>*
<config>
<etr-cfg xmlns="urn:ietf:params:xml:ns:yang:lispsimple">
<local-eids>
<local-eid>
<id>eid1</id>
<eid-address>
<afi>ipv4</afi>
<instance-id>0</instance-id>
<ipv4>2.2.2.0</ipv4>
<mask>24</mask>
</eid-address>
<rlocs>
<rloc>
<name>rloc1</name>
<interface>eth1</interface>
<priority>1</priority>
<weight>50</weight>
<multicast-priority>255</multicast-priority>
<multicast-weight>0</multicast-weight>
</rloc>
</rlocs>
<record-ttl>10</record-ttl>
</local-eid>
</local-eids>
</etr-cfg>
</config>
</edit-config>
</rpc>
On 14/12/16 09:47, Nagesh L wrote:
Hi Albert,
Could you please share a sample netconf file for multiple eid's
addition and deletion.
We tried with the attached netconf (netconf_multi_eid.txt), it
works for addtion but does not works for deletion.
Thanks
Nagesh
_______________________________________________
Users mailing list
Users@openoverlayrouter.org
http://mail.openoverlayrouter.org/cgi-bin/mailman/listinfo/users