Forum Discussion
Dave_Noonan
Cirrus
Jan 23, 2020Modify local traffic policy from CLI or API
I recently got enjoy the GUI for local traffic policy management and determined that it's an abomination. You can't duplicate a policy so it's click-click-click all the way through to add eight near...
- Jan 23, 2020
Hello Dave.
You could list your configuration with "list ltm policy ..", copy this to a notepad and modify everything you want and import this to current configuration using "merge" command.
It's really easy to use.
REF - https://support.f5.com/csp/article/K81271448
KR,
Dario.
Dave_Noonan
Cirrus
Jan 23, 2020Forgot to add that in olden times (6 years ago) I'd have done this with an iRule and updating it would have taken 5-10 minutes instead of an hour of click-click-click.
- JRahmJan 24, 2020
Admin
Hi Dave, you can use the python sdk to work with the policies via api. Examples are here in our functional tests.