Ruby and iControl: Understanding Complex Type Syntax
Anyone who has worked with SOAP knows it can make a lot of things easier, but it is not without its hurdles. Interpreting complex type syntax for use with a SOAP driver can present one of the largest...
Published Jan 27, 2011
Version 1.0George_Watkins_
Historic F5 Account
Joined September 17, 2008
George_Watkins_
Historic F5 Account
Joined September 17, 2008
Sep 21, 2011
is there a syntax error with your virtualServerResource definition? I don't understand your bracketing. for example, to me it looks like your 2nd bracket is facing the wrong way "]" instead of "["
shouldn't it be something like below (which i think applies the 1st 3 profiles to your 1st VS and the last profile to the 2nd VS):
profiles -> VirtualServerProfile[][]
[ [ { 'profile_context' => 'PROFILE_CONTEXT_TYPE_SERVER', 'profile_name' => 'tcp-lan-optimized' }, \
{ 'profile_context' => 'PROFILE_CONTEXT_TYPE_CLIENT', 'profile_name' => 'tcp' }, \
{ 'profile_context' => 'PROFILE_CONTEXT_TYPE_ALL', 'profile_name' => 'http-lan-optimized-caching' } ], \
[ { 'profile_context' => 'PROFILE_CONTEXT_TYPE_ALL', 'profile_name' => 'udp' } ] \
] \