Forum Discussion
deepu8843_18569
Sep 26, 2018Nimbostratus
Modification of data group in CLI mode
Suppose I have a datagroup say name as xyz which contains only strings. But there are around 150 strings added in the data group. Now I want to modify the data group where I want to add another 150 n...
arpydays
Sep 27, 2018Nimbostratus
If you want to update from a file just keys without values try this...
tmsh list ltm data-group internal dg1
ltm data-group internal dg1 {
records {
a { }
b { }
}
type string
}
more updates.txt
c
d
e
f
for a in `cat updates.txt`; do tmsh modify ltm data-group internal dg1 records add { $a } ; done
tmsh list ltm data-group internal dg1
ltm data-group internal dg1 {
records {
a { }
b { }
c { }
d { }
e { }
f { }
}
type string
}
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