<?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: Adding Network to a Logical Interconnect Group in Server Management - Remote Server Management</title>
    <link>https://community.hpe.com/t5/server-management-remote-server/adding-network-to-a-logical-interconnect-group/m-p/7098261#M8792</link>
    <description>&lt;P&gt;After more tries this one worked out fine and updated Logical Interconnect Group&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Set-HPOVResource $LogicalInterconnectGroup | Wait-HPOVTaskComplete&lt;/LI-CODE&gt;</description>
    <pubDate>Fri, 14 Aug 2020 10:24:36 GMT</pubDate>
    <dc:creator>JonasPonas</dc:creator>
    <dc:date>2020-08-14T10:24:36Z</dc:date>
    <item>
      <title>Adding Network to a Logical Interconnect Group</title>
      <link>https://community.hpe.com/t5/server-management-remote-server/adding-network-to-a-logical-interconnect-group/m-p/7098178#M8788</link>
      <description>&lt;P&gt;Hello everyone,&lt;/P&gt;&lt;P&gt;I am using module - HPOneView\4.10&amp;nbsp;&lt;A href="https://github.com/HewlettPackard/POSH-HPEOneView" target="_blank"&gt;https://github.com/HewlettPackard/POSH-HPEOneView&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I am trying to add network to a Logical Interconnect Group. But i cant make it work.&lt;/P&gt;&lt;P&gt;I tried following this explanation&amp;nbsp;&lt;A href="https://github.com/HewlettPackard/POSH-HPEOneView/issues/45" target="_blank"&gt;https://github.com/HewlettPackard/POSH-HPEOneView/issues/45&lt;/A&gt;&lt;/P&gt;&lt;P&gt;But when executing last line i get error:&amp;nbsp;&lt;FONT color="#FF0000"&gt;Exception calling "Add" with "1" argument(s): "Collection was of a fixed size."&lt;/FONT&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;#Get the LIG Resource
$Lig = Get-HPOVLogicalInterconnectGroup 'My LIG Policy' -ApplianceConnection $ApplianceConnection

#Display the 'Prod Uplink Set 1_A' Uplink Set resource
$Lig.uplinkSets | ? name -eq 'Prod Uplink Set 1_A'

#Get MyNewVLAN_A network resource
$NewNetwork = Get-HPOVNetwork 'MyNewVLAN_A' -ApplianceConnection $ApplianceConnection

#Add it to the 'Prod Uplink Set 1_A'
($Lig.uplinkSets | ? name -eq 'Prod Uplink Set 1_A').networkUris.Add($NewNetwork.uri)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;Any help is appreciated. Even doing in another way, but I need to add Network to Logical Interconnect Group.&lt;/P&gt;</description>
      <pubDate>Thu, 13 Aug 2020 15:17:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/server-management-remote-server/adding-network-to-a-logical-interconnect-group/m-p/7098178#M8788</guid>
      <dc:creator>JonasPonas</dc:creator>
      <dc:date>2020-08-13T15:17:28Z</dc:date>
    </item>
    <item>
      <title>Re: Adding Network to a Logical Interconnect Group</title>
      <link>https://community.hpe.com/t5/server-management-remote-server/adding-network-to-a-logical-interconnect-group/m-p/7098181#M8789</link>
      <description>&lt;P&gt;Also tried this way:&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;$LI = "Enclosure-LI"
$UplinkSetName = "UplinkSet1"
$NewNetwork = Get-HPOVNetwork "Name"  #Get the Network resource
$lig = Get-HPOVLogicalInterconnectGroup "LIG NAME" #Get the Logical Interconnect Resource
$lig.uplinkSets | ? { $_.name -eq $UplinkSetName } #Show the existing network URIs from the Uplink Set
($lig.uplinkSets | ? { $_.name -eq $UplinkSetName }).networkUris += $NewNetwork.uri #Add NewNetwork to the networkUris Array
$lig.uplinkSets | ? { $_.name -eq $UplinkSetName } #Show the updated array value
Set-HPOVResource $lig | Wait-HPOVTaskComplete
Update-HPOVLogicalInterconnect $LI&lt;/LI-CODE&gt;&lt;P&gt;Get the error:&amp;nbsp;&lt;FONT color="#FF0000"&gt;The property 'networkUris' cannot be found on this object. Verify that the property exists and can be set.&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#FF0000"&gt;&lt;FONT color="#000000"&gt;But i check th ($lig.uplinkSets | ? { $_.name -eq $UplinkSetName }).networkUris and it exists and is not empty.&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 13 Aug 2020 15:38:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/server-management-remote-server/adding-network-to-a-logical-interconnect-group/m-p/7098181#M8789</guid>
      <dc:creator>JonasPonas</dc:creator>
      <dc:date>2020-08-13T15:38:09Z</dc:date>
    </item>
    <item>
      <title>Re: Adding Network to a Logical Interconnect Group</title>
      <link>https://community.hpe.com/t5/server-management-remote-server/adding-network-to-a-logical-interconnect-group/m-p/7098244#M8791</link>
      <description>&lt;P&gt;I added to the array but i can't update Logical Interconnect Group. Tried sending&amp;nbsp;&lt;/P&gt;&lt;P&gt;1.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt; Set-HPOVResource $LogicalInterconnectGroup.uri | Wait-HPOVTaskComplete&lt;/LI-CODE&gt;&lt;P&gt;2.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;$resp = Send-HPOVRequest $lig.uri PUT $lig -Hostname $ApplianceConnection&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 14 Aug 2020 08:22:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/server-management-remote-server/adding-network-to-a-logical-interconnect-group/m-p/7098244#M8791</guid>
      <dc:creator>JonasPonas</dc:creator>
      <dc:date>2020-08-14T08:22:24Z</dc:date>
    </item>
    <item>
      <title>Re: Adding Network to a Logical Interconnect Group</title>
      <link>https://community.hpe.com/t5/server-management-remote-server/adding-network-to-a-logical-interconnect-group/m-p/7098261#M8792</link>
      <description>&lt;P&gt;After more tries this one worked out fine and updated Logical Interconnect Group&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Set-HPOVResource $LogicalInterconnectGroup | Wait-HPOVTaskComplete&lt;/LI-CODE&gt;</description>
      <pubDate>Fri, 14 Aug 2020 10:24:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/server-management-remote-server/adding-network-to-a-logical-interconnect-group/m-p/7098261#M8792</guid>
      <dc:creator>JonasPonas</dc:creator>
      <dc:date>2020-08-14T10:24:36Z</dc:date>
    </item>
  </channel>
</rss>

