Forum Discussion

jimbob22_43693's avatar
jimbob22_43693
Icon for Nimbostratus rankNimbostratus
Oct 01, 2008

what to pass into VLANGroup::add_member?

Hi,

 

 

I'm trying to add a vlan to a vlanGroup using iControl. It's not clear to me what to pass in for the member_vlans parameter. The SDK says to use a String[][]. I assume the first dimension of the String[][] would be the vlan name, what is the second dimension?

 

 

Thanks

 

Danny Agapito
  • Don_MacVittie_1's avatar
    Don_MacVittie_1
    Historic F5 Account
    Hey Danny,

     

     

    The first dimension is the vlan group, the second dimension is the names of the vlans to add to that vlan group name. In short, there is one row per entry in the vlans[] parameter. So if vlans[0] was "myVlan", member_vlans[0][n] would be added to myVlan.

     

     

    Note that I haven't used this particular call, I'm quoting from docs and the standards used in implementing iControl.

     

     

    Hope that helps!

     

    Don.