<div dir="ltr"><div><div>Hi Albert,<br><br>Thank you for the reply.<br><br>I have tried with the sample xml file using netopeer-cli but I am seeing the below errors.<br>NETCONF error: access-denied (application) - creating "etr-cfg" data node is not permitted.<br>Please correct me If i am doing any wrong steps.<br>Attaching config file(lisp_netconf.txt) which i have used.<br><br>netconf> get-config<br><br> Select target datastore (running|startup|candidate|url<wbr>:<dsturl>): running<br><br> Result:<br><netopeer xmlns="urn:cesnet:tmc:netopeer<wbr>:1.0"><br> <modules><br> <module><br> <name>lispsimple</name><br> <enabled>true</enabled><br> </module><br> </modules><br> </netopeer><br>netconf> edit-config running<br>NETCONF error: access-denied (application) - creating "etr-cfg" data node is not permitted.<br>netconf> copy-config running<br>NETCONF error: access-denied (application) - Access to the requested protocol operation or data model is denied because the authorization failed.<br>netconf> edit-config running<br>NETCONF error: access-denied (application) - creating "etr-cfg" data node is not permitted.<br>netconf><br><br><br></div>Thanks<br></div>Nagesh<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Nov 7, 2016 at 7:46 PM, Albert López <span dir="ltr"><<a href="mailto:alopez@ac.upc.edu" target="_blank">alopez@ac.upc.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Nagesh,<br>
<br>
I attached an xml example file that shows how to configure Map Server and EIDs of an xTR using netconf. You can send this configuration to oor using ODL but it is easy with netopeer-cli. I have never used directly ssh connection so I can not help you at this point.<br>
If you check lispsimple.yang file you could check all the parameters that can be configured at this moments. At this moment we only support edit configuration with replace so if you need to modify any parameter you will have to resend the full configuration. The map server configuration is shared for all the eids of the database.<br>
I hope this information helps you. If not, let me know.<br>
<br>
Best regards<span class="HOEnZb"><font color="#888888"><br>
<br>
Albert</font></span><div class="HOEnZb"><div class="h5"><br>
<br>
<br>
On 04/11/16 14:03, Nagesh L wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi,<br>
<br>
I am trying to do "Dynamic EID registration from XTR to MS via Netconf interface @ XTR".<br>
I followed all the steps mentioned in "lispmob/netconf/README" but i don't see sample xml file to feed EID information to XTR via netconf.<br>
<br>
Can someone provide the steps, sample xml file to feed EID information to XTR via netconf.<br>
<br>
netopeer is running:<br>
<br>
ps aux | grep netop<br>
root 524 0.0 0.1 71240 2108 ? S 11:10 0:00 sudo netopeer-server<br>
root 525 0.0 0.5 211980 10884 ? Sl 11:10 0:02 netopeer-server<br>
root 526 0.0 0.1 61384 3036 ? S 11:10 0:00 /usr/sbin/sshd -D -f //usr/local/etc/netopeer/sshd_<wbr>config.running<br>
root 4386 0.0 0.0 15944 900 pts/27 S+ 18:18 0:00 grep --color=auto netop<br>
<br>
netconf port is in listen mode:<br>
<br>
netstat -a | grep 830<br>
tcp 0 0 *:830 *:* LISTEN<br>
tcp6 0 0 [::]:830 [::]:* LISTEN<br>
<br>
LISPD is running<br>
<br>
ps aux | grep lisp<br>
root 4390 0.0 0.0 15940 900 pts/27 S+ 18:20 0:00 grep --color=auto lisp<br>
root 4780 5.8 0.1 125244 2708 pts/7 Sl Oct21 1183:01 /usr/local/sbin/lispd -f /etc/lispd.conf<br>
<br>
I am able to connect to netconf port using ssh, what is the input do i need to provide?<br>
<br>
ssh test@x.x.x.x -p 830 -s netconf<br>
test@x.x.x.x's password:<br>
<?xml version="1.0" encoding="UTF-8"?><br>
<hello xmlns="urn:ietf:params:xml:ns:<wbr>netconf:base:1.0"><br>
<capabilities><br>
<capability>urn:ietf:params:ne<wbr>tconf:base:1.0</capability><br>
<capability>urn:ietf:params:ne<wbr>tconf:base:1.1</capability><br>
<capability>urn:ietf:params:ne<wbr>tconf:capability:writable-runn<wbr>ing:1.0</capability><br>
<capability>urn:ietf:params:ne<wbr>tconf:capability:candidate:1.<wbr>0</capability><br>
<capability>urn:ietf:params:ne<wbr>tconf:capability:startup:1.0</<wbr>capability><br>
<capability>urn:ietf:params:ne<wbr>tconf:capability:rollback-on-<wbr>error:1.0</capability><br>
<capability>urn:ietf:params:ne<wbr>tconf:capability:interleave:1.<wbr>0</capability><br>
<capability>urn:ietf:params:ne<wbr>tconf:capability:notification:<wbr>1.0</capability><br>
<capability>urn:ietf:params:ne<wbr>tconf:capability:validate:1.0<<wbr>/capability><br>
<capability>urn:ietf:params:ne<wbr>tconf:capability:validate:1.1<<wbr>/capability><br>
<capability>urn:ietf:params:ne<wbr>tconf:capability:with-defaults<wbr>:1.0?basic-mode=explicit&<wbr>also-supported=report-all,<wbr>report-all-tagged,trim,<wbr>explicit</capability><br>
<capability>urn:ietf:params:ne<wbr>tconf:capability:url:1.0?schem<wbr>e=scp,file</capability><br>
<capability>urn:ietf:params:xm<wbr>l:ns:yang:lispsimple?module=li<wbr>spsimple&revision=2015-07-<wbr>02</capability><br>
<capability>urn:ietf:params:xm<wbr>l:ns:yang:iana-afn-safi?module<wbr>=iana-afn-safi&revision=<wbr>2013-07-04</capability><br>
<capability>urn:cesnet:tmc:net<wbr>opeer:1.0?module=netopeer-cfgn<wbr>etopeer&revision=2013-02-<wbr>14</capability><br>
<capability>urn:ietf:params:xm<wbr>l:ns:yang:ietf-netconf-server?<wbr>module=ietf-netconf-server&<wbr>amp;revision=2014-01-24&<wbr>features=ssh,inbound-ssh,<wbr>outbound-ssh</capability><br>
<capability>urn:ietf:params:xm<wbr>l:ns:yang:ietf-x509-cert-to-na<wbr>me?module=ietf-x509-cert-to-na<wbr>me&revision=2013-03-26</ca<wbr>pability><br>
<capability>urn:ietf:params:xm<wbr>l:ns:yang:ietf-netconf-acm?mod<wbr>ule=ietf-netconf-acm&revis<wbr>ion=2012-02-22</capability><br>
<capability>urn:ietf:params:xm<wbr>l:ns:yang:ietf-netconf-with-de<wbr>faults?module=ietf-netconf-wit<wbr>h-defaults&revision=2010-<wbr>06-09</capability><br>
<capability>urn:ietf:params:xm<wbr>l:ns:netconf:notification:1.0?<wbr>module=notifications&revis<wbr>ion=2008-07-14</capability><br>
<capability>urn:ietf:params:xm<wbr>l:ns:netmod:notification?modul<wbr>e=nc-notifications&revisio<wbr>n=2008-07-14</capability><br>
<capability>urn:ietf:params:xm<wbr>l:ns:yang:ietf-netconf-notific<wbr>ations?module=ietf-netconf-<wbr>notifications&revision=<wbr>2011-08-07</capability><br>
<capability>urn:ietf:params:xm<wbr>l:ns:yang:ietf-netconf-monitor<wbr>ing?module=ietf-netconf-<wbr>monitoring&revision=2010-<wbr>10-04</capability><br>
<capability>urn:ietf:params:xm<wbr>l:ns:netconf:base:1.0?module=<wbr>ietf-netconf&revision=<wbr>2011-03-08&features=<wbr>writable-running,candidate,<wbr>rollback-on-error,validate,<wbr>startup,url</capability><br>
<capability>urn:ietf:params:xm<wbr>l:ns:yang:ietf-yang-types?modu<wbr>le=ietf-yang-types&revisio<wbr>n=2013-07-15</capability><br>
<capability>urn:ietf:params:xm<wbr>l:ns:yang:ietf-inet-types?modu<wbr>le=ietf-inet-types&revisio<wbr>n=2010-09-24</capability><br>
</capabilities><br>
<session-id>46</session-id><br>
</hello><br>
]]>]]><br>
<br>
<br>
Thanks<br>
Nagesh<br>
</blockquote>
<br>
<br>
</div></div></blockquote></div><br></div>