Forum Discussion
BIG-IP create default gateway resource using API/SDK
Hi,
I need to create a resource on the big-ip using the SDK.
I'm able to create a pool - pool members, virtual server, etc.. the examples are quite clear.
However I can't seem to create a default gateway, to my understanding it's a virtual server but with different configurations.
Example:
mgmt = ManagementRoot(f5_big_ip, f5_user, f5_pass)
myvirtual = mgmt.tm.ltm.virtuals.virtual.create(name='dg_test',
description='not important',
type='Standard')
I'm not sure that 'type' is an acceptable attribute, but on the GUI I see the default type that's being created is layer 4, what I need it to be is Forwarding (IP).
Can someone help? or reference me to the exact documentation part to get this done, I would settle for using the direct rest API.
Regards, Naim
Recent Discussions
Related Content
* 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