<?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 Re: WFA - cDOT 8.3 LIF &amp;amp; Existing Named Subnet Workaround in Active IQ Unified Manager Discussions</title>
    <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/WFA-cDOT-8-3-LIF-amp-Existing-Named-Subnet-Workaround/m-p/102930#M18218</link>
    <description>&lt;P&gt;Thanks for pointing out the issue and also providing the workaround. WFA team will look into it and see if this needs fix in the product.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;sinhaa&lt;/P&gt;&lt;P&gt;WFA&lt;/P&gt;</description>
    <pubDate>Wed, 08 Apr 2015 16:00:34 GMT</pubDate>
    <dc:creator>sinhaa</dc:creator>
    <dc:date>2015-04-08T16:00:34Z</dc:date>
    <item>
      <title>WFA - cDOT 8.3 LIF &amp; Existing Named Subnet Workaround</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/WFA-cDOT-8-3-LIF-amp-Existing-Named-Subnet-Workaround/m-p/102809#M18200</link>
      <description>&lt;P&gt;When using WFA 3.0 and ONTAP 8.3 I ran into an issue creating a data LIF with the standard WFA verified command to create a cDOT logical interface.&amp;nbsp; I was able to workaround the issue with an adjusted WFA command and wanted to post the information here iin case anyone else has this issue.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In this case I was attempting to use an un-used IP address from a previously defined subnet and was presented with the following error (IP address redacted but within the named subnet's /24):&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;11:03:32.549 ERROR  [Create logical interface] The specified address "XXX.XXX.XXX.XXX" is within the address range of subnet "ontap_subnet". Specify "-force-subnet-association" to acquire the address from the named subnet and assign the subnet to the LIF.
11:03:34.421 ERROR  [Create logical interface] Command failed for Workflow 'Create and configure NAS Storage Virtual Machine' with error : The specified address "XXX.XXX.XXX.XXX" is within the address range of subnet "ontap_subnet". Specify "-force-subnet-association" to acquire the address from the named subnet and assign the subnet to the LIF.&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;To get around this I cloned the command 'Create logical interface' and changed a portion of the code to add on an additional argument if the system being worked on is ONTAP 8.3.&amp;nbsp; Some of this code was already present for the routing group(pre-8.3) and routes(8.3) portion and was simply placed higher in the body.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;$OntapVersionInfo = Get-NcSystemVersionInfo
$OntapVersionString = $OntapVersionInfo.VersionTuple.ToString()
$OntapVersionComparedTo830 = Compare-OntapVersions $OntapVersionString "8.3.0";

# WFA version 3.0.0, as of 4/6/2015, won't let you create a LIF on an 8.3 system using an address in a previously defined subnet
# This does a quick check of ONTAP version at 8.3 and add's the argument of '-force-subnet-association' to properly assign the address 
#   from the subnet &amp;amp; create the LIF.
if ($OntapVersionComparedTo830 -lt 0)
{
    Get-WFALogger -Info -message $("Creating logical interface  '" + $LogicalInterfaceName + "' on Storage Virtual Machine '"+ $VserverName + "' using command : " + $expression)
    Invoke-Expression $expression -ErrorAction stop
}
else
{
    $expression = $expression + " -ForceSubnetAssociation "
    Get-WFALogger -Info -message $("Creating logical interface  '" + $LogicalInterfaceName + "' on Storage Virtual Machine '"+ $VserverName + "' using command : " + $expression)
    Invoke-Expression $expression -ErrorAction stop
}&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Attached is the full exported command from WFA in .dar format.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If anyone else has a better suggestion to this issue, whether its better coding (the code adjustment was done on the fly) or a different workaround in the verified WFA commands, please let me know.&amp;nbsp; If there are any potential issues with this adjustment that information would also be helpful.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 05 Jun 2025 04:39:06 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/WFA-cDOT-8-3-LIF-amp-Existing-Named-Subnet-Workaround/m-p/102809#M18200</guid>
      <dc:creator>JoelEdstrom</dc:creator>
      <dc:date>2025-06-05T04:39:06Z</dc:date>
    </item>
    <item>
      <title>Re: WFA - cDOT 8.3 LIF &amp; Existing Named Subnet Workaround</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/WFA-cDOT-8-3-LIF-amp-Existing-Named-Subnet-Workaround/m-p/102930#M18218</link>
      <description>&lt;P&gt;Thanks for pointing out the issue and also providing the workaround. WFA team will look into it and see if this needs fix in the product.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;sinhaa&lt;/P&gt;&lt;P&gt;WFA&lt;/P&gt;</description>
      <pubDate>Wed, 08 Apr 2015 16:00:34 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/WFA-cDOT-8-3-LIF-amp-Existing-Named-Subnet-Workaround/m-p/102930#M18218</guid>
      <dc:creator>sinhaa</dc:creator>
      <dc:date>2015-04-08T16:00:34Z</dc:date>
    </item>
  </channel>
</rss>

