Forum Discussion
Lynn
Nimbostratus
Aug 06, 2019BIG-IP F5: python scripts to create/modify DoS Profile
Hello,
I am new here!
I try to use python scripts to create new DoS Profile (under Security), it succeeded by using:
from f5.bigip import ManagementRoot
from f5.bigip.tm.security.dos import Profile
emgmt = ManagementRoot('bigip.PRODaddress.com', 'user', 'pass')
profile1 = Profile(emgmt.tm.security.dos.profiles).create(name="today", partition="Common", description="todaydes")
After this, it's able to use delete() to delete this file.
But when I tried to setup its "Application Security" (from GUI it is to change it to "Enabled"), I can't do anything with this object profile1.
The modify() won't work coz parameter issue.
Any advice? Thank you!
Lynn
No RepliesBe the first to reply
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