[OOR-Users] [OOR-users] How to do dynamic eid registration using LISP netconf interface

Albert López alopez at ac.upc.edu
Wed Dec 14 12:50:32 CET 2016


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/a6a6acf0/attachment.html>


More information about the Users mailing list