HewlettPackard / POSH-HPEOneView

PowerShell language bindings library for HPE OneView.
http://hewlettpackard.github.io/POSH-HPEOneView/
125 stars 52 forks source link

New-OVNetwork won't always work with large networksets #638

Closed berndtfromat closed 1 year ago

berndtfromat commented 1 year ago

Expected Behavior

create network and add it to an existing networkset of type large in the same step

Actual Behavior

ignores existing networkset type and therefore fails in rare cases. Seems like the cmdlet actively tries to change a networkset to type regular which will/would create issues in environments where (maybe 40GBit interconnects/3820C nics and) vlan# >333 are used.

Steps to reproduce

I can't easily reproduce this since it would have effect on our production, but you can see the anonymized history in part 1 (production) and the relevant passage in the second part (test system-> not anonymized). There is also a HPE Support Case 5372126802 with support dump and L2 comment, etc.

part 1 - history

relevant part of supportdump in which we see the wrong networksettype: putResource():327,Putting NetworkSet- id:00000000-0000-0000-0000-000000000001, complexObject:com.hp.ci.mgmt.crm.model.NetworkSetV5@00000002 [ nativeNetworkUri=, networkUris= [ /rest/ethernet-networks/00000000-0000-0000-0000-000000000003, /rest/ethernet-networks/00000000-0000-0000-0000-000000000004, /rest/ethernet-networks/00000000-0000-0000-0000-000000000005, /rest/ethernet-networks/00000000-0000-0000-0000-000000000006, /rest/ethernet-networks/00000000-0000-0000-0000-000000000007, /rest/ethernet-networks/00000000-0000-0000-0000-000000000008, /rest/ethernet-networks/00000000-0000-0000-0000-000000000009, /rest/ethernet-networks/00000000-0000-0000-0000-000000000010, /rest/ethernet-networks/00000000-0000-0000-0000-000000000011, /rest/ethernet-networks/00000000-0000-0000-0000-000000000012, /rest/ethernet-networks/00000000-0000-0000-0000-000000000013, /rest/ethernet-networks/00000000-0000-0000-0000-000000000014, /rest/ethernet-networks/00000000-0000-0000-0000-000000000015, /rest/ethernet-networks/00000000-0000-0000-0000-000000000016, /rest/ethernet-networks/00000000-0000-0000-0000-000000000017, /rest/ethernet-networks/00000000-0000-0000-0000-000000000018, /rest/ethernet-networks/00000000-0000-0000-0000-000000000019, /rest/ethernet-networks/00000000-0000-0000-0000-000000000020, /rest/ethernet-networks/00000000-0000-0000-0000-000000000021, /rest/ethernet-networks/00000000-0000-0000-0000-000000000022, /rest/ethernet-networks/00000000-0000-0000-0000-000000000023, /rest/ethernet-networks/00000000-0000-0000-0000-000000000024, /rest/ethernet-networks/00000000-0000-0000-0000-000000000025, /rest/ethernet-networks/00000000-0000-0000-0000-000000000026, /rest/ethernet-networks/00000000-0000-0000-0000-000000000027, /rest/ethernet-networks/00000000-0000-0000-0000-000000000028, /rest/ethernet-networks/00000000-0000-0000-0000-000000000029, /rest/ethernet-networks/00000000-0000-0000-0000-000000000030, /rest/ethernet-networks/00000000-0000-0000-0000-000000000031, /rest/ethernet-networks/00000000-0000-0000-0000-000000000032, /rest/ethernet-networks/00000000-0000-0000-0000-000000000033, /rest/ethernet-networks/00000000-0000-0000-0000-000000000034, /rest/ethernet-networks/00000000-0000-0000-0000-000000000035, /rest/ethernet-networks/00000000-0000-0000-0000-000000000036, /rest/ethernet-networks/00000000-0000-0000-0000-000000000037, /rest/ethernet-networks/00000000-0000-0000-0000-000000000038, /rest/ethernet-networks/00000000-0000-0000-0000-000000000039, /rest/ethernet-networks/00000000-0000-0000-0000-000000000040 ], connectionTemplateUri=/rest/connection-templates/00000000-0000-0000-0000-000000000041, networkSetType=Regular, scopesUri=/rest/scopes/resources/rest/network-sets/00000000-0000-0000-0000-000000000001, initialScopeUris=, delegate=com.hp.ci.mgmt.model.ManagedResourceDelegate@00000042[name=mynetworkset,description=,status=,state=]uri=/rest/network-sets/00000000-0000-0000-0000-000000000001, category=network-sets, type=network-setV5, eTag=00000000-0000-0000-0000-000000000043, created=, modified=, requestId=ZBNLhJWmbgkhwfh3xax8ewAAAKc ], parentTask:null, force:false, eTag:00000000-0000-0000-0000-000000000043, locale:en_US

BUT the used networkset is already existent and is of type large

me@server> Get-OVNetworkSet -Name mynetworkset | ft networkSetType

networkSetType
--------------
Large

me@server> New-OVNetwork -Name 1234_mynetwork -Type Ethernet -VlanId 1234 -NetworkSet (Get-OVNetworkSet -Name mynetworkset)
Set-OVNetworkSet : Adding the network(s) to the network set will result in more than 333 VLANs on a physical port on one or more deployed connections.
 Remove one or more networks from connections mapped to the same physical port as connections that are using this network set.
At C:\Program Files\WindowsPowerShell\Modules\HPEOneView.630\6.30.2928.3678\HPEOneView.630.psm1:78947 char:25
+ ... Set-OVNetworkSet -InputObject $_netset -AddNetwork $net - ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 + CategoryInfo : InvalidOperation: (network-sets:String) [Set-OVNetworkSet], InvalidOperationException
 + FullyQualifiedErrorId : CRM_NETWORK_SET_MAX_VLANS_DOWNLINK_PORT_VIOLATION,Set-OVNetworkSet
