Forum Discussion
rob_carr
Cirrocumulus
Apr 22, 2008Trying to add a vlan to my config.
I'm trying to programmatically add a vlan to my running config. Of course, the create function in iControl::Networking::VLAN returns nothing (literally - the wiki for the api says 'null'). ...
Apr 22, 2008
Which langauge are you using? The reason that I ask is that the dynamic languages like perl and python can get you into trouble if you are not packaging the arrays properly. If you pass a scalar when an array is expected, the server side will interpret that as a zero sized array and thus return with no error. If you could provide more details and possibly some sample code, I may be able to help diagnose things further.
If you do want to verify a method succeeded such as the VLAN.create() call, you can always call the get_list() method after the fact and look for the entry you created.
Again, if you pass along more details we'll see what we can do to get your VLANs created.
-Joe
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
