Forum Discussion
HenryX_171845
Nimbostratus
Robert,
I think that approach works for me, thanks! Do we know if external data group file update like that causes traffic glitch, assuming a same named EDG is used in data path?
Sep 22, 2015
I just tested iHearF5s solution on TMOS v11.6.0 and it worked seamless as the related tmsh command:
i.e. $ tmsh modify sys file data-group external_datagroup_acl { source-path http://10.131.131.52/external_datagroup_acl.class }
results in REST API call of:
$ curl -sk -u admin:admin -H "Content-Type: application/json" -X PUT \
-d '{"name":"external_datagroup_acl","partition":"Common","source-path":"http://10.131.131.52/classimport/external_datagroup_acl.class"}‘ \
https://localhost/mgmt/tm/sys/file/data-group/~Common~external_datagroup_acl | \
sed -r 's/$/\n/; s/,/,\n/g; s/(\[)/\1\n/g; s/(\])/\n]/g'
The changes in the external file were reflected immediately in the LTM data-group for both the tmsh and API approach.