Name Status Details
---- ------ -------
1234_mynetwork Completed @{associatedResource=; associatedTaskUri=; completedSteps=0; computedPercentComplete=100; created=2023-03-16T17:01:54.406Z; data=; eTag="1"; expectedDuration=240; hidden=False; m...
me@server>

part 2 - theory - see line 520 (why is the networkset changed to regular???)(end is shortened due to max comment size)

myaduser@mycomputer> New-OVNetwork -Name 1234_mynetwork -Type Ethernet -VlanId 1234 -NetworkSet (Get-OVNetworkSet -Name mynetworkset) -Verbose
VERBOSE: [New-OVNetwork] Redacting users Password from Verbose Output
VERBOSE: [New-OVNetwork] Bound PS Parameters:
Name                           Value

----                           -----

Verbose                        True

Name                           1234_mynetwork

NetworkSet                     {@{type=network-setV5; uri=/rest/network-sets/accbbe43-729d-4aa6-8347-9e30e4f6ca3f; category=network-sets; eTag=f55a517b-046f-4315-b62b-1006b2d1b495;
created=2023-04-13T13:49...
VlanId                         1234

Type                           Ethernet

VERBOSE: [NEW-OVNETWORK] Called from: <ScriptBlock>
VERBOSE: [NEW-OVNETWORK] Verify auth
VERBOSE: [TEST-OVAUTH] Caller: New-OVNetwork
VERBOSE: [TEST-OVAUTH] Verify Auth for mycomposer
VERBOSE: [TEST-OVAUTH] $Appliance is [HPEOneView.Appliance.Connection]
VERBOSE: [TEST-OVAUTH] Received HPEOneview.Appliance.Connection Object:
ConnectionID Name       UserName AuthLoginDomain Default
------------ ----       -------- --------------- -------
1            mycomposer myaduser mydomain.local   True

VERBOSE: [NEW-OVNETWORK] Resolved Parameter Set Name: Ethernet
VERBOSE: [NEW-OVNETWORK] Processing CMDLET for 'mycomposer' appliance.
VERBOSE: [NEW-OVNETWORK] Network Type Requested: Ethernet
VERBOSE: [NEW-OVNETWORK] Creating '1234_mynetwork' Ethernet Network
VERBOSE: [NewObject] Redacting users Password from Verbose Output
VERBOSE: [NewObject] Bound PS Parameters:
Name                           Value

----                           -----

EthernetNetwork                True

VERBOSE: [NEWOBJECT] Called from: New-OVNetwork
VERBOSE: [NEW-OVNETWORK] Creating 1234_mynetwork Ethernet Network
VERBOSE: [NEW-OVNETWORK] Sending request to create '1234_mynetwork' network.
VERBOSE: [SEND-OVREQUEST] BEGIN
VERBOSE: [SEND-OVREQUEST] Called from: New-OVNetwork
VERBOSE: [SEND-OVREQUEST] Bound PS Parameters:
Key      Value

---      -----

uri      /rest/ethernet-networks

method   POST

body     @{type=ethernet-networkV4; vlanId=1234; ethernetNetworkType=Tagged; purpose=General; name=1234_mynetwork; smartLink=True; privateNetwork=False; subnetUri=; ipv6SubnetUri=;
initialScopeUris=System....
Hostname mycomposer

VERBOSE: [SEND-OVREQUEST] Process
VERBOSE: [SEND-OVREQUEST] Hostname value:
ConnectionID Name       UserName AuthLoginDomain Default
------------ ----       -------- --------------- -------
1            mycomposer myaduser mydomain.local   True

VERBOSE: [SEND-OVREQUEST] Processing 'mycomposer' appliance connection request. 1 of 1
VERBOSE: [SEND-OVREQUEST] Requested URI '/rest/ethernet-networks' to 'mycomposer'
VERBOSE: [SEND-OVREQUEST] Restclient timeout setting: 20000
VERBOSE: [SEND-OVREQUEST] Body object found. Converting to JSON.
VERBOSE: [SEND-OVREQUEST] HTTP Method is POST. Removing 'ApplianceConnection' NoteProperty from object(s).
VERBOSE: InputObject is [PSCustomObject]. Copying...
VERBOSE: Property is IEnumerable
VERBOSE: [Send-OVRequest] Redacting users Password from Verbose Output
VERBOSE: [SEND-OVREQUEST] Request Body:
{"type":"ethernet-networkV4","vlanId":1234,"ethernetNetworkType":"Tagged","purpose":"General","name":"1234_mynetwork","smartLink":true,"privateNetwork":false,"subnetUri":null,"ipv6SubnetUri":null,"initialScop
eUris":[]}
VERBOSE: [SEND-OVREQUEST] Request: POST https://mycomposer/rest/ethernet-networks
VERBOSE: [SEND-OVREQUEST] Request Header 1: User-Agent = HPEOneView.PowerShell/6.60 (Microsoft Windows NT 10.0.17763.0)
VERBOSE: [SEND-OVREQUEST] Request Header 2: Content-Type = application/json
VERBOSE: [SEND-OVREQUEST] Request Header 3: Accept = application/json, text/html, application/xhtml+xml
VERBOSE: [SEND-OVREQUEST] Request Header 4: X-API-Version = 3800
VERBOSE: [SEND-OVREQUEST] Request Header 5: accept-language = en_US
VERBOSE: [SEND-OVREQUEST] Request Header 6: accept-encoding = gzip, deflate
VERBOSE: [SEND-OVREQUEST] Request Header 7: auth = [*****REDACTED******]
VERBOSE: [SEND-OVREQUEST] Request Header 8: Host = mycomposer
VERBOSE: [SEND-OVREQUEST] Response time: 00:00:03.0889530
VERBOSE: [SEND-OVREQUEST] Response Status: 202 (Accepted)
VERBOSE: [SEND-OVREQUEST] Response Header 1: Pragma = no-cache
VERBOSE: [SEND-OVREQUEST] Response Header 2: X-XSS-Protection = 1; mode=block
VERBOSE: [SEND-OVREQUEST] Response Header 3: X-Frame-Options = DENY
VERBOSE: [SEND-OVREQUEST] Response Header 4: X-Content-Type-Options = nosniff
VERBOSE: [SEND-OVREQUEST] Response Header 5: Strict-Transport-Security = max-age=31536000
VERBOSE: [SEND-OVREQUEST] Response Header 6: Content-Length = 0
VERBOSE: [SEND-OVREQUEST] Response Header 7: Cache-Control = no-cache
VERBOSE: [SEND-OVREQUEST] Response Header 8: Date = Thu, 13 Apr 2023 14:06:07 GMT
VERBOSE: [SEND-OVREQUEST] Response Header 9: Expires = 0
VERBOSE: [SEND-OVREQUEST] Response Header 10: Location = /rest/tasks/ea27b910-dae2-4c17-8b1b-ab630e9c8598
VERBOSE: [SEND-OVREQUEST] Response Header 11: Server = Apache
VERBOSE: [SEND-OVREQUEST] FinalResponse:
VERBOSE: [SEND-OVREQUEST] Response:
VERBOSE: [SEND-OVREQUEST] Manual Pagination: False
VERBOSE: [SEND-OVREQUEST] Async Task (HTTP 202) received
VERBOSE: [SEND-OVREQUEST] Async Task URI: /rest/tasks/ea27b910-dae2-4c17-8b1b-ab630e9c8598
VERBOSE: [SEND-OVREQUEST] BEGIN
VERBOSE: [SEND-OVREQUEST] Called from: Send-OVRequest
VERBOSE: [SEND-OVREQUEST] Bound PS Parameters:
Key      Value
---      -----
uri      /rest/tasks/ea27b910-dae2-4c17-8b1b-ab630e9c8598
method   GET
Hostname mycomposer

VERBOSE: [SEND-OVREQUEST] Process
VERBOSE: [SEND-OVREQUEST] Hostname value: mycomposer
VERBOSE: [SEND-OVREQUEST] Filtering for Connection Object via String: mycomposer
VERBOSE: [SEND-OVREQUEST] Processing 'mycomposer' appliance connection request. 1 of 1
VERBOSE: [SEND-OVREQUEST] Requested URI '/rest/tasks/ea27b910-dae2-4c17-8b1b-ab630e9c8598' to 'mycomposer'
VERBOSE: [SEND-OVREQUEST] Restclient timeout setting: 20000
VERBOSE: [SEND-OVREQUEST] Request: GET https://mycomposer/rest/tasks/ea27b910-dae2-4c17-8b1b-ab630e9c8598
VERBOSE: [SEND-OVREQUEST] Request Header 1: User-Agent = HPEOneView.PowerShell/6.60 (Microsoft Windows NT 10.0.17763.0)
VERBOSE: [SEND-OVREQUEST] Request Header 2: Content-Type = application/json
VERBOSE: [SEND-OVREQUEST] Request Header 3: Accept = application/json, text/html, application/xhtml+xml
VERBOSE: [SEND-OVREQUEST] Request Header 4: X-API-Version = 3800
VERBOSE: [SEND-OVREQUEST] Request Header 5: accept-language = en_US
VERBOSE: [SEND-OVREQUEST] Request Header 6: accept-encoding = gzip, deflate
VERBOSE: [SEND-OVREQUEST] Request Header 7: auth = [*****REDACTED******]
VERBOSE: [SEND-OVREQUEST] Response time: 00:00:00.0353660
VERBOSE: [SEND-OVREQUEST] Response Status: 200 (OK)
VERBOSE: [SEND-OVREQUEST] Response Header 1: content-language = en-US
VERBOSE: [SEND-OVREQUEST] Response Header 2: X-Frame-Options = DENY
VERBOSE: [SEND-OVREQUEST] Response Header 3: Strict-Transport-Security = max-age=31536000
VERBOSE: [SEND-OVREQUEST] Response Header 4: X-XSS-Protection = 1; mode=block
VERBOSE: [SEND-OVREQUEST] Response Header 5: X-Content-Type-Options = nosniff
VERBOSE: [SEND-OVREQUEST] Response Header 6: Content-Length = 845
VERBOSE: [SEND-OVREQUEST] Response Header 7: Cache-Control = no-cache
VERBOSE: [SEND-OVREQUEST] Response Header 8: Content-Type = application/json
VERBOSE: [SEND-OVREQUEST] Response Header 9: Date = Thu, 13 Apr 2023 14:06:10 GMT
VERBOSE: [SEND-OVREQUEST] Response Header 10: ETag = "1"
VERBOSE: [SEND-OVREQUEST] Response Header 11: Server = Apache
VERBOSE: [SEND-OVREQUEST] FinalResponse:
{"associatedResource":{"associationType":"MANAGED_BY","resourceCategory":"ethernet-networks","resourceName":"1234_mynetwork","resourceUri":"/rest/ethernet-networks/b9a126d7-4cec-4628-b1fc-838c77972ac2"},"asso
ciatedTaskUri":null,"completedSteps":0,"computedPercentComplete":100,"created":"2023-04-13T14:06:08.139Z","data":{},"eTag":"\"1\"","expectedDuration":240,"hidden":false,"modified":"2023-04-13T14:06:10.327Z","
name":"Create","owner":"myaduser","parentTaskUri":null,"percentComplete":100,"progressUpdates":[],"startTime":"2023-04-13T14:06:08.139Z","stateReason":"Configuring
interconnects","taskErrors":[],"taskOutput":[],"taskState":"Completed","taskStatus":null,"taskType":"User","totalSteps":0,"uri":"/rest/tasks/ea27b910-dae2-4c17-8b1b-ab630e9c8598","userInitiated":true,"categor
y":"tasks","type":"TaskResourceV3","isCancellable":false}
VERBOSE: [SEND-OVREQUEST] Manual Pagination: False
VERBOSE: [SEND-OVREQUEST] Response object, no paging needed.
VERBOSE: [SEND-OVREQUEST] Cleaning up HttpWebRequest
VERBOSE: [SEND-OVREQUEST] Does nextPageUri member exist: False
VERBOSE: [SEND-OVREQUEST] Is nextPageUri Null or Empty: True
VERBOSE: [SEND-OVREQUEST] Stopping Do/Until loop because nextPageUri doesn't exist and have received all objects.
VERBOSE: [SEND-OVREQUEST] End
VERBOSE: [SEND-OVREQUEST] Adding 'HPEOneview.Appliance.TaskResource' to PSObject TypeNames for task object
VERBOSE: [SEND-OVREQUEST] Response object, no paging needed.
VERBOSE: [SEND-OVREQUEST] Cleaning up HttpWebRequest
VERBOSE: [SEND-OVREQUEST] Does nextPageUri member exist: False
VERBOSE: [SEND-OVREQUEST] Is nextPageUri Null or Empty: True
VERBOSE: [SEND-OVREQUEST] Stopping Do/Until loop because nextPageUri doesn't exist and have received all objects.
VERBOSE: [SEND-OVREQUEST] End
VERBOSE: [NEW-OVNETWORK] Create Network Object '1234_mynetwork' creating. Monitor task.
VERBOSE: [Wait-OVTaskComplete] Redacting users Password from Verbose Output
VERBOSE: [Wait-OVTaskComplete] Bound PS Parameters:
Name                           Value

----                           -----

InputObject                    @{associatedResource=; associatedTaskUri=; completedSteps=0; computedPercentComplete=100; created=2023-04-13T14:06:08.139Z; data=; eTag="1"; expectedDuration=240;
hidden=Fals...

VERBOSE: [WAIT-OVTASKCOMPLETE] Called from: New-OVNetwork
VERBOSE: [WAIT-OVTASKCOMPLETE] Verify auth
VERBOSE: [TEST-OVAUTH] Caller: Wait-OVTaskComplete
VERBOSE: [TEST-OVAUTH] Verify Auth for mycomposer
VERBOSE: [TEST-OVAUTH] $Appliance is [HPEOneView.Appliance.Connection]
VERBOSE: [TEST-OVAUTH] Received HPEOneview.Appliance.Connection Object:
ConnectionID Name       UserName AuthLoginDomain Default
------------ ----       -------- --------------- -------
1            mycomposer myaduser mydomain.local   True

VERBOSE: [WAIT-OVTASKCOMPLETE] Processing task resources.
VERBOSE: [WAIT-OVTASKCOMPLETE] Task is System.Management.Automation.PSCustomObject. Task URI: /rest/tasks/ea27b910-dae2-4c17-8b1b-ab630e9c8598
VERBOSE: [WAIT-OVTASKCOMPLETE] Processing taskcollection.
VERBOSE: [WAIT-OVTASKCOMPLETE] Processing parent or single level task.
VERBOSE: [WAIT-OVTASKCOMPLETE] Getting task object from API.
VERBOSE: [SEND-OVREQUEST] BEGIN
VERBOSE: [SEND-OVREQUEST] Called from: Wait-OVTaskComplete
VERBOSE: [SEND-OVREQUEST] Bound PS Parameters:
Key      Value
---      -----
Hostname mycomposer
uri      /rest/tasks/ea27b910-dae2-4c17-8b1b-ab630e9c8598?view=tree

VERBOSE: [SEND-OVREQUEST] Process
VERBOSE: [SEND-OVREQUEST] Hostname value:
Name       ConnectionId
----       ------------
mycomposer            1

VERBOSE: [SEND-OVREQUEST] Filtering for Connection Object via PSObject:
Name       ConnectionId
----       ------------
mycomposer            1

VERBOSE: [SEND-OVREQUEST] Processing 'mycomposer' appliance connection request. 1 of 1
VERBOSE: [SEND-OVREQUEST] Requested URI '/rest/tasks/ea27b910-dae2-4c17-8b1b-ab630e9c8598?view=tree' to 'mycomposer'
VERBOSE: [SEND-OVREQUEST] Restclient timeout setting: 20000
VERBOSE: [SEND-OVREQUEST] Request: GET https://mycomposer/rest/tasks/ea27b910-dae2-4c17-8b1b-ab630e9c8598?view=tree
VERBOSE: [SEND-OVREQUEST] Request Header 1: User-Agent = HPEOneView.PowerShell/6.60 (Microsoft Windows NT 10.0.17763.0)
VERBOSE: [SEND-OVREQUEST] Request Header 2: Content-Type = application/json
VERBOSE: [SEND-OVREQUEST] Request Header 3: Accept = application/json, text/html, application/xhtml+xml
VERBOSE: [SEND-OVREQUEST] Request Header 4: X-API-Version = 3800
VERBOSE: [SEND-OVREQUEST] Request Header 5: accept-language = en_US
VERBOSE: [SEND-OVREQUEST] Request Header 6: accept-encoding = gzip, deflate
VERBOSE: [SEND-OVREQUEST] Request Header 7: auth = [*****REDACTED******]
VERBOSE: [SEND-OVREQUEST] Response time: 00:00:00.0356279
VERBOSE: [SEND-OVREQUEST] Response Status: 200 (OK)
VERBOSE: [SEND-OVREQUEST] Response Header 1: content-language = en-US
VERBOSE: [SEND-OVREQUEST] Response Header 2: X-Frame-Options = DENY
VERBOSE: [SEND-OVREQUEST] Response Header 3: Strict-Transport-Security = max-age=31536000
VERBOSE: [SEND-OVREQUEST] Response Header 4: X-XSS-Protection = 1; mode=block
VERBOSE: [SEND-OVREQUEST] Response Header 5: X-Content-Type-Options = nosniff
VERBOSE: [SEND-OVREQUEST] Response Header 6: Content-Length = 872
VERBOSE: [SEND-OVREQUEST] Response Header 7: Cache-Control = no-cache
VERBOSE: [SEND-OVREQUEST] Response Header 8: Content-Type = application/json
VERBOSE: [SEND-OVREQUEST] Response Header 9: Date = Thu, 13 Apr 2023 14:06:10 GMT
VERBOSE: [SEND-OVREQUEST] Response Header 10: Server = Apache
VERBOSE: [SEND-OVREQUEST] FinalResponse:
{"resource":{"associatedResource":{"associationType":"MANAGED_BY","resourceCategory":"ethernet-networks","resourceName":"1234_mynetwork","resourceUri":"/rest/ethernet-networks/b9a126d7-4cec-4628-b1fc-838c7797
2ac2"},"associatedTaskUri":null,"completedSteps":0,"computedPercentComplete":100,"created":"2023-04-13T14:06:08.139Z","data":{},"eTag":"\"1\"","expectedDuration":240,"hidden":false,"modified":"2023-04-13T14:0
6:10.327Z","name":"Create","owner":"myaduser","parentTaskUri":null,"percentComplete":100,"progressUpdates":[],"startTime":"2023-04-13T14:06:08.139Z","stateReason":"Configuring
interconnects","taskErrors":[],"taskOutput":[],"taskState":"Completed","taskStatus":null,"taskType":"User","totalSteps":0,"uri":"/rest/tasks/ea27b910-dae2-4c17-8b1b-ab630e9c8598","userInitiated":true,"categor
y":"tasks","type":"TaskResourceV3","isCancellable":false},"children":[]}
VERBOSE: [SEND-OVREQUEST] Manual Pagination: False
VERBOSE: [SEND-OVREQUEST] Response object, no paging needed.
VERBOSE: [SEND-OVREQUEST] Cleaning up HttpWebRequest
VERBOSE: [SEND-OVREQUEST] Does nextPageUri member exist: False
VERBOSE: [SEND-OVREQUEST] Is nextPageUri Null or Empty: True
VERBOSE: [SEND-OVREQUEST] Stopping Do/Until loop because nextPageUri doesn't exist and have received all objects.
VERBOSE: [SEND-OVREQUEST] End
VERBOSE: [WAIT-OVTASKCOMPLETE] Task is finished, removing from collection.
VERBOSE: [WAIT-OVTASKCOMPLETE] Task Collection size: 1
VERBOSE: [WAIT-OVTASKCOMPLETE] Updated Task Collection size: 0
VERBOSE: [WAIT-OVTASKCOMPLETE] Create [/rest/tasks/ea27b910-dae2-4c17-8b1b-ab630e9c8598] Task finished.
VERBOSE: [SEND-OVREQUEST] BEGIN
VERBOSE: [SEND-OVREQUEST] Called from: Wait-OVTaskComplete
VERBOSE: [SEND-OVREQUEST] Bound PS Parameters:
Key      Value
---      -----
uri      /rest/tasks/ea27b910-dae2-4c17-8b1b-ab630e9c8598
Hostname mycomposer

VERBOSE: [SEND-OVREQUEST] Process
VERBOSE: [SEND-OVREQUEST] Hostname value:
Name       ConnectionId
----       ------------
mycomposer            1

VERBOSE: [SEND-OVREQUEST] Filtering for Connection Object via PSObject:
Name       ConnectionId
----       ------------
mycomposer            1

VERBOSE: [SEND-OVREQUEST] Processing 'mycomposer' appliance connection request. 1 of 1
VERBOSE: [SEND-OVREQUEST] Requested URI '/rest/tasks/ea27b910-dae2-4c17-8b1b-ab630e9c8598' to 'mycomposer'
VERBOSE: [SEND-OVREQUEST] Restclient timeout setting: 20000
VERBOSE: [SEND-OVREQUEST] Request: GET https://mycomposer/rest/tasks/ea27b910-dae2-4c17-8b1b-ab630e9c8598
VERBOSE: [SEND-OVREQUEST] Request Header 1: User-Agent = HPEOneView.PowerShell/6.60 (Microsoft Windows NT 10.0.17763.0)
VERBOSE: [SEND-OVREQUEST] Request Header 2: Content-Type = application/json
VERBOSE: [SEND-OVREQUEST] Request Header 3: Accept = application/json, text/html, application/xhtml+xml
VERBOSE: [SEND-OVREQUEST] Request Header 4: X-API-Version = 3800
VERBOSE: [SEND-OVREQUEST] Request Header 5: accept-language = en_US
VERBOSE: [SEND-OVREQUEST] Request Header 6: accept-encoding = gzip, deflate
VERBOSE: [SEND-OVREQUEST] Request Header 7: auth = [*****REDACTED******]
VERBOSE: [SEND-OVREQUEST] Response time: 00:00:00.0351295
VERBOSE: [SEND-OVREQUEST] Response Status: 200 (OK)
VERBOSE: [SEND-OVREQUEST] Response Header 1: content-language = en-US
VERBOSE: [SEND-OVREQUEST] Response Header 2: X-Frame-Options = DENY
VERBOSE: [SEND-OVREQUEST] Response Header 3: Strict-Transport-Security = max-age=31536000
VERBOSE: [SEND-OVREQUEST] Response Header 4: X-XSS-Protection = 1; mode=block
VERBOSE: [SEND-OVREQUEST] Response Header 5: X-Content-Type-Options = nosniff
VERBOSE: [SEND-OVREQUEST] Response Header 6: Content-Length = 845
VERBOSE: [SEND-OVREQUEST] Response Header 7: Cache-Control = no-cache
VERBOSE: [SEND-OVREQUEST] Response Header 8: Content-Type = application/json
VERBOSE: [SEND-OVREQUEST] Response Header 9: Date = Thu, 13 Apr 2023 14:06:12 GMT
VERBOSE: [SEND-OVREQUEST] Response Header 10: ETag = "1"
VERBOSE: [SEND-OVREQUEST] Response Header 11: Server = Apache
VERBOSE: [SEND-OVREQUEST] FinalResponse:
{"associatedResource":{"associationType":"MANAGED_BY","resourceCategory":"ethernet-networks","resourceName":"1234_mynetwork","resourceUri":"/rest/ethernet-networks/b9a126d7-4cec-4628-b1fc-838c77972ac2"},"asso
ciatedTaskUri":null,"completedSteps":0,"computedPercentComplete":100,"created":"2023-04-13T14:06:08.139Z","data":{},"eTag":"\"1\"","expectedDuration":240,"hidden":false,"modified":"2023-04-13T14:06:10.327Z","
name":"Create","owner":"myaduser","parentTaskUri":null,"percentComplete":100,"progressUpdates":[],"startTime":"2023-04-13T14:06:08.139Z","stateReason":"Configuring
interconnects","taskErrors":[],"taskOutput":[],"taskState":"Completed","taskStatus":null,"taskType":"User","totalSteps":0,"uri":"/rest/tasks/ea27b910-dae2-4c17-8b1b-ab630e9c8598","userInitiated":true,"categor
y":"tasks","type":"TaskResourceV3","isCancellable":false}
VERBOSE: [SEND-OVREQUEST] Manual Pagination: False
VERBOSE: [SEND-OVREQUEST] Response object, no paging needed.
VERBOSE: [SEND-OVREQUEST] Cleaning up HttpWebRequest
VERBOSE: [SEND-OVREQUEST] Does nextPageUri member exist: False
VERBOSE: [SEND-OVREQUEST] Is nextPageUri Null or Empty: True
VERBOSE: [SEND-OVREQUEST] Stopping Do/Until loop because nextPageUri doesn't exist and have received all objects.
VERBOSE: [SEND-OVREQUEST] End
VERBOSE: [NEW-OVNETWORK] Setting bandwidth to network object
VERBOSE: [NEW-OVNETWORK] Getting Network object to retrieve ConnectionTemplate URI
VERBOSE: [SEND-OVREQUEST] BEGIN
VERBOSE: [SEND-OVREQUEST] Called from: New-OVNetwork
VERBOSE: [SEND-OVREQUEST] Bound PS Parameters:
Key      Value
---      -----
Hostname mycomposer
uri      /rest/ethernet-networks/b9a126d7-4cec-4628-b1fc-838c77972ac2

VERBOSE: [SEND-OVREQUEST] Process
VERBOSE: [SEND-OVREQUEST] Hostname value:
ConnectionID Name       UserName AuthLoginDomain Default
------------ ----       -------- --------------- -------
1            mycomposer myaduser mydomain.local   True

VERBOSE: [SEND-OVREQUEST] Processing 'mycomposer' appliance connection request. 1 of 1
VERBOSE: [SEND-OVREQUEST] Requested URI '/rest/ethernet-networks/b9a126d7-4cec-4628-b1fc-838c77972ac2' to 'mycomposer'
VERBOSE: [SEND-OVREQUEST] Restclient timeout setting: 20000
VERBOSE: [SEND-OVREQUEST] Request: GET https://mycomposer/rest/ethernet-networks/b9a126d7-4cec-4628-b1fc-838c77972ac2
VERBOSE: [SEND-OVREQUEST] Request Header 1: User-Agent = HPEOneView.PowerShell/6.60 (Microsoft Windows NT 10.0.17763.0)
VERBOSE: [SEND-OVREQUEST] Request Header 2: Content-Type = application/json
VERBOSE: [SEND-OVREQUEST] Request Header 3: Accept = application/json, text/html, application/xhtml+xml
VERBOSE: [SEND-OVREQUEST] Request Header 4: X-API-Version = 3800
VERBOSE: [SEND-OVREQUEST] Request Header 5: accept-language = en_US
VERBOSE: [SEND-OVREQUEST] Request Header 6: accept-encoding = gzip, deflate
VERBOSE: [SEND-OVREQUEST] Request Header 7: auth = [*****REDACTED******]
VERBOSE: [SEND-OVREQUEST] Response time: 00:00:00.3488499
VERBOSE: [SEND-OVREQUEST] Response Status: 200 (OK)
VERBOSE: [SEND-OVREQUEST] Response Header 1: Pragma = no-cache
VERBOSE: [SEND-OVREQUEST] Response Header 2: X-XSS-Protection = 1; mode=block
VERBOSE: [SEND-OVREQUEST] Response Header 3: X-Frame-Options = DENY
VERBOSE: [SEND-OVREQUEST] Response Header 4: X-Content-Type-Options = nosniff
VERBOSE: [SEND-OVREQUEST] Response Header 5: Strict-Transport-Security = max-age=31536000
VERBOSE: [SEND-OVREQUEST] Response Header 6: Transfer-Encoding = chunked
VERBOSE: [SEND-OVREQUEST] Response Header 7: Cache-Control = no-cache
VERBOSE: [SEND-OVREQUEST] Response Header 8: Content-Type = application/json;charset=utf-8
VERBOSE: [SEND-OVREQUEST] Response Header 9: Date = Thu, 13 Apr 2023 14:06:12 GMT
VERBOSE: [SEND-OVREQUEST] Response Header 10: Expires = 0
VERBOSE: [SEND-OVREQUEST] Response Header 11: ETag = 6d8fc7a5-3552-4c47-9ef0-2069b6f258ab
VERBOSE: [SEND-OVREQUEST] Response Header 12: Server = Apache
VERBOSE: [SEND-OVREQUEST] FinalResponse:
{"type":"ethernet-networkV4","uri":"/rest/ethernet-networks/b9a126d7-4cec-4628-b1fc-838c77972ac2","category":"ethernet-networks","eTag":"6d8fc7a5-3552-4c47-9ef0-2069b6f258ab","created":"2023-04-13T14:06:07.31
4Z","modified":"2023-04-13T14:06:07.801Z","scopesUri":"/rest/scopes/resources/rest/ethernet-networks/b9a126d7-4cec-4628-b1fc-838c77972ac2","vlanId":1234,"subnetUri":null,"ipv6SubnetUri":null,"connectionTempla
teUri":"/rest/connection-templates/1e3df3f5-08eb-431e-b016-061b5035cb44","privateNetwork":false,"smartLink":true,"purpose":"General","ethernetNetworkType":"Tagged","fabricUri":"/rest/fabrics/4076512a-422d-435
f-9969-59f06967c5dc","description":null,"state":"Active","status":"OK","name":"1234_mynetwork"}
VERBOSE: [SEND-OVREQUEST] Manual Pagination: False
VERBOSE: [SEND-OVREQUEST] Response object, no paging needed.
VERBOSE: [SEND-OVREQUEST] Cleaning up HttpWebRequest
VERBOSE: [SEND-OVREQUEST] Does nextPageUri member exist: False
VERBOSE: [SEND-OVREQUEST] Is nextPageUri Null or Empty: True
VERBOSE: [SEND-OVREQUEST] Stopping Do/Until loop because nextPageUri doesn't exist and have received all objects.
VERBOSE: [SEND-OVREQUEST] End
VERBOSE: [NEW-OVNETWORK] ConnectionTemplate URI '/rest/connection-templates/1e3df3f5-08eb-431e-b016-061b5035cb44'
VERBOSE: [SEND-OVREQUEST] BEGIN
VERBOSE: [SEND-OVREQUEST] Called from: New-OVNetwork
VERBOSE: [SEND-OVREQUEST] Bound PS Parameters:
Key      Value
---      -----
uri      /rest/connection-templates/1e3df3f5-08eb-431e-b016-061b5035cb44
Hostname mycomposer

VERBOSE: [SEND-OVREQUEST] Process
VERBOSE: [SEND-OVREQUEST] Hostname value:
ConnectionID Name       UserName AuthLoginDomain Default
------------ ----       -------- --------------- -------
1            mycomposer myaduser mydomain.local   True

VERBOSE: [SEND-OVREQUEST] Processing 'mycomposer' appliance connection request. 1 of 1
VERBOSE: [SEND-OVREQUEST] Requested URI '/rest/connection-templates/1e3df3f5-08eb-431e-b016-061b5035cb44' to 'mycomposer'
VERBOSE: [SEND-OVREQUEST] Restclient timeout setting: 20000
VERBOSE: [SEND-OVREQUEST] Request: GET https://mycomposer/rest/connection-templates/1e3df3f5-08eb-431e-b016-061b5035cb44
VERBOSE: [SEND-OVREQUEST] Request Header 1: User-Agent = HPEOneView.PowerShell/6.60 (Microsoft Windows NT 10.0.17763.0)
VERBOSE: [SEND-OVREQUEST] Request Header 2: Content-Type = application/json
VERBOSE: [SEND-OVREQUEST] Request Header 3: Accept = application/json, text/html, application/xhtml+xml
VERBOSE: [SEND-OVREQUEST] Request Header 4: X-API-Version = 3800
VERBOSE: [SEND-OVREQUEST] Request Header 5: accept-language = en_US
VERBOSE: [SEND-OVREQUEST] Request Header 6: accept-encoding = gzip, deflate
VERBOSE: [SEND-OVREQUEST] Request Header 7: auth = [*****REDACTED******]
VERBOSE: [SEND-OVREQUEST] Response time: 00:00:00.4994918
VERBOSE: [SEND-OVREQUEST] Response Status: 200 (OK)
VERBOSE: [SEND-OVREQUEST] Response Header 1: Pragma = no-cache
VERBOSE: [SEND-OVREQUEST] Response Header 2: X-XSS-Protection = 1; mode=block
VERBOSE: [SEND-OVREQUEST] Response Header 3: X-Frame-Options = DENY
VERBOSE: [SEND-OVREQUEST] Response Header 4: X-Content-Type-Options = nosniff
VERBOSE: [SEND-OVREQUEST] Response Header 5: Strict-Transport-Security = max-age=31536000
VERBOSE: [SEND-OVREQUEST] Response Header 6: Transfer-Encoding = chunked
VERBOSE: [SEND-OVREQUEST] Response Header 7: Cache-Control = no-cache
VERBOSE: [SEND-OVREQUEST] Response Header 8: Content-Type = application/json;charset=utf-8
VERBOSE: [SEND-OVREQUEST] Response Header 9: Date = Thu, 13 Apr 2023 14:06:13 GMT
VERBOSE: [SEND-OVREQUEST] Response Header 10: Expires = 0
VERBOSE: [SEND-OVREQUEST] Response Header 11: ETag = f7d71fb0-6e3d-4520-9d70-6c8dc0a52f76
VERBOSE: [SEND-OVREQUEST] Response Header 12: Server = Apache
VERBOSE: [SEND-OVREQUEST] FinalResponse:
{"type":"connection-template","bandwidth":{"maximumBandwidth":10000,"typicalBandwidth":2500},"name":"name-789605445-1681394767502","uri":"/rest/connection-templates/1e3df3f5-08eb-431e-b016-061b5035cb44","cate
gory":"connection-templates","eTag":"f7d71fb0-6e3d-4520-9d70-6c8dc0a52f76","created":"2023-04-13T14:06:07.507Z","modified":"2023-04-13T14:06:07.519Z","description":null,"state":"Active","status":"OK"}
VERBOSE: [SEND-OVREQUEST] Manual Pagination: False
VERBOSE: [SEND-OVREQUEST] Response object, no paging needed.
VERBOSE: [SEND-OVREQUEST] Cleaning up HttpWebRequest
VERBOSE: [SEND-OVREQUEST] Does nextPageUri member exist: False
VERBOSE: [SEND-OVREQUEST] Is nextPageUri Null or Empty: True
VERBOSE: [SEND-OVREQUEST] Stopping Do/Until loop because nextPageUri doesn't exist and have received all objects.
VERBOSE: [SEND-OVREQUEST] End
VERBOSE: [SEND-OVREQUEST] BEGIN
VERBOSE: [SEND-OVREQUEST] Called from: New-OVNetwork
VERBOSE: [SEND-OVREQUEST] Bound PS Parameters:
Key      Value

---      -----

uri      /rest/connection-templates/1e3df3f5-08eb-431e-b016-061b5035cb44

method   PUT

body     @{type=connection-template; bandwidth=; name=name-789605445-1681394767502; uri=/rest/connection-templates/1e3df3f5-08eb-431e-b016-061b5035cb44; category=connection-templates;
eTag=f7d71fb0-6e3d-45...
Hostname mycomposer

VERBOSE: [SEND-OVREQUEST] Process
VERBOSE: [SEND-OVREQUEST] Hostname value: mycomposer
VERBOSE: [SEND-OVREQUEST] Filtering for Connection Object via String: mycomposer
VERBOSE: [SEND-OVREQUEST] Processing 'mycomposer' appliance connection request. 1 of 1
VERBOSE: [SEND-OVREQUEST] Requested URI '/rest/connection-templates/1e3df3f5-08eb-431e-b016-061b5035cb44' to 'mycomposer'
VERBOSE: [SEND-OVREQUEST] Restclient timeout setting: 20000
VERBOSE: [SEND-OVREQUEST] Body object found. Converting to JSON.
VERBOSE: [SEND-OVREQUEST] HTTP Method is PUT and eTag value found f7d71fb0-6e3d-4520-9d70-6c8dc0a52f76.  Setting 'If-Match' HTTP Header.
VERBOSE: [SEND-OVREQUEST] HTTP Method is PUT. Removing 'ApplianceConnection' NoteProperty from object(s).
VERBOSE: InputObject is [PSCustomObject]. Copying...
VERBOSE: Nested [PSCustomObject] bandwidth, Processing...
VERBOSE: InputObject is [PSCustomObject]. Copying...
VERBOSE: Found ApplianceConnection prop, removing
VERBOSE: [Send-OVRequest] Redacting users Password from Verbose Output
VERBOSE: [SEND-OVREQUEST] Request Body:
{"type":"connection-template","bandwidth":{"maximumBandwidth":20000,"typicalBandwidth":2500},"name":"name-789605445-1681394767502","uri":"/rest/connection-templates/1e3df3f5-08eb-431e-b016-061b5035cb44","cate
gory":"connection-templates","eTag":"f7d71fb0-6e3d-4520-9d70-6c8dc0a52f76","created":"2023-04-13T14:06:07.507Z","modified":"2023-04-13T14:06:07.519Z","description":null,"state":"Active","status":"OK"}
VERBOSE: [SEND-OVREQUEST] Request: PUT https://mycomposer/rest/connection-templates/1e3df3f5-08eb-431e-b016-061b5035cb44
VERBOSE: [SEND-OVREQUEST] Request Header 1: User-Agent = HPEOneView.PowerShell/6.60 (Microsoft Windows NT 10.0.17763.0)
VERBOSE: [SEND-OVREQUEST] Request Header 2: Content-Type = application/json
VERBOSE: [SEND-OVREQUEST] Request Header 3: Accept = application/json, text/html, application/xhtml+xml
VERBOSE: [SEND-OVREQUEST] Request Header 4: X-API-Version = 3800
VERBOSE: [SEND-OVREQUEST] Request Header 5: accept-language = en_US
VERBOSE: [SEND-OVREQUEST] Request Header 6: accept-encoding = gzip, deflate
VERBOSE: [SEND-OVREQUEST] Request Header 7: auth = [*****REDACTED******]
VERBOSE: [SEND-OVREQUEST] Request Header 8: If-match = f7d71fb0-6e3d-4520-9d70-6c8dc0a52f76
VERBOSE: [SEND-OVREQUEST] Request Header 9: Host = mycomposer
VERBOSE: [SEND-OVREQUEST] Response time: 00:00:01.1027552
VERBOSE: [SEND-OVREQUEST] Response Status: 200 (OK)
VERBOSE: [SEND-OVREQUEST] Response Header 1: Pragma = no-cache
VERBOSE: [SEND-OVREQUEST] Response Header 2: X-XSS-Protection = 1; mode=block
VERBOSE: [SEND-OVREQUEST] Response Header 3: X-Frame-Options = DENY
VERBOSE: [SEND-OVREQUEST] Response Header 4: X-Content-Type-Options = nosniff
VERBOSE: [SEND-OVREQUEST] Response Header 5: Strict-Transport-Security = max-age=31536000
VERBOSE: [SEND-OVREQUEST] Response Header 6: Transfer-Encoding = chunked
VERBOSE: [SEND-OVREQUEST] Response Header 7: Cache-Control = no-cache
VERBOSE: [SEND-OVREQUEST] Response Header 8: Content-Type = application/json;charset=utf-8
VERBOSE: [SEND-OVREQUEST] Response Header 9: Date = Thu, 13 Apr 2023 14:06:14 GMT
VERBOSE: [SEND-OVREQUEST] Response Header 10: Expires = 0
VERBOSE: [SEND-OVREQUEST] Response Header 11: ETag = c07a9b44-3900-49f1-b8e3-a36f7bab9c7f
VERBOSE: [SEND-OVREQUEST] Response Header 12: Server = Apache
VERBOSE: [SEND-OVREQUEST] FinalResponse:
{"type":"connection-template","bandwidth":{"maximumBandwidth":20000,"typicalBandwidth":2500},"name":"name-789605445-1681394767502","uri":"/rest/connection-templates/1e3df3f5-08eb-431e-b016-061b5035cb44","cate
gory":"connection-templates","eTag":"c07a9b44-3900-49f1-b8e3-a36f7bab9c7f","created":"2023-04-13T14:06:07.507Z","modified":"2023-04-13T14:06:14.748Z","description":null,"state":"Active","status":"OK"}
VERBOSE: [SEND-OVREQUEST] Manual Pagination: False
VERBOSE: [SEND-OVREQUEST] Response object, no paging needed.
VERBOSE: [SEND-OVREQUEST] Cleaning up HttpWebRequest
VERBOSE: [SEND-OVREQUEST] Does nextPageUri member exist: False
VERBOSE: [SEND-OVREQUEST] Is nextPageUri Null or Empty: True
VERBOSE: [SEND-OVREQUEST] Stopping Do/Until loop because nextPageUri doesn't exist and have received all objects.
VERBOSE: [SEND-OVREQUEST] End
VERBOSE: [NEW-OVNETWORK] NetworkSet mynetworkset was provided, validating.
VERBOSE: [Set-OVNetworkSet] Redacting users Password from Verbose Output
VERBOSE: [Set-OVNetworkSet] Bound PS Parameters:
Name                           Value

----                           -----

AddNetwork                     {@{type=ethernet-networkV4; uri=/rest/ethernet-networks/b9a126d7-4cec-4628-b1fc-838c77972ac2; category=ethernet-networks; eTag=6d8fc7a5-3552-4c47-9ef0-2069b6f258ab;
created=2...
InputObject                    @{type=network-setV5; uri=/rest/network-sets/accbbe43-729d-4aa6-8347-9e30e4f6ca3f; category=network-sets; eTag=f55a517b-046f-4315-b62b-1006b2d1b495;
created=2023-04-13T13:49:...
ApplianceConnection            mycomposer

VERBOSE: [SET-OVNETWORKSET] Called from: New-OVNetwork
VERBOSE: [SET-OVNETWORKSET] Verify auth
VERBOSE: [TEST-OVAUTH] Caller: Set-OVNetworkSet
VERBOSE: [TEST-OVAUTH] Verify Auth for mycomposer
VERBOSE: [TEST-OVAUTH] $Appliance is [HPEOneView.Appliance.Connection]
VERBOSE: [TEST-OVAUTH] Received HPEOneview.Appliance.Connection Object:
ConnectionID Name       UserName AuthLoginDomain Default
------------ ----       -------- --------------- -------
1            mycomposer myaduser mydomain.local   True

VERBOSE: [Wait-OVTaskComplete] Redacting users Password from Verbose Output
VERBOSE: [Wait-OVTaskComplete] Bound PS Parameters:
VERBOSE: [WAIT-OVTASKCOMPLETE] Called from: New-OVNetwork
VERBOSE: [SET-OVNETWORKSET] Processing network-setV5 mynetworkset resource.
VERBOSE: [SET-OVNETWORKSET] Setting NetworkSetType to 'Regular'.
VERBOSE: [SET-OVNETWORKSET] Network [1] is a type [PsCustomObject]
VERBOSE: [SET-OVNETWORKSET] Network [1] Name: 1234_mynetwork
VERBOSE: [SET-OVNETWORKSET] Network [1] uri: /rest/ethernet-networks/b9a126d7-4cec-4628-b1fc-838c77972ac2
VERBOSE: [SET-OVNETWORKSET] Adding network '1234_mynetwork' to Network Set
VERBOSE: [SEND-OVREQUEST] BEGIN
VERBOSE: [SEND-OVREQUEST] Called from: Set-OVNetworkSet
VERBOSE: [SEND-OVREQUEST] Bound PS Parameters:
Key      Value

---      -----

uri      /rest/network-sets/accbbe43-729d-4aa6-8347-9e30e4f6ca3f

method   PUT

body     @{type=network-setV5; uri=/rest/network-sets/accbbe43-729d-4aa6-8347-9e30e4f6ca3f; category=network-sets; eTag=f55a517b-046f-4315-b62b-1006b2d1b495;
scopesUri=/rest/scopes/resources/rest/network-s...
Hostname mycomposer

VERBOSE: [SEND-OVREQUEST] Process
VERBOSE: [SEND-OVREQUEST] Hostname value:
ConnectionID Name       UserName AuthLoginDomain Default
------------ ----       -------- --------------- -------
1            mycomposer myaduser mydomain.local   True

VERBOSE: [SEND-OVREQUEST] Processing 'mycomposer' appliance connection request. 1 of 1
VERBOSE: [SEND-OVREQUEST] Requested URI '/rest/network-sets/accbbe43-729d-4aa6-8347-9e30e4f6ca3f' to 'mycomposer'
VERBOSE: [SEND-OVREQUEST] Restclient timeout setting: 20000
VERBOSE: [SEND-OVREQUEST] Body object found. Converting to JSON.
VERBOSE: [SEND-OVREQUEST] HTTP Method is PUT and eTag value found f55a517b-046f-4315-b62b-1006b2d1b495.  Setting 'If-Match' HTTP Header.
VERBOSE: [SEND-OVREQUEST] HTTP Method is PUT. Removing 'ApplianceConnection' NoteProperty from object(s).
VERBOSE: InputObject is [PSCustomObject]. Copying...
VERBOSE: Property is IEnumerable
VERBOSE: Found ApplianceConnection prop, removing
VERBOSE: [Send-OVRequest] Redacting users Password from Verbose Output
VERBOSE: [SEND-OVREQUEST] Request Body:
{"type":"network-setV5","uri":"/rest/network-sets/accbbe43-729d-4aa6-8347-9e30e4f6ca3f","category":"network-sets","eTag":"f55a517b-046f-4315-b62b-1006b2d1b495","scopesUri":"/rest/scopes/resources/rest/network
-sets/accbbe43-729d-4aa6-8347-9e30e4f6ca3f","nativeNetworkUri":null,"networkUris":["/rest/ethernet-networks/a9ecf236-4908-48cc-b2b3-34b4437c8fac","/rest/ethernet-networks/02f61570-9906-46e2-8f05-dd6345a0414d"
,"/rest/ethernet-networks/775cf9cf-04d2-49a5-95b3-dcd2a2b1d23f","/rest/ethernet-networks/ae471216-c62f-433d-b2f2-683bcd187bbc","/rest/ethernet-networks/973d7c23-1095-4969-9e09-cb0ce26fee68","/rest/ethernet-ne
tworks/f95c53ec-0137-4f15-970f-861bed6d54c6","/rest/ethernet-networks/72eb079f-189e-4531-aa0b-24de3b1be638","/rest/ethernet-networks/bdcaa9cb-baa8-476a-857f-1467e27280ac","/rest/ethernet-networks/02a0bc03-fe6
3-4f35-8085-883148157aed","/rest/ethernet-networks/75690985-e3eb-4180-9c18-b2b8d2578b6c","/rest/ethernet-networks/2de9095a-4f77-4abf-b09c-b5e1c00a986c","/rest/ethernet-networks/4f896cc9-916a-41b9-968a-e678c28
f3472","/rest/ethernet-networks/5b3236fc-b2e9-4501-99d3-be7bcca8622a","/rest/ethernet-networks/4941d92b-c722-4223-b147-0e683c61ae4d","/rest/ethernet-networks/3f784316-2135-44ba-a5d7-cf876175f673","/rest/ether
net-networks/a8bfbc81-d2d5-478a-8bc7-647a684bb161","/rest/ethernet-networks/2878626f-e1a2-41ba-8d44-fe9f7e4e0c28","/rest/ethernet-networks/5db36ecb-ad65-44ff-9b7b-815c66f13ca0","/rest/ethernet-networks/14048e
2e-6f6a-4e95-880a-2b9170849e9f","/rest/ethernet-networks/58f36f55-e18b-408e-8171-49c2955b703b","/rest/ethernet-networks/e388216e-e475-4c96-8f7a-8e138dd67fa5","/rest/ethernet-networks/9176602a-d79d-4d7f-a1a8-d
488c8eb3b09","/rest/ethernet-networks/7c41d416-33b9-476d-894b-49b61927e86a","/rest/ethernet-networks/f47db421-a790-4671-8517-8d2672544b9d","/rest/ethernet-networks/51ee4771-2937-49b8-9a50-ff89eeeaabbf","/rest
/ethernet-networks/ed3e7727-b17b-442f-8a02-f46cc7da4474","/rest/ethernet-networks/49f0448d-33bf-40c1-a27d-6b689085a2f5","/rest/ethernet-networks/6f38f3b9-8523-479b-9b6f-95698dfd2981","/rest/ethernet-networks/
3f90ca5b-ea36-4116-9c90-56ba10811159","/rest/ethernet-networks/4fb49927-90a8-4d28-8092-b7d4d546888c","/rest/ethernet-networks/215be67c-e0b1-487e-a7cf-8dbd53a3fcae","/rest/ethernet-networks/1cc8fe81-f7ad-49f7-
8a58-9dfe32fb04ad","/rest/ethernet-networks/710592c7-1cc7-45ee-9713-f03b684eb7b7","/rest/ethernet-networks/9e19f40e-10d4-44b5-bb10-c7bb6aeeed72","/rest/ethernet-networks/f8d00079-0ae9-49c6-bddc-9b99135721a7",
"/rest/ethernet-networks/b94ed598-9077-47b7-b75b-6b30d5df0026","/rest/ethernet-networks/63392891-c285-4315-a2d0-6100d8843799","/rest/ethernet-networks/e689f6eb-44fb-462f-8bcc-d732f61fc1b9","/rest/ethernet-net
works/89fbe5f0-54ef-4978-9c31-5fd02f1b3fca","/rest/ethernet-networks/8bcf0b96-926f-4115-8362-b855a29a79eb","/rest/ethernet-networks/5f4a4641-9146-4497-a77a-c87b44e7d0a0","/rest/ethernet-networks/9e3ad60f-bc0f
-42e9-bedc-f33fbef63542","/rest/ethernet-networks/06b7c125-6f1a-4d86-b156-d69dac7eb33e","/rest/ethernet-networks/c5737180-5c4a-47a5-89d0-479c3197b716","/rest/ethernet-networks/c2f83fa5-2355-411f-8a44-20c95fce
4189","/rest/ethernet-networks/f29639ba-3d08-465c-8110-ffefacb4ffb9","/rest/ethernet-networks/05fcb610-b4d7-4361-a941-1a3bddc905d5","/rest/ethernet-networks/663eb7ec-64b3-4233-b6e9-30252f518b1c","/rest/ethern
et-networks/669d8b50-e3ae-4db6-a6f8-c703b5f5df68","/rest/ethernet-networks/4735f456-cf45-4868-b588-94d6cf43790d","/rest/ethernet-networks/ca75bb44-585f-4aab-ba63-bd191f6adaac","/rest/ethernet-networks/815c34b
0-bb82-4277-a91c-554cce10e6bb","/rest/ethernet-networks/6716f8df-005c-4df1-9077-25333c947e3e","/rest/ethernet-networks/1628910b-952d-4c79-b059-6b78d23108f5","/rest/ethernet-networks/226dd0c3-751f-40aa-b385-e4
b0d23d4303","/rest/ethernet-networks/1fd17567-a31a-44c9-abf5-cc4fff3868d9","/rest/ethernet-networks/0f115c2a-a6ea-4aaa-80c0-a1246d7cd560","/rest/ethernet-networks/958c5fc2-50d0-405d-a9f9-a4fadbdbe8ea","/rest/
ethernet-networks/f299cdb8-ceca-4c44-819e-dbd625ec7ea6","/rest/ethernet-networks/e775366e-3e06-4ff5-b9a1-338ecdde0ad1","/rest/ethernet-networks/7e58a8ef-79aa-4493-a84d-ef626ac88a86","/rest/ethernet-networks/2
835ec51-4327-482d-8135-546d37a44b79","/rest/ethernet-networks/657e9238-9eb1-4e89-985b-78d535bcf69d","/rest/ethernet-networks/81259c76-5938-4e80-9e4b-b12fd0614f2e","/rest/ethernet-networks/c7f50b63-e801-4be4-9
19c-e60b8bbaa537","/rest/ethernet-networks/969d971a-f30f-4cb5-8771-7d34d9b884f7","/rest/ethernet-networks/f61c92d0-33d5-4c4e-b95e-5c55ea2deaac","/rest/ethernet-networks/c188b841-c4d6-4cde-9943-abc968f51e8d","
/rest/ethernet-networks/98a805f9-a90e-4c1a-9182-dc39739f8ab7","/rest/ethernet-networks/8cd408ad-653d-43af-9737-754c6f3a0d84","/rest/ethernet-networks/5608c5c7-2e91-4660-aa80-bbebc6acd97a","/rest/ethernet-netw
orks/04a7bb48-238d-43dd-89a2-ac1947ecb7f2","/rest/ethernet-networks/68bac0d5-9b0f-4af3-b29b-e7581583c8f2","/rest/ethernet-networks/cdf962de-795d-4a3a-87a1-7c6f58095426","/rest/ethernet-networks/dd1b8430-88e1-
48ee-ac5e-62b51e18a91a","/rest/ethernet-networks/c5abac93-d993-4d65-9464-ca197c7cf226","/rest/ethernet-networks/e814b67d-0328-49d2-b29d-bc9f00b4a8cc","/rest/ethernet-networks/2eb5a28f-a00f-4e1b-9ff6-eeb961930
4db","/rest/ethernet-networks/9f3524b5-e1dd-4b99-934e-0f967e22d342","/rest/ethernet-networks/d96f3e6f-262b-4944-a7f3-879b797dd5bf","/rest/ethernet-networks/46710a54-617d-444f-938f-ccf500c8d481","/rest/etherne
t-networks/4c0d1364-ba00-434f-ac17-8735e7d40381","/rest/ethernet-networks/2f097d0e-4896-4d59-876b-1eceedbff4f7","/rest/ethernet-networks/608c5a11-216b-473c-a130-d887c96e94fb","/rest/ethernet-networks/006032e1
-f6e5-4f74-9404-87ed5d2cff50","/rest/ethernet-networks/ea19e6d0-7d0f-44b9-8df9-c748907b54f8","/rest/ethernet-networks/38434ccb-a107-4d12-9062-87bff7f1e15f","/rest/ethernet-networks/df0d9e00-4529-499d-9d8f-cc4
543d31bf6","/rest/ethernet-networks/522f03f4-0ed8-4a0b-a85e-ccdfe2e6aa90","/rest/ethernet-networks/54b2a0c8-64cc-4e08-b36f-c82a74507427","/rest/ethernet-networks/d0012487-54b5-477a-8b22-e2babda815e6","/rest/e
thernet-networks/5245bcd0-3812-4815-a8c3-7a07101f38e0","/rest/ethernet-networks/b259b59f-b25a-41d1-89a8-c52f01870e32","/rest/ethernet-networks/10a21650-2985-4b16-a202-429fe30f3d5e","/rest/ethernet-networks/8c
d604d9-416a-4de6-982c-a4c19d7e0db8","/rest/ethernet-networks/270506ce-2d7a-4a04-afc5-96bd2e8f64e5","/rest/ethernet-networks/58db6785-4bd5-4fc8-a125-33aa7833c1a0","/rest/ethernet-networks/1c3c538e-3d3d-445d-8b
2c-57e1bc42b5f3","/rest/ethernet-networks/b0aab802-ee82-4fdf-b2d6-f585394ce54f","/rest/ethernet-networks/13e94df9-9985-4d72-8670-bede9112b7cd","/rest/ethernet-networks/e6f0fd3e-b7bb-48d6-94b1-e87a0f46526d","/
rest/ethernet-networks/d72f6fc6-1f62-48dd-99f1-2f32f824a041","/rest/ethernet-networks/b1f1ae79-3086-48a0-8bbe-cd86a7c681d0","/rest/ethernet-networks/12b018e2-963b-4ed2-a170-03c7da48e3c9","/rest/ethernet-netwo
rks/4078cb48-f251-4284-871b-cdd459874234","/rest/ethernet-networks/712619e9-562c-4e18-b9c6-f5c36490315c","/rest/ethernet-networks/9c7719e5-01f7-42e3-a91d-b1f5c47bb0c7","/rest/ethernet-networks/92c6fbe3-6ce6-4
87a-9b14-bbaaaece4908","/rest/ethernet-networks/226d5cea-daab-4deb-aa54-dfda804c2823","/rest/ethernet-networks/3fe54d2a-2890-4694-ab67-54f343e2c7b0","/rest/ethernet-networks/a3b72ce4-5f2f-4655-a2eb-e691f915c8
3f","/rest/ethernet-networks/982498e6-1198-4537-b9f7-746c8a17fc97","/rest/ethernet-networks/5df335df-0b2b-4ff6-8f5a-55da9f13b671","/rest/ethernet-networks/d0b1371c-93d2-4cb6-8ccd-3d29116df330","/rest/ethernet
-networks/5c8849ad-ef89-4e01-bea4-f7d7461f7e57","/rest/ethernet-networks/52ae6491-490b-495d-a05f-5b5b1950b612","/rest/ethernet-networks/0d69d749-814a-4599-a6ab-4ed1bc688f0a","/rest/ethernet-networks/cf5fc08b-
7d7d-438e-af0c-e4904b3857f4","/rest/ethernet-networks/30c539e0-3aec-420c-8d2e-73cedded3605","/rest/ethernet-networks/f8339e3b-d7aa-4600-b845-e232e9f429ea","/rest/ethernet-networks/36501888-dea0-4652-aabc-bd28
dfdd8f4e","/rest/ethernet-networks/795a2f5a-2827-4711-a423-4b268203850f","/rest/ethernet-networks/d6f459ce-7da1-46dc-8343-19d29e20992e","/rest/ethernet-networks/56b0c3bc-607b-4292-9081-3d9275fdb61d","/rest/et
hernet-networks/2dd37f72-0083-4307-8e61-62b657acfff9","/rest/ethernet-networks/04e00c9d-af0e-421c-9bd7-15fe60992a52","/rest/ethernet-networks/1c056920-a17e-4883-a857-f70070efeadd","/rest/ethernet-networks/bee
fbf52-3275-4d82-9a95-ec8fe6b8f920","/rest/ethernet-networks/ea0f53ee-dbdd-4207-8ce0-cbad14f54da1","/rest/ethernet-networks/817bc7bc-649e-47d2-96cf-bc9edd955ef9","/rest/ethernet-networks/f098bfd4-d942-4ac9-ab2
8-5e1b5f241878","/rest/ethernet-networks/031fde02-bbb0-4ba3-908f-4d4358f04a1b","/rest/ethernet-networks/6ed7147d-11cf-4a36-adc8-9a6dfe643940","/rest/ethernet-networks/da92431c-461b-45c2-ac2e-164c96334a10","/r
est/ethernet-networks/5978474a-f93a-4133-ad61-9b55892f1f74","/rest/ethernet-networks/7b539f0c-cc87-4b0a-9c32-441cbca4f12b","/rest/ethernet-networks/70be2fcd-c21b-4805-b5f0-a4dc926cfe6f","/rest/ethernet-networ
ks/6e593df9-a52b-44b4-95fc-22cfcbc1f10d","/rest/ethernet-networks/75c6d777-421a-45bc-8ce2-fa92256d9b3c","/rest/ethernet-networks/5d4300df-8b56-46d3-b056-f471fa29cf9b","/rest/ethernet-networks/22bf81e5-7b6a-43
80-b792-ddd322865b1a","/rest/ethernet-networks/94f142f4-aa64-41e8-b908-5bdc39e11d98","/rest/ethernet-networks/9bd5bd5a-038e-44a4-8b65-ad1ba0c48e4e","/rest/ethernet-networks/50d510db-d7d5-4961-bbd6-83d571680bc
3","/rest/ethernet-networks/9fc31728-2e7b-4c84-a670-9dd67cba01f5","/rest/ethernet-networks/f4e27c5e-c80b-4e5b-8766-0ae6506d8fce","/rest/ethernet-networks/4aa32c68-324b-40c7-909c-d28ccc727728","/rest/ethernet-
networks/c655d846-2ade-45d1-944c-ebbfaa38e294","/rest/ethernet-networks/846bf3f2-2243-457e-9257-4cbdebfaf158","/rest/ethernet-networks/9c491572-b060-4a49-bdce-4141fbd8e046","/rest/ethernet-networks/d44b0ddf-d
45d-4650-ac2d-b734802ced73","/rest/ethernet-networks/8ba74db7-1c68-4e68-bc4d-3935c2d8fd94","/rest/ethernet-networks/e1e0487e-5f3b-408d-bd34-64e2cd52cd0b","/rest/ethernet-networks/fbb7e0dd-59bf-4ee6-b385-4e3a3
bfa1359","/rest/ethernet-networks/69c4c641-96b2-4f21-a1e9-d0776d7bc94f","/rest/ethernet-networks/00741510-be0e-4a7a-ad30-6197f21353ef","/rest/ethernet-networks/d8f2dd81-b2f1-45c9-b242-d6e7f3086f2c","/rest/eth
ernet-networks/5807a8c9-0c0b-460c-9a07-bd2643ccf57b","/rest/ethernet-networks/ad2a61d7-4106-4d32-b55b-d397744e40db","/rest/ethernet-networks/01b7afbb-6cc9-46eb-a03f-caca7682efb9","/rest/ethernet-networks/df06
ddb7-0880-41c2-a95a-5dff3d0d691e","/rest/ethernet-networks/e9f31116-f5ff-4f3a-a69d-299c51c6e8d5","/rest/ethernet-networks/5396fcfc-b882-4278-8d8d-67f3725ae2ca","/rest/ethernet-networks/8bc354af-7156-4d8b-b819
-c721016a9ee7","/rest/ethernet-networks/b3ab5940-c234-4c83-9349-a1bcdf4d016e","/rest/ethernet-networks/a1894181-1f97-45a0-970c-0b0e140ad03a","/rest/ethernet-networks/c020a4d6-2a37-4980-aa5e-73198b768137","/re
st/ethernet-networks/8f61820d-520f-48de-a0f1-6cc449b60832","/rest/ethernet-networks/2f4f3026-8e12-468c-98e9-20eff5f72ea2","/rest/ethernet-networks/9e364f7f-3f6a-40da-afff-41280d81eb95","/rest/ethernet-network
s/c8009ba6-bb88-404c-9fb1-c8202b77889f","/rest/ethernet-networks/77915607-d747-4bf3-97a7-98961e560cdb","/rest/ethernet-networks/124d6d4c-7617-4ade-ac0c-e503f757021b","/rest/ethernet-networks/ab464169-f51d-455
6-8189-2a8ae321fb93","/rest/ethernet-networks/92885c7f-4f2d-4b26-aaac-6a126f2cb341","/rest/ethernet-networks/a8de4ff5-9252-46c7-b556-1914c43bb823","/rest/ethernet-networks/0eddde0a-ad83-46ca-8328-e6bf2f5db810
","/rest/ethernet-networks/81b43175-23ff-4a80-be89-18a2bc733644","/rest/ethernet-networks/ee1ab76b-41f4-458d-badf-f6e41ea53f74","/rest/ethernet-networks/507e4b24-2a86-402a-9fd2-269bde470323","/rest/ethernet-n
etworks/fc874f99-789a-4c48-863d-4e9b2d111367","/rest/ethernet-networks/6cd1ca03-ccb1-452e-aab7-bcfbf398a120","/rest/ethernet-networks/803842ea-ec5d-4820-87ee-8c5d82909d8c","/rest/ethernet-networks/fd3cc4cc-be
d6-406d-9ae8-e2bc7986d592","/rest/ethernet-networks/28a6cb7b-edbd-4f8f-8149-4ee90e2a4a2e","/rest/ethernet-networks/c0f2203b-6e9b-4aae-8b7f-577e7d77681e","/rest/ethernet-networks/4fa93fed-c662-4054-bc1e-eee7b3
3370c0","/rest/ethernet-networks/f342c70c-d8b9-4c63-aea1-4d3eba9d3192","/rest/ethernet-networks/fc5d1e7a-2795-4d38-abc9-9d9df1838e58","/rest/ethernet-networks/d6006451-49d7-4b0e-877c-90cd3acdbe2e","/rest/ethe
rnet-networks/c3fc1bf1-ba6e-46ef-a10f-9fc6e447de31","/rest/ethernet-networks/96998413-30f5-4753-b2e9-fe91f00ba64e","/rest/ethernet-networks/e4ad3e03-ce95-4d34-a506-07c1d4c91d4d","/rest/ethernet-networks/39a88
813-03f3-4354-ae3b-301f24580def","/rest/ethernet-networks/f550eb1c-265a-4ef4-8bd4-a327eac91b91","/rest/ethernet-networks/105b6f9f-c1fa-4caf-8082-4a17da19c8c5","/rest/ethernet-networks/971f2129-c2b5-44b8-ae0b-
89f04caec270","/rest/ethernet-networks/3b8e411e-1f50-4e3b-afc4-1822ed1698a9","/rest/ethernet-networks/90ca39b4-b838-45fc-b9f5-79b3bd0aedf9","/rest/ethernet-networks/3c760deb-1815-4bc4-b0cc-8c25700cd53c","/res
t/ethernet-networks/be3df7e8-21ff-482b-836b-3246cb15fa38","/rest/ethernet-networks/e4742c79-a4e9-426c-819f-b73acd1906a2","/rest/ethernet-networks/44aaa637-1742-45d7-8c6b-1002d15bbbc8","/rest/ethernet-networks
/8feee4c5-3dbe-4175-96e1-350d1d179c1b","/rest/ethernet-networks/b855b6c0-2358-4e74-9a3a-0a64eebaf288","/rest/ethernet-networks/2775c71c-cf7c-4f6b-b706-5e462ba06ced","/rest/ethernet-networks/c7842e3c-a7ad-4164
-b662-1bd72adb31e1","/rest/ethernet-networks/3b215b84-b7ec-437a-9f30-f46a64cb9321","/rest/ethernet-networks/bc253fa3-63c3-4995-8b70-a16ca20f3007","/rest/ethernet-networks/a2dcd022-15de-4ff6-8485-ad8fa8aab8b6"
,"/rest/ethernet-networks/c45e18f6-4603-4607-ab8a-e1d4a6cf6d43","/rest/ethernet-networks/c3dbbf04-10fe-444a-af1e-fa0fb2d79472","/rest/ethernet-networks/95b1697e-38dc-4ab6-8894-fb370743bb3a","/rest/ethernet-ne
tworks/4378ff63-f17a-41c2-80a9-a0d2460be6da","/rest/ethernet-networks/548180a7-f93f-44b4-91bb-f87113ea82e3","/rest/ethernet-networks/a7d84c75-f6ea-4c0e-845b-945f4ecc3282","/rest/ethernet-networks/474734a0-054
4-4576-a288-60f156b3cf2a","/rest/ethernet-networks/7314d054-85e7-4f97-8e6b-b3903396e61b","/rest/ethernet-networks/1dd188d0-a910-4e89-aeaf-be2148b18c5e","/rest/ethernet-networks/2d966da8-a25f-4812-8257-21a66c3
0e9ea","/rest/ethernet-networks/b2f78765-867e-4909-97e9-207f67c450fa","/rest/ethernet-networks/36a7371c-7965-47bd-9355-a5cc97ae4b3f","/rest/ethernet-networks/36776108-fea1-435c-ad56-542a7c5f239f","/rest/ether
net-networks/a44800c0-0fd8-4277-80ff-97c726297d20","/rest/ethernet-networks/f5d0b75e-6688-4ff9-87fa-b2b15720639b","/rest/ethernet-networks/5a7c0e9d-f22d-4763-912e-087aaab238b9","/rest/ethernet-networks/cbd756
3e-1d2b-44d0-b00f-c4cbc0558ec2","/rest/ethernet-networks/179eecd3-85e1-46d8-9689-8d287d70e55b","/rest/ethernet-networks/83941b84-f603-4e18-a4dd-33e074bf27a1","/rest/ethernet-networks/ea3d5ef3-c917-4bfc-9e45-d
c231676544f","/rest/ethernet-networks/ac52acd8-72e1-4574-8353-2e244362839a","/rest/ethernet-networks/8a7dc50a-b8f1-4923-9256-aa66ff18865e","/rest/ethernet-networks/ec53b322-f9f4-48db-b61c-839cd392495c","/rest
/ethernet-networks/3dee16d9-046f-4230-a77e-1c44fe3df294","/rest/ethernet-networks/9448b685-2f48-4418-901b-4721e2a82b9e","/rest/ethernet-networks/a582dc0c-4d77-451d-a65f-1e1043111caf","/rest/ethernet-networks/
307577be-9a8b-4792-8fb9-d40f2dbc75a7","/rest/ethernet-networks/8180f877-1ca1-42f9-a5d8-512898340a1b","/rest/ethernet-networks/98b96dae-6c3f-401c-a54e-408fc715def6","/rest/ethernet-networks/a9c4f92b-352c-4d80-
82e4-8ef27dd2442a","/rest/ethernet-networks/45ef8957-362f-49db-bd18-456bf9d686af","/rest/ethernet-networks/3b0a1b6a-a814-48fc-845e-dc97a985589c","/rest/ethernet-networks/247b6451-25ed-4892-808b-72e06370bf72",
"/rest/ethernet-networks/c7c8c09c-3ff1-4777-a24f-fa69c5892fcb","/rest/ethernet-networks/81b66f13-a686-4943-bdd6-7a93fd821a55","/rest/ethernet-networks/fb2a69f9-0a51-477e-9b06-e9c6a7f53915","/rest/ethernet-net
works/de378368-cebc-4557-8b7f-79235e28c7e1","/rest/ethernet-networks/e79c1ab1-2cac-49ad-9d5e-c7cecabbcb02","/rest/ethernet-networks/d2828aa0-1bd2-451a-8e6b-acc7347696dd","/rest/ethernet-networks/b4ed3024-4c77
-48e4-af74-901d920a897b","/rest/ethernet-networks/3271b5dc-e0b5-4671-ae3e-597aa8fd9bd6","/rest/ethernet-networks/ce615b37-e991-4b71-8b94-c2c22614b212","/rest/ethernet-networks/c3a8dae9-3b04-441b-bd85-f94daf66
3d2c","/rest/ethernet-networks/c603768c-5af3-4135-bb0f-5f65f994f573","/rest/ethernet-networks/c8d6638c-cc97-4e22-b503-d48ca64418de","/rest/ethernet-networks/c961ca62-729b-483d-8e9f-46191455bd07","/rest/ethern
et-networks/2ee433ed-855b-4f22-ad30-a0b86468ae9a","/rest/ethernet-networks/afa0c1dc-17ca-4a20-9280-c398039959d0","/rest/ethernet-networks/30a912cf-56be-446d-91de-eccec1fde1ff","/rest/ethernet-networks/40db59e
d-45a7-4613-842a-331dbf82f488","/rest/ethernet-networks/5745d232-befe-48bf-b84d-140b72f2ed52","/rest/ethernet-networks/ba36d46e-7c2e-4d3c-b2b1-dcfaf5e33cc3","/rest/ethernet-networks/254f4fbd-f50d-49f6-a6ef-02
1a4ba56153","/rest/ethernet-networks/d05363ff-93c4-4772-b827-430f8a13b384","/rest/ethernet-networks/d6722411-bba4-4f81-bbff-e7e46b811915","/rest/ethernet-networks/b1070bde-6bca-409c-9aa2-fc363a56b3b6","/rest/
ethernet-networks/2bea2c69-cd34-4d8d-b0f1-1f49f7c7e4df","/rest/ethernet-networks/ed933d37-d725-4f76-86b4-77b830790e8f","/rest/ethernet-networks/0c31322b-816c-4242-ac0d-51abbc6cdc4e","/rest/ethernet-networks/0
cb75ffd-6d88-42a7-ae56-1a3fb59b2a3e","/rest/ethernet-networks/d5d50d52-2c08-477a-8231-5c67e866108b","/rest/ethernet-networks/4b080372-f933-45ec-8e70-e355d6d57337","/rest/ethernet-networks/10b562b4-6f8e-43bb-8
a9a-cd56a98b6f6f","/rest/ethernet-networks/5912ff54-17a5-45a7-8054-07addedcd007","/rest/ethernet-networks/750e6d2b-d82b-4e01-8f85-7577ec0921c6","/rest/ethernet-networks/326079f2-27ba-418f-b24b-2df1e014017f","
/rest/ethernet-networks/7a3fb241-2e70-4c00-ad0d-a34aa8b1eccb","/rest/ethernet-networks/2bc94c96-c2c5-4fef-88fa-62ce270c3e24","/rest/ethernet-networks/778e7508-26d5-4159-9b15-3a149724d936","/rest/ethernet-netw
orks/f5aac03d-0381-498a-9066-2fbd247cf5f3","/rest/ethernet-networks/180e6950-8f80-4ec5-ad93-3b285be54ddc","/rest/ethernet-networks/71430adb-28e2-4556-8b93-e57802655379","/rest/ethernet-networks/6c1343f0-3e79-
4798-a9ef-0ea127538cf8","/rest/ethernet-networks/d5f48cd9-5de2-4ca7-825b-e6db17050cdd","/rest/ethernet-networks/727ed4b0-a74e-4018-899f-1a9e750d378e","/rest/ethernet-networks/333ef6e0-9bcf-4479-861f-88e864c63
f78","/rest/ethernet-networks/d180b5b8-0f9a-4f23-b055-f78ef8a4ce54","/rest/ethernet-networks/d68c160f-5786-4686-acd2-f5a13dfce9f3","/rest/ethernet-networks/e7af6f38-f2fe-4e05-b13a-3733088c3f81","/rest/etherne
t-networks/215cea14-8d2d-4168-a4cb-cc255d59ac88","/rest/ethernet-networks/dea36631-e520-44cc-9b63-c95f6d4a2621","/rest/ethernet-networks/4fa91ea7-260e-4acd-a462-18439a3ba7a2","/rest/ethernet-networks/59586e0e
-a780-46c5-b163-765c279d06f1","/rest/ethernet-networks/dbde8ebb-170d-413c-826f-c1b202bcb2f4","/rest/ethernet-networks/c8bd2ae3-58de-4869-bb5c-f53f951d3517","/rest/ethernet-networks/487323e0-544d-4ca7-a52c-9ec
9cb1307c3","/rest/ethernet-networks/72ffddc9-c3db-4690-8d24-b4dc7160b3aa","/rest/ethernet-networks/198dd6e4-bd83-4107-a8d1-0261fe3b6b7d","/rest/ethernet-networks/9d13056d-06b3-4041-ae9c-8d11a24cc556","/rest/e
thernet-networks/75682bd0-9830-4303-aa61-130f00c7869c","/rest/ethernet-networks/f71d354c-e9f6-4803-a7db-bdca9706afd4","/rest/ethernet-networks/cbda18c7-dab1-44da-8b6f-156c9246f213","/rest/ethernet-networks/3a
db2e11-79f3-48dd-bac9-60f2bf101a47","/rest/ethernet-networks/5d9909b8-7129-4b1c-bfbf-22608225a4ce","/rest/ethernet-networks/d40bf5dc-ede8-421a-8444-45fee5dc2082","/rest/ethernet-networks/5bc74494-e830-4b39-87
5d-7f84b9b85661","/rest/ethernet-networks/b561f4a0-3cfe-4777-b4dd-c404a41a3bbe","/rest/ethernet-networks/c6aa49dc-d3f1-4f37-a91e-d7f82a047261","/rest/ethernet-networks/2822ad8e-d129-4138-8db5-c44c8f57b56c","/
rest/ethernet-networks/35f66a4c-c52c-4342-bfa0-8a203a6ac570","/rest/ethernet-networks/382eff99-26c6-4432-8787-55c06336ebab","/rest/ethernet-networks/1f916169-1f4a-437f-ade3-7ef2a34866d6","/rest/ethernet-netwo
rks/24d2ad54-a9ad-45de-9d11-685b02338b53","/rest/ethernet-networks/bb11353f-b3b9-4fb3-a33f-024f495a0d58","/rest/ethernet-networks/87177b27-aa07-4a0b-be49-ca0fe00ed761","/rest/ethernet-networks/92866965-6ebd-4
9ee-90be-70fadaf2f226","/rest/ethernet-networks/cb572ec5-eaa4-4a7d-9e50-8848047fc544","/rest/ethernet-networks/73d64b3f-d73a-49fe-b6f3-ba94f177fe52","/rest/ethernet-networks/8261f6a7-8d52-4f75-9605-3d01d05ede
39","/rest/ethernet-networks/b37e5894-259b-4881-908a-90ed66c5f563","/rest/ethernet-networks/4487c5bc-b9ac-49d7-9b52-9d24cfecfefb","/rest/ethernet-networks/40451e89-0be4-4812-822f-a0f842f63c1a","/rest/ethernet
-networks/b0f1b5b0-59e2-4799-a786-3a8fd7646aca","/rest/ethernet-networks/128feefa-c194-4641-9809-869170479019","/rest/ethernet-networks/e5c52e7c-61bc-41f2-96f3-5e18246a7938","/rest/ethernet-networks/90760720-
2e34-44ba-b271-b3c697f51e60","/rest/ethernet-networks/d9400798-516a-4ad4-984d-fb666be26cee","/rest/ethernet-networks/fdf717d1-c460-49d2-81ff-f1c526432c55","/rest/ethernet-networks/f3ab308a-7b8a-4fb9-8f1d-a455
b4457589","/rest/ethernet-networks/3c7318b4-6fe6-49ff-9269-fee0d1556481","/rest/ethernet-networks/6e4c9bc9-e7c8-467d-9546-552e8cb26b8f","/rest/ethernet-networks/ef9043fd-13d3-40a5-a381-1332b628161e","/rest/et
hernet-networks/43e26081-e31c-4ed1-bc29-8526b34d4a74","/rest/ethernet-networks/b9a126d7-4cec-4628-b1fc-838c77972ac2"],"connectionTemplateUri":"/rest/connection-templates/46451848-d9e3-4ad0-b2ab-f216c82b2046",
"networkSetType":"Regular","description":null,"name":"mynetworkset"}
VERBOSE: [SEND-OVREQUEST] Request: PUT https://mycomposer/rest/network-sets/accbbe43-729d-4aa6-8347-9e30e4f6ca3f
VERBOSE: [SEND-OVREQUEST] Request Header 1: User-Agent = HPEOneView.PowerShell/6.60 (Microsoft Windows NT 10.0.17763.0)
VERBOSE: [SEND-OVREQUEST] Request Header 2: Content-Type = application/json
VERBOSE: [SEND-OVREQUEST] Request Header 3: Accept = application/json, text/html, application/xhtml+xml
VERBOSE: [SEND-OVREQUEST] Request Header 4: X-API-Version = 3800
VERBOSE: [SEND-OVREQUEST] Request Header 5: accept-language = en_US
VERBOSE: [SEND-OVREQUEST] Request Header 6: accept-encoding = gzip, deflate
VERBOSE: [SEND-OVREQUEST] Request Header 7: auth = [*****REDACTED******]
VERBOSE: [SEND-OVREQUEST] Request Header 8: If-match = f55a517b-046f-4315-b62b-1006b2d1b495
VERBOSE: [SEND-OVREQUEST] Request Header 9: Host = mycomposer
VERBOSE: [SEND-OVREQUEST] Response time: 00:00:11.8164178
VERBOSE: [SEND-OVREQUEST] Response Status: 202 (Accepted)
VERBOSE: [SEND-OVREQUEST] Response Header 1: Pragma = no-cache
VERBOSE: [SEND-OVREQUEST] Response Header 2: X-XSS-Protection = 1; mode=block
VERBOSE: [SEND-OVREQUEST] Response Header 3: X-Frame-Options = DENY
VERBOSE: [SEND-OVREQUEST] Response Header 4: X-Content-Type-Options = nosniff
VERBOSE: [SEND-OVREQUEST] Response Header 5: Strict-Transport-Security = max-age=31536000
VERBOSE: [SEND-OVREQUEST] Response Header 6: Content-Length = 0
VERBOSE: [SEND-OVREQUEST] Response Header 7: Cache-Control = no-cache
VERBOSE: [SEND-OVREQUEST] Response Header 8: Date = Thu, 13 Apr 2023 14:06:15 GMT
VERBOSE: [SEND-OVREQUEST] Response Header 9: Expires = 0
VERBOSE: [SEND-OVREQUEST] Response Header 10: Location = /rest/tasks/cf80700b-1448-4707-8489-700a06173857
VERBOSE: [SEND-OVREQUEST] Response Header 11: Server = Apache
VERBOSE: [SEND-OVREQUEST] FinalResponse:
VERBOSE: [SEND-OVREQUEST] Response:
VERBOSE: [SEND-OVREQUEST] Manual Pagination: False
VERBOSE: [SEND-OVREQUEST] Async Task (HTTP 202) received
VERBOSE: [SEND-OVREQUEST] Async Task URI: /rest/tasks/cf80700b-1448-4707-8489-700a06173857
VERBOSE: [SEND-OVREQUEST] BEGIN
VERBOSE: [SEND-OVREQUEST] Called from: Send-OVRequest
VERBOSE: [SEND-OVREQUEST] Bound PS Parameters:
Key      Value
---      -----
uri      /rest/tasks/cf80700b-1448-4707-8489-700a06173857
method   GET
Hostname mycomposer
[...]
Name           Status    Details
----           ------    -------
1234_mynetwork Completed @{associatedResource=; associatedTaskUri=; completedSteps=0; computedPercentComplete=100; created=2023-04-13T14:06:08.139Z; data=; eTag="1"; expectedDuration=240; hidden=False; mod...

myaduser@mycomputer>

Version Information

HPE OneView PowerShell Library Version (Get-HPOVVersion or $PSLibraryVersion): 6.30.2928.3678/6.60.3332.3428 HPE OneView Appliance Version (Get-HPOVVersion -ApplianceVer): 6.60.02.467825.00 Output from $PSVersionTable on your Windows Host:

myaduser@mycomputer> $PSVersionTable

Name                           Value
----                           -----
PSVersion                      5.1.17763.3770
PSEdition                      Desktop
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}
BuildVersion                   10.0.17763.3770
CLRVersion                     4.0.30319.42000
WSManStackVersion              3.0
PSRemotingProtocolVersion      2.3
SerializationVersion           1.1.0.1

myaduser@mycomputer>
ChrisLynchHPE commented 1 year ago

So, this is a bug with Set-OVNetworkSet inadvertently changing the Network Set type when it should not. I have been finalizing the 8.30 library release, and will get this fixed in both 8.00 and 8.30.

berndtfromat commented 1 year ago

if this is possible pls also for the last valid 6.60 version or are newer cmdlets compatible with older Oneviews? I guess there is no distinct positive answer for this question, the other way around is more likely to work.

ChrisLynchHPE commented 1 year ago

Yes, I will backport the fix to the 6.60 library for LTS customers.

ChrisLynchHPE commented 1 year ago

Providing an update: I have finally resolved a number of lab issues that have caused me serious delays in getting updates published. I'm testing an 8.00 release now, then a 6.60 release. Should have them published over the US holiday weekend.

ChrisLynchHPE commented 1 year ago

I have just published an updated 8.00 library, and am in the process of publishing a 6.60 library update.

ChrisLynchHPE commented 1 year ago

This is fixed in the following releases:

Please verify before this issue is closed.

berndtfromat commented 1 year ago

thx a lot! creation of network did work this time without changing the networksettype and still having more entries than 333:

me@server> New-OVNetwork -Name 1234_mynetwork -Type Ethernet -VlanId 1234 -NetworkSet (Get-OVNetworkSet -Name mynetworkset)

Name           Status    Details
----           ------    -------
1234_mynetwork Completed @{associatedResource=; associatedTaskUri=; completedSteps=0; computedPercentComplete=100; created=2023-06-06T15:12:44.850Z; data=; eTag="1"; expectedDuration=240; hidden=False; modif...

me@server> Get-OVNetworkSet -Name mynetworkset | ft networkSetType

networkSetType
--------------
Large

me@server> (Get-OVNetworkSet -Name mynetworkset | select -ExpandProperty networkUris | measure).count
335
me@server>
berndtfromat commented 1 year ago

fixed, verified with 6.60.3530.1622