<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <div class="moz-cite-prefix">Thanks Dan,<br>
      <br>
      I got your idea here, but I can't get it to work this way. I got
      9005 error even with smallest configuration like this:<br>
      <br>
      declare
("InternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.WANIPConnection.*",
      null, {path: 1});<br>
      declare
("InternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.WANIPConnection.*.[Name:Routed]",
      {path:1}, {path: 1});<br>
      <br>
      any ideas?<br>
      <br>
      -- <br>
      Michal<br>
      <br>
      W dniu 2017-10-05 o 18:54, Dan Morphis pisze:<br>
    </div>
    <blockquote type="cite"
cite="mid:CAHwrMLczNU-j=_04hyP0j0tW2PB+4mf8hnQGR28xB3DW4Mop_Q@mail.gmail.com">
      <div dir="ltr">Try this :)
        <div><br>
        </div>
        <div><span style="font-size:12.8px">declare
            ("InternetGatewayDevice.WANDev</span><wbr
            style="font-size:12.8px"><span style="font-size:12.8px">ice.1.WANConnectionDevice.1.WA</span><wbr
            style="font-size:12.8px"><span style="font-size:12.8px">NIPConnection.*",
            null, {path: 2}); //Tell genie we want two interfaces</span><br
            style="font-size:12.8px">
          <span style="font-size:12.8px">declare
            ("InternetGatewayDevice.WANDev</span><wbr
            style="font-size:12.8px"><span style="font-size:12.8px">ice.1.WANConnectionDevice.1.WA</span><wbr
            style="font-size:12.8px"><span style="font-size:12.8px">NIPConnection.*.[ConnectionType:IP_Routed,Name:Routed,Enable:true]</span><wbr
            style="font-size:12.8px"><span style="font-size:12.8px">",
            {path: 1}, {path: 1});</span><br style="font-size:12.8px">
          <span style="font-size:12.8px">declare
            ("InternetGatewayDevice.WANDev</span><wbr
            style="font-size:12.8px"><span style="font-size:12.8px">ice.1.WANConnectionDevice.1.WA</span><wbr
            style="font-size:12.8px"><span style="font-size:12.8px">NIPConnection.*.[ConnectionType:</span><span
            style="font-size:12.8px">IP_Bridged</span><span
            style="font-size:12.8px">,Name:Bridged</span><span
            style="font-size:12.8px">,Enable:true</span><span
            style="font-size:12.8px">]</span><wbr
            style="font-size:12.8px"><span style="font-size:12.8px">",
            {path: 1}, {path: 1});</span></div>
        <div><br style="font-size:12.8px">
        </div>
        <div><span style="font-size:12.8px">That will create two
            interfaces. If there are more interfaces than that, they
            will be deleted. If there are less than 2, then interfaces
            will be added until the count is 2. Then it will set the
            parameters to whats in the brackets.</span></div>
        <div><span style="font-size:12.8px"><br>
          </span></div>
        <div><span style="font-size:12.8px">-dan</span></div>
      </div>
      <div class="gmail_extra"><br>
        <div class="gmail_quote">On Thu, Oct 5, 2017 at 4:33 AM,
          Margerita <span dir="ltr"><<a
              href="mailto:polanski.michal.mail@gmail.com"
              target="_blank" moz-do-not-send="true">polanski.michal.mail@gmail.com</a>></span>
          wrote:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0
            .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
            <br>
            I would like to create two interfaces using Provision:<br>
            <br>
            declare ("InternetGatewayDevice.WANDev<wbr>ice.1.WANConnectionDevice.1.WA<wbr>NIPConnection.*",
            null, {path: 1});<br>
            declare ("InternetGatewayDevice.WANDev<wbr>ice.1.WANConnectionDevice.1.WA<wbr>NIPConnection.*.ConnectionType<wbr>",
            null, {value: "IP_Routed"});<br>
            declare ("InternetGatewayDevice.WANDev<wbr>ice.1.WANConnectionDevice.1.WA<wbr>NIPConnection.*",
            null, {path: 1});<br>
            declare ("InternetGatewayDevice.WANDev<wbr>ice.1.WANConnectionDevice.1.WA<wbr>NIPConnection.*.ConnectionType<wbr>",
            null, {value: "IP_Bridged"});<br>
            <br>
            and want to achieve the following effect:<br>
            <br>
            InternetGatewayDevice.WANDevic<wbr>e.1.WANConnectionDevice.1.WANI<wbr>PConnection.1<br>
            InternetGatewayDevice.WANDevic<wbr>e.1.WANConnectionDevice.1.WANI<wbr>PConnection.1.ConnectionType
            IP_Routed<br>
            InternetGatewayDevice.WANDevic<wbr>e.1.WANConnectionDevice.1.WANI<wbr>PConnection.2<br>
            InternetGatewayDevice.WANDevic<wbr>e.1.WANConnectionDevice.1.WANI<wbr>PConnection.2.ConnectionType
            IP_Bridged<br>
            <br>
            but whatever I put in path values, I always finish with only
            one interface or with two interfaces but both 'IP_Bridged'.<br>
            What is the correct method for achieving my goal?<span
              class="HOEnZb"><font color="#888888"><br>
                <br>
                -- <br>
                Michal<br>
                ______________________________<wbr>_________________<br>
                Users mailing list<br>
                <a href="mailto:Users@lists.genieacs.com"
                  target="_blank" moz-do-not-send="true">Users@lists.genieacs.com</a><br>
                <a
                  href="http://lists.genieacs.com/mailman/listinfo/users"
                  rel="noreferrer" target="_blank"
                  moz-do-not-send="true">http://lists.genieacs.com/mail<wbr>man/listinfo/users</a><br>
              </font></span></blockquote>
        </div>
        <br>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.genieacs.com">Users@lists.genieacs.com</a>
<a class="moz-txt-link-freetext" href="http://lists.genieacs.com/mailman/listinfo/users">http://lists.genieacs.com/mailman/listinfo/users</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>