[OOR-Users] [OOR-users] How to do dynamic eid registration using LISP netconf interface
Nagesh L
laginagesh at gmail.com
Wed Dec 14 14:38:13 CET 2016
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 <alopez at 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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openoverlayrouter.org/pipermail/users/attachments/20161214/7ebf9132/attachment.html>
More information about the Users
mailing list