Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Empty iRules object when using policy.update() #1557

Open
benweber2 opened this issue Aug 17, 2020 · 0 comments
Open

Empty iRules object when using policy.update() #1557

benweber2 opened this issue Aug 17, 2020 · 0 comments

Comments

@benweber2
Copy link

Hi All,

I'd like to bring an issue up that I'm seeing where iRules are being removed from a VIP when the 'Update()' method is used. See below for steps to recreate:

Step 1: Load VS configuration:

vip = mgmt.tm.ltm.virtuals.virtual.load(partition='Partition-2', name='Wordpress')

Request and response are functioning as expected.

f5-irule-http-get

Step 2 – update the configuration using 'Modify':

vip.modify(**{'securityLogProfiles': []})

Notice the 'Rules' variable is correctly set and populated.

f5-irule-http-patch

Step 3, update the configuration using 'Update':

vip.update()

Notice the 'Rules' variable is empty causing iRules to be removed from the configuration.

http-irule-http-put

F5 Version: 12.1.3 build 0.0.378 FINAL
SDK Version: 3.0.21

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant