Forum Discussion

jmarter_319029's avatar
jmarter_319029
Icon for Nimbostratus rankNimbostratus
8 years ago

Adding Client, Server, and SSL profiles to a VIP via the SDK

I've been able to successfully build out a VIP, pool, and nodes then bind them all together using the f5-sdk however I'm running into issues with adding profiles to the VIP's. I'm using the following code to try and update an existing VIP with an existing profile:

 

mgmt = ManagementRoot("x.x.x.x", "username", "password") vip_resource = mgmt.tm.ltm.virtuals.virtual.load(partition='CDE-DMZ', name='test_vip-https-443')

 

for profile in vip_resource.profiles_s.get_collection(): print(profile)

 

Anyone else bang their head over this issue? I can see profiles attached via the GUI but I can't get them to work via the SDK. Any help would be appreciated.

 

2 Replies

No RepliesBe the first to reply