Forum Discussion
Rob_74473
Cirrus
Sep 17, 2018Trying to find virtual server type through python sdk
I am pulling virtual server info through the rest api and I need to find the type of the virtual server. In everything returned I don't see anything that looks like Standard or Performance (Fast L4) (the two we use the most). How can I find the type?
u'addressStatus': u'yes',
u'autoLasthop': u'default',
u'cmpEnabled': u'yes',
u'connectionLimit': 0,
u'description': u'webmail.something.com:80',
u'destination': u'/C0/1.2.3.4:80',
u'enabled': True,
u'fullPath': u'/C0/C0_MAIL_1.2.3.4_TCP_80_VIP',
u'generation': 1,
u'gtmScore': 0,
u'ipProtocol': u'tcp',
u'kind': u'tm:ltm:virtual:virtualstate',
u'mask': u'255.255.255.255',
u'mirror': u'disabled',
u'mobileAppTunnel': u'disabled',
u'name': u'C0_MAIL_1.2.3.4_TCP_80_VIP',
u'nat64': u'disabled',
u'partition': u'C0',
u'persist': [{u'name': u'cookie',
u'nameReference': {u'link': u'https://localhost/mgmt/tm/ltm/persistence/cookie/~Common~cookie?ver=12.1.3.4'},
u'partition': u'Common',
u'tmDefault': u'yes'}],
u'policiesReference': {u'isSubcollection': True,
u'link': u'https://localhost/mgmt/tm/ltm/virtual/~C0~C0_MAIL_1.2.3.4_TCP_80_VIP/policies?ver=12.1.3.4'},
u'pool': u'/C0/C0_PMAIL.0_IPv4_80_POOL',
u'poolReference': {u'link': u'https://localhost/mgmt/tm/ltm/pool/~C0~C0_MAIL.0_IPv4_80_POOL?ver=12.1.3.4'},
u'profilesReference': {u'isSubcollection': True,
u'link': u'https://localhost/mgmt/tm/ltm/virtual/~C0~C0_MAIL_1.2.3.4_TCP_80_VIP/profiles?ver=12.1.3.4'},
u'rateLimit': u'disabled',
u'rateLimitDstMask': 0,
u'rateLimitMode': u'object',
u'rateLimitSrcMask': 0,
u'rules': [u'/Common/SSL_Offload_HTTPS_Rewrite'],
u'rulesReference': [{u'link': u'https://localhost/mgmt/tm/ltm/rule/~Common~SSL_Offload_HTTPS_Rewrite?ver=12.1.3.4'}],
u'securityNatPolicy': {u'useDevicePolicy': u'no',
u'useRouteDomainPolicy': u'no'},
u'selfLink': u'https://localhost/mgmt/tm/ltm/virtual/~C0~C0_MAIL_1.2.3.4_TCP_80_VIP?ver=12.1.3.4',
u'serviceDownImmediateAction': u'none',
u'source': u'0.0.0.0/0',
u'sourceAddressTranslation': {u'type': u'none'},
u'sourcePort': u'preserve',
'stats': ,
u'synCookieStatus': u'not-activated',
u'translateAddress': u'disabled',
u'translatePort': u'enabled',
u'vlansDisabled': True,
u'vsIndex': 64}
Recent Discussions
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