Forum Discussion
I made some headway into this and wanted to post my progress here in case It helps someone. Will comeback in case I face any issue or better will post the complete solution If and when I am done. Please feel free to opine on this.
Basically each data group list member can be associated with a value. You associate this list of values to the data group class in the same sequence you are associating the members to the datagroup list. If you want to retrieve the value, you retrieve all the values from the datagroup class all at once and can access them in the same sequence you put them earlier.
There are GET and SET functions in the iControl.
Get the data member value https://devcentral.f5.com/wiki/iControl.LocalLB__Class__get_address_class_member_data_value.ashx
$DataGroup = "OFAC_BLOCKED_CIDR" $ClassInfo = $ic.LocalLBClass.get_address_class($DataGroup); $c = $ic.LocalLBClass.get_address_class_member_data_value($ClassInfo) Write-Host $c[0][0];
$c will return data values associated with each class member, organized in the same manner as the class member IP addresses
Set the data member value https://devcentral.f5.com/wiki/iControl.LocalLB__Class__set_address_class_member_data_value.ashx