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

Reply via email to