Forum Discussion
The_Y
Cirrus
Mar 28, 2017iControl Rest Add Vlans to VCMP guest
Hello All, I have been working automating some of our L2 and L3 tasks and running into a an issue where I am unable to add the created vlans to VCMP Guest. I am using powershell to do that. My un...
connors_233630
Apr 06, 2017Historic F5 Account
It looks like you are attempting to patch the contents of the vlans property, when the rest method expects a vcmp guest object. I think you need to stick $GuestVlans back into a guest-like object like (pseudocode)
{"vlans":$GuestVlans}, and that may do the trick.
I'm also not certain about the way you are adding vlans, which looks like it will just result in one long string
"Common/OriginalVlanCommon/NewVlan1Common/NewVlan2", but I'm not familiar enough with these powershell commands to be certain.The_Y
Cirrus
Apr 07, 2017Good call. I 'll definitely give it a try. Thanks for the answer
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects