<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Increment IP address with in a lif create loop in Active IQ Unified Manager Discussions</title>
    <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Increment-IP-address-with-in-a-lif-create-loop/m-p/125445#M22498</link>
    <description>&lt;P&gt;I can do this with vol naming, but I can't seem to figure out what to do for lif. &amp;nbsp;I have to create a data lif for the new vserver on every node, so I do a node resource loop. &amp;nbsp;However I need to increment the ip address each loop from the original entered ip address. (i.e. 192.168.45.34, .35, .36) If this was a straight script I would split the value by octects and add index + 34 and get what I need, but I am not sure how to do that in WFA perl code.&lt;/P&gt;</description>
    <pubDate>Wed, 04 Jun 2025 18:14:54 GMT</pubDate>
    <dc:creator>dblackwe</dc:creator>
    <dc:date>2025-06-04T18:14:54Z</dc:date>
    <item>
      <title>Increment IP address with in a lif create loop</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Increment-IP-address-with-in-a-lif-create-loop/m-p/125445#M22498</link>
      <description>&lt;P&gt;I can do this with vol naming, but I can't seem to figure out what to do for lif. &amp;nbsp;I have to create a data lif for the new vserver on every node, so I do a node resource loop. &amp;nbsp;However I need to increment the ip address each loop from the original entered ip address. (i.e. 192.168.45.34, .35, .36) If this was a straight script I would split the value by octects and add index + 34 and get what I need, but I am not sure how to do that in WFA perl code.&lt;/P&gt;</description>
      <pubDate>Wed, 04 Jun 2025 18:14:54 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Increment-IP-address-with-in-a-lif-create-loop/m-p/125445#M22498</guid>
      <dc:creator>dblackwe</dc:creator>
      <dc:date>2025-06-04T18:14:54Z</dc:date>
    </item>
    <item>
      <title>Re: Increment IP address with in a lif create loop</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Increment-IP-address-with-in-a-lif-create-loop/m-p/125446#M22499</link>
      <description>&lt;P&gt;and shoe-horning in this as well.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I need to be able to do a command X number of times per node as well.&lt;/P&gt;</description>
      <pubDate>Wed, 16 Nov 2016 23:23:08 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Increment-IP-address-with-in-a-lif-create-loop/m-p/125446#M22499</guid>
      <dc:creator>dblackwe</dc:creator>
      <dc:date>2016-11-16T23:23:08Z</dc:date>
    </item>
    <item>
      <title>Re: Increment IP address with in a lif create loop</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Increment-IP-address-with-in-a-lif-create-loop/m-p/125450#M22500</link>
      <description>&lt;P&gt;Can you try using functions available in WFA like&amp;nbsp;nextIP() or&amp;nbsp;nextIPByIncrement()&lt;/P&gt;</description>
      <pubDate>Thu, 17 Nov 2016 03:35:17 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Increment-IP-address-with-in-a-lif-create-loop/m-p/125450#M22500</guid>
      <dc:creator>karale</dc:creator>
      <dc:date>2016-11-17T03:35:17Z</dc:date>
    </item>
    <item>
      <title>Re: Increment IP address with in a lif create loop</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Increment-IP-address-with-in-a-lif-create-loop/m-p/125461#M22503</link>
      <description>&lt;P&gt;Adding to the response above with some more pointers:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The design of the sample workflow named "Create and configure SAN Storage Virtual Machine" does the same as your description.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;- Workflow has an input parameter named "LIFAddress"&lt;BR /&gt;- Second row here iterates over all nodes in the cluster and the steps in the row create an iSCSI LIF and a FC LIF.&lt;BR /&gt;- iSCSI LIF has the IP address configured by incrementing the given user input $LIFAddress using row Index. &amp;nbsp; nextIPAddressByIncrement($LIFAddress, index -1)&lt;BR /&gt;- Name of the LIF is also generated accordingly.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;2. &amp;gt;&amp;gt;&amp;gt;I need to be able to do a command X number of times per node as well.&lt;BR /&gt;- If the 'x' is too low like 2 lifs in each node or maybe 3, you could add the same command more than once as subsequent columns.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;- Or you could have two to three rows by copy-pasting the row and changing inputs. The sample workflow referred above follows this i.e it has two rows that does the same work.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;- If the 'x' is quite a larger number and not just 2 or 3, then the logic of adding so many such command steps to the workflow may not work out.&lt;/P&gt;&lt;P&gt;You could use child workflows that has one loop and the parent workflow has the other loop.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;-&amp;nbsp;WFA does not currently support nested loops. If the requirement is strong for this feature, then we will add the details to a RFE. Let us know.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Shailaja&lt;/P&gt;</description>
      <pubDate>Thu, 17 Nov 2016 11:17:23 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Increment-IP-address-with-in-a-lif-create-loop/m-p/125461#M22503</guid>
      <dc:creator>shailaja</dc:creator>
      <dc:date>2016-11-17T11:17:23Z</dc:date>
    </item>
    <item>
      <title>Re: Increment IP address with in a lif create loop</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Increment-IP-address-with-in-a-lif-create-loop/m-p/125464#M22505</link>
      <description>&lt;P&gt;Nested loops are important for complex multi stage, repetative setups.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For example, right now the workflow I am working on is for 0-day cluster setup for a cluster of any node size that has to be able to;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;rename all root aggrs&lt;/P&gt;&lt;P&gt;rename all vol0s&lt;/P&gt;&lt;P&gt;rename all nodes&lt;/P&gt;&lt;P&gt;create X number of Aggrs on each node (X won't always be the same for each node......)&lt;/P&gt;&lt;P&gt;Multiple options and config setting changes at node and cluster level&lt;/P&gt;&lt;P&gt;Create X number of SVMs&lt;/P&gt;&lt;P&gt;Create a lif per node per svm&lt;/P&gt;&lt;P&gt;Create ls mirrors on each node for each svm root&lt;/P&gt;&lt;P&gt;create X number of volums for each svm (X won't be the same for each SVM, and X won't be the same size even within a SVM....)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;There is more, but I am just trying to show how multiple sub loops are important. &amp;nbsp;I am considering just writting one huge perl script that can do everything though multiple loops and making it a command and having a one command workflow &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 17 Nov 2016 14:35:57 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Increment-IP-address-with-in-a-lif-create-loop/m-p/125464#M22505</guid>
      <dc:creator>dblackwe</dc:creator>
      <dc:date>2016-11-17T14:35:57Z</dc:date>
    </item>
    <item>
      <title>Re: Increment IP address with in a lif create loop</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Increment-IP-address-with-in-a-lif-create-loop/m-p/125481#M22509</link>
      <description>&lt;P&gt;Thanks for the details.&lt;/P&gt;&lt;P&gt;RFE # 1050531 has been filed for the same. Added you in the CC list.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In my opinion, some of the steps below are single steps i.e&amp;nbsp;the ones like "rename all root aggrs, vol0s, nodes", "X" svms in the cluster.&lt;/P&gt;&lt;P&gt;However, all the other ones like "X" number of aggrs in each node,&amp;nbsp;'X' volumes in each SVM or LIFS do not fall into single loop and&amp;nbsp;would need sub looping or nested loops&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Shailaja&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 18 Nov 2016 05:27:47 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Increment-IP-address-with-in-a-lif-create-loop/m-p/125481#M22509</guid>
      <dc:creator>shailaja</dc:creator>
      <dc:date>2016-11-18T05:27:47Z</dc:date>
    </item>
  </channel>
</rss>

