Forum Discussion
david78
Nimbostratus
Feb 27, 2014Update an internal Data-group
hi, i would like update a group.
What's the better way : iControl or iControlREST ?
Someone have an example to read and modify an internal Data-group with perl ?
thank you.
david78
Nimbostratus
Mar 10, 2014i found ! This code works for add some data in Datagroup :
Modif datagroup
sub modif_datagroup {
my ($bigip, $datagroup) = @_;
my $json = '{"records":[{"name":'.$name1.',"data":'.$data1.'},{"name":'.$name2.',"data":'.$data2.'},{"name":'.$name3.',"data":'.$data3.'}]}';
$bigip->PATCH('ltm/data-group/internal/~Common~'. $datagroup, $json);
}Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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