<?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 How to get a list of all Logical Switch ( Wire Network ) on NSX using vRO ? in VMware Aria Automation Orchestrator Discussions</title>
    <link>https://communities.vmware.com/t5/VMware-Aria-Automation/How-to-get-a-list-of-all-Logical-Switch-Wire-Network-on-NSX/m-p/2248871#M19494</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a lot of logical switch on NSX. Already I am using NSX and vRO with others functions. I can create and delete Logical switch and anything else with vRO. But I need to get a list of all logical switch ( it knowns as wire network on vRO )&amp;nbsp; Name and ID on nsx. There is no any workflow, action and function about with it. I found some function about Logical Switch list as you can see below. But, it is not working.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have you ever done something like this before?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="wirenetworkonvro.JPG"&gt;&lt;img src="https://communities.vmware.com/t5/image/serverpage/image-id/595iD17407D8B30F0660/image-size/large?v=v2&amp;amp;px=999" role="button" title="wirenetworkonvro.JPG" alt="wirenetworkonvro.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="vraWireNetwork.JPG"&gt;&lt;img src="https://communities.vmware.com/t5/image/serverpage/image-id/597i3D331FA3B2561693/image-size/large?v=v2&amp;amp;px=999" role="button" title="vraWireNetwork.JPG" alt="vraWireNetwork.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 23 May 2018 07:16:00 GMT</pubDate>
    <dc:creator>legioon</dc:creator>
    <dc:date>2018-05-23T07:16:00Z</dc:date>
    <item>
      <title>How to get a list of all Logical Switch ( Wire Network ) on NSX using vRO ?</title>
      <link>https://communities.vmware.com/t5/VMware-Aria-Automation/How-to-get-a-list-of-all-Logical-Switch-Wire-Network-on-NSX/m-p/2248871#M19494</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a lot of logical switch on NSX. Already I am using NSX and vRO with others functions. I can create and delete Logical switch and anything else with vRO. But I need to get a list of all logical switch ( it knowns as wire network on vRO )&amp;nbsp; Name and ID on nsx. There is no any workflow, action and function about with it. I found some function about Logical Switch list as you can see below. But, it is not working.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have you ever done something like this before?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="wirenetworkonvro.JPG"&gt;&lt;img src="https://communities.vmware.com/t5/image/serverpage/image-id/595iD17407D8B30F0660/image-size/large?v=v2&amp;amp;px=999" role="button" title="wirenetworkonvro.JPG" alt="wirenetworkonvro.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="vraWireNetwork.JPG"&gt;&lt;img src="https://communities.vmware.com/t5/image/serverpage/image-id/597i3D331FA3B2561693/image-size/large?v=v2&amp;amp;px=999" role="button" title="vraWireNetwork.JPG" alt="vraWireNetwork.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 May 2018 07:16:00 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/VMware-Aria-Automation/How-to-get-a-list-of-all-Logical-Switch-Wire-Network-on-NSX/m-p/2248871#M19494</guid>
      <dc:creator>legioon</dc:creator>
      <dc:date>2018-05-23T07:16:00Z</dc:date>
    </item>
    <item>
      <title>Re: How to get a list of all Logical Switch ( Wire Network ) on NSX using vRO ?</title>
      <link>https://communities.vmware.com/t5/VMware-Aria-Automation/How-to-get-a-list-of-all-Logical-Switch-Wire-Network-on-NSX/m-p/2248872#M19495</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i just tried to use this function and i completed to get list of Logical switches. Simply use the function with arguments pageSize=9999 and startIndex=0. &lt;/P&gt;&lt;PRE __default_attr="javascript" __jive_macro_name="code" class="_jivemacro_uid_15410011682106388 jive_macro_code jive_text_macro" data-renderedposition="71_8_1155_176" jivemacro_uid="_15410011682106388"&gt;&lt;P&gt;&amp;nbsp; virtualWiresDto = NSXVirtualWireController.getAllWiresV2(connection, 9999, 0);&lt;/P&gt;&lt;P&gt;&amp;nbsp; var pagingInfo = virtualWiresDto.dataPage.pagingInfo;&lt;/P&gt;&lt;P&gt;&amp;nbsp; System.debug("pagingInfo.pageSize="+pagingInfo.pageSize);&lt;/P&gt;&lt;P&gt;&amp;nbsp; System.debug("pagingInfo.startIndex="+pagingInfo.startIndex);&lt;/P&gt;&lt;P&gt;&amp;nbsp; System.debug("pagingInfo.totalCount="+pagingInfo.totalCount);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; var datas = virtualWiresDto.dataPage.data;&lt;/P&gt;&lt;P&gt;&amp;nbsp; for each (d in datas){&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; System.debug("d="+d);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; System.debug("d.name="+d.name);&lt;/P&gt;&lt;P&gt;&amp;nbsp; }&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope it will help you and others vro users.&lt;/P&gt;&lt;P&gt;best regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Oct 2018 15:53:34 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/VMware-Aria-Automation/How-to-get-a-list-of-all-Logical-Switch-Wire-Network-on-NSX/m-p/2248872#M19495</guid>
      <dc:creator>littleboy1982</dc:creator>
      <dc:date>2018-10-31T15:53:34Z</dc:date>
    </item>
    <item>
      <title>Re: How to get a list of all Logical Switch ( Wire Network ) on NSX using vRO ?</title>
      <link>https://communities.vmware.com/t5/VMware-Aria-Automation/How-to-get-a-list-of-all-Logical-Switch-Wire-Network-on-NSX/m-p/2248873#M19496</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First thank you for this post, I am having the same issue and google does not find much literature on this subject... I think I have the same issue as OP : whatever parameters I use for calling getAllWiresV2 method, I get an error. Meanwhile, other methods (like getSecurityTags) work just fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NSXSecurityTagManager.getSecurityTags(NSXEndpoint) =&amp;gt; success&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NSXVirtualWireController.getAllWiresV2(NSXEndpoint, 9999, 0) =&amp;gt; failure&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[2019-08-06 18:36:09.926] [E] Workflow execution stack:&lt;/P&gt;&lt;P&gt;***&lt;/P&gt;&lt;P&gt;item: 'Find All META-Bubble/item1', state: 'failed', business state: 'null', exception: 'org/apache/commons/beanutils/Converter (Workflow:Find All META-Bubble / Scripting (item2)#2)'&lt;/P&gt;&lt;P&gt;workflow: 'Find All META-Bubble' (8bc6ddb3-fb71-4d7e-add4-d7f118768fb8)&lt;/P&gt;&lt;P&gt;|&amp;nbsp; 'attribute': name=errorCode type=String value=org/apache/commons/beanutils/Converter (Workflow:Find All META-Bubble / Scripting (item2)#2)&lt;/P&gt;&lt;P&gt;|&amp;nbsp; 'attribute': name=NSXEndpoint type=NSX:Connection value=dunes://service.dunes.ch/CustomSDKObject?id='9368fc93-9dc0-46fb-8d62-ef028b278e14'&amp;amp;dunesName='NSX:Connection'&lt;/P&gt;&lt;P&gt;|&amp;nbsp; 'input': name=type type=string value=META-Bubble&lt;/P&gt;&lt;P&gt;|&amp;nbsp; 'output': name=resultObjs type=Array/DynamicTypes:META.Bubble value=null&lt;/P&gt;&lt;P&gt;*** End of execution stack.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using VRO / VRA 7.5.0 and NSX plugin 1.2.0 with NSX-V 6.4.4 build 11197766&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does anyone have any insight on this ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Aug 2019 16:41:02 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/VMware-Aria-Automation/How-to-get-a-list-of-all-Logical-Switch-Wire-Network-on-NSX/m-p/2248873#M19496</guid>
      <dc:creator>plaquevent</dc:creator>
      <dc:date>2019-08-06T16:41:02Z</dc:date>
    </item>
    <item>
      <title>Re: How to get a list of all Logical Switch ( Wire Network ) on NSX using vRO ?</title>
      <link>https://communities.vmware.com/t5/VMware-Aria-Automation/How-to-get-a-list-of-all-Logical-Switch-Wire-Network-on-NSX/m-p/2248874#M19497</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Looks a lot like it could be related to this kb : &lt;A href="https://kb.vmware.com/articleview?docid=55516" title="https://kb.vmware.com/articleview?docid=55516"&gt;After upgrading vRealize Orchestrator to 7.4 or any following version, NSX 6.x plug-in may not work. (55516) | VMware KB&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Will try the workaround &lt;img id="smileysad" class="emoticon emoticon-smileysad" src="https://communities.vmware.com/i/smilies/16x16_smiley-sad.png" alt="Smiley Sad" title="Smiley Sad" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Aug 2019 15:05:36 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/VMware-Aria-Automation/How-to-get-a-list-of-all-Logical-Switch-Wire-Network-on-NSX/m-p/2248874#M19497</guid>
      <dc:creator>plaquevent</dc:creator>
      <dc:date>2019-08-07T15:05:36Z</dc:date>
    </item>
    <item>
      <title>Re: How to get a list of all Logical Switch ( Wire Network ) on NSX using vRO ?</title>
      <link>https://communities.vmware.com/t5/VMware-Aria-Automation/How-to-get-a-list-of-all-Logical-Switch-Wire-Network-on-NSX/m-p/2248875#M19498</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The workaround in the KB works on VRA / VRO all in one appliance V7.5.0, hope this saves time to someone someday ^^&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Aug 2019 15:56:08 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/VMware-Aria-Automation/How-to-get-a-list-of-all-Logical-Switch-Wire-Network-on-NSX/m-p/2248875#M19498</guid>
      <dc:creator>plaquevent</dc:creator>
      <dc:date>2019-08-07T15:56:08Z</dc:date>
    </item>
  </channel>
</rss>

