<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">Hi Nagesh,<br>
      <br>
      There is no problem :-). When you are connected to the
      netopeer-server, you use the command "edit-config --defop replace
      running" and then you introduce the configuration (<etr-cfg
      xmlns ...).<br>
      <br>
      Regards<br>
      <br>
      Albert<br>
      <br>
      On 14/12/16 14:38, Nagesh L wrote:<br>
    </div>
    <blockquote
cite="mid:CAC1jk0d-O18jrGMhUr8PoCefL+HLQw4EYpggWtcUDesZcBtcMg@mail.gmail.com"
      type="cite">
      <div dir="ltr">
        <div>
          <div>Hi Albert,<br>
            <br>
            Sorry to ask you again, I am new to netconf.<br>
          </div>
          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).<br>
        </div>
        I have not used the below lines in my earlier config.<br>
        <b><rpc xmlns="urn:ietf:params:xml:ns:</b><wbr><b>netconf:base:1.0"
          message-id="10"><br>
            <edit-config><br>
              <target><br>
                <running/><br>
              </target><br>
              <default-operation>replace</</b><wbr><b>default-operation><br>
              <config><br>
        </b>
        <div><br>
        </div>
        <div>Thanks<br>
        </div>
        <div>Nagesh<br>
        </div>
      </div>
      <div class="gmail_extra"><br>
        <div class="gmail_quote">On Wed, Dec 14, 2016 at 5:20 PM, Albert
          López <span dir="ltr"><<a moz-do-not-send="true"
              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">
            <div bgcolor="#FFFFFF" text="#000000">
              <div class="m_-2838630711830597806moz-cite-prefix">Hi
                Nagesh,<br>
                <br>
                We use the default-operation replace of yang. When we
                receive the message, we remove the database an create it
                again.<br>
                <br>
                Best regards<br>
                <br>
                Albert <br>
                <br>
                <rpc xmlns="urn:ietf:params:xml:ns:<wbr>netconf:base:1.0"
                message-id="10"><br>
                  <edit-config><br>
                    <target><br>
                      <running/><br>
                    </target><br>
                    <b><default-operation>replace</<wbr>default-operation></b><br>
                    <config><br>
                      <etr-cfg xmlns="urn:ietf:params:xml:ns:<wbr>yang:lispsimple"><br>
                        <local-eids><br>
                          <local-eid><br>
                            <id>eid1</id><br>
                            <eid-address><br>
                              <afi>ipv4</afi><br>
                              <instance-id>0</instance-id><br>
                              <ipv4>2.2.2.0</ipv4><br>
                              <mask>24</mask><br>
                            </eid-address><br>
                            <rlocs><br>
                              <rloc><br>
                                <name>rloc1</name><br>
                                <interface>eth1</interface><br>
                                <priority>1</priority><br>
                                <weight>50</weight><br>
                                <multicast-priority>255</<wbr>multicast-priority><br>
                                <multicast-weight>0</<wbr>multicast-weight><br>
                              </rloc><br>
                            </rlocs><br>
                            <record-ttl>10</record-ttl><br>
                          </local-eid><br>
                        </local-eids><br>
                      </etr-cfg><br>
                    </config><br>
                  </edit-config><br>
                </rpc>
                <div>
                  <div class="h5"><br>
                    <br>
                    <br>
                    <br>
                    <br>
                    On 14/12/16 09:47, Nagesh L wrote:<br>
                  </div>
                </div>
              </div>
              <div>
                <div class="h5">
                  <blockquote type="cite">
                    <div dir="ltr">
                      <div>
                        <div>
                          <div>
                            <div>Hi Albert,<br>
                              <br>
                            </div>
                            Could you please share a sample netconf file
                            for multiple eid's addition and deletion.<br>
                          </div>
                          We tried with the attached netconf
                          (netconf_multi_eid.txt), it works for addtion
                          but does not works for deletion.<br>
                          <br>
                        </div>
                        Thanks<br>
                      </div>
                      Nagesh<br>
                      <br>
                    </div>
                  </blockquote>
                </div>
              </div>
            </div>
          </blockquote>
        </div>
        <br>
      </div>
    </blockquote>
    <br>
  </body>
</html>