<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">Hi Nagesh,<br>
<br>
We use the default-operation replace of yang. When we receive the
message, we remove the database an create it again.<br>
<br>
Best regards<br>
<br>
Albert <br>
<br>
<rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0"
message-id="10"><br>
<edit-config><br>
<target><br>
<running/><br>
</target><br>
<b><default-operation>replace</default-operation></b><br>
<config><br>
<etr-cfg
xmlns="urn:ietf:params:xml:ns:yang:lispsimple"><br>
<local-eids><br>
<local-eid><br>
<id>eid1</id><br>
<eid-address><br>
<afi>ipv4</afi><br>
<instance-id>0</instance-id><br>
<ipv4>2.2.2.0</ipv4><br>
<mask>24</mask><br>
</eid-address><br>
<rlocs><br>
<rloc><br>
<name>rloc1</name><br>
<interface>eth1</interface><br>
<priority>1</priority><br>
<weight>50</weight><br>
<multicast-priority>255</multicast-priority><br>
<multicast-weight>0</multicast-weight><br>
</rloc><br>
</rlocs><br>
<record-ttl>10</record-ttl><br>
</local-eid><br>
</local-eids><br>
</etr-cfg><br>
</config><br>
</edit-config><br>
</rpc><br>
<br>
<br>
<br>
<br>
On 14/12/16 09:47, Nagesh L wrote:<br>
</div>
<blockquote
cite="mid:CAC1jk0fCPMxMSqQfuHU0LYEXOxyqhU4ZoAqXjyraGpjX3HBXRQ@mail.gmail.com"
type="cite">
<div dir="ltr">
<div>
<div>
<div>
<div>Hi Albert,<br>
<br>
</div>
Could you please share a sample netconf file for multiple
eid's addition and deletion.<br>
</div>
We tried with the attached netconf (netconf_multi_eid.txt),
it works for addtion but does not works for deletion.<br>
<br>
</div>
Thanks<br>
</div>
Nagesh<br>
<br>
</div>
</blockquote>
<pre class="moz-signature" cols="72">
</pre>
</body>
</html>