Forum Discussion
Sep 26, 2008
Wish I could help you out but I no almost nothing about Python. I'd be able to get you going with Perl if that helps B-). Any Python folks out there care to help?
The format of the API is
struct AddressEntry {
String address
String netmask
}
struct AddressClass {
String name
AddressEntry [] members
}
LocalLB.Class.add_address_class_member(
AddressClass [] class_members
)
So, you'll be needing to pass in an array of AddressClass structures each contiaining a name for the class along with an array of AddressEntry structures containing the address information.
Good luck...
-Joe