[OOR-Users] [OOR-users] How to do dynamic eid registration using LISP netconf interface
Nagesh L
laginagesh at gmail.com
Wed Dec 14 09:47:01 CET 2016
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/d78bb141/attachment.html>
-------------- next part --------------
<etr-cfg xmlns="urn:ietf:params:xml:ns:yang:lispsimple">
<map-servers>
<map-server>
<address>1.1.1.100</address>
<auth-key>test</auth-key>
<auth-key-type>hmac-sha-1-96</auth-key-type>
</map-server>
<proxy-reply>true</proxy-reply>
</map-servers>
<local-eids>
<local-eid>
<id>eid1</id>
<eid-address>
<afi>ipv4</afi>
<instance-id>0</instance-id>
<ipv4>4.4.4.0</ipv4>
<mask>24</mask>
</eid-address>
<rlocs>
<rloc>
<name>rloc1</name>
<interface>eth2</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-eid>
<id>eid2</id>
<eid-address>
<afi>ipv4</afi>
<instance-id>0</instance-id>
<ipv4>5.5.5.5</ipv4>
<mask>32</mask>
</eid-address>
<rlocs>
<rloc>
<name>rloc1</name>
<interface>eth2</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><netopeer xmlns="urn:cesnet:tmc:netopeer:1.0">
<modules>
<module>
<name>lispsimple</name>
<enabled>true</enabled>
</module>
</modules>
</netopeer><nacm xmlns="urn:ietf:params:xml:ns:yang:ietf-netconf-acm">
<rule-list>
<name>almighty</name>
<group>almighty</group>
<rule>
<name>almighty</name>
<module-name>*</module-name>
<access-operations>*</access-operations>
<action>permit</action>
</rule>
</rule-list>
<groups>
<group>
<name>almighty</name>
<user-name>root</user-name>
<user-name>test</user-name>
</group>
</groups>
<enable-nacm>false</enable-nacm>
<write-default>permit</write-default>
</nacm>
More information about the Users
mailing list