f5-common-python
f5-common-python copied to clipboard
Docs indicate tm.net.vlan where it should be tm.net.vlans
Problem found on Big-ip 13.1.0.8 where trying to resolve a collection of vlans as so:
MGMT = ManagementRoot("10.1.1.241", "admin", "admin") vlans = MGMT.tm.net.vlan.get_collection()
fails however this works:
MGMT = ManagementRoot("10.1.1.241", "admin", "admin") vlans = MGMT.tm.net.vlans.get_collection()
What documentation @caliraftdude? Can you specify? Thanks..
Meh… those notes are now gone..
It was on the doc page around https://f5-sdk.readthedocs.io/en/latest/apidoc/f5.bigip.tm.net.html#module-f5.bigip.tm.net.vlan
This is what happen when you are slamming code all night..
classf5.bigip.tm.net.vlan.Vlans(net)[source]https://f5-sdk.readthedocs.io/en/latest/_modules/f5/bigip/tm/net/vlan.html#Vlans Bases: f5.bigip.resource.Collectionhttps://f5-sdk.readthedocs.io/en/latest/apidoc/f5.bigip.html#f5.bigip.resource.Collection BIG-IP® network Vlan collection.
But it needs to be f5.bigip.tm.net.vlans (which is opposite of how other plural/singular conventions seem to be implied).
Not a big deal but I think this just ended up being opposite of what I was expecting and I made a note of it.
Cheers~
Dan Holland | Sr. Field Systems Engineer 408.859.3684
From: Jason Rahm [email protected] Sent: Wednesday, March 13, 2019 6:29 PM To: F5Networks/f5-common-python [email protected] Cc: Daniel Holland [email protected]; Mention [email protected] Subject: Re: [F5Networks/f5-common-python] Docs indicate tm.net.vlan where it should be tm.net.vlans (#1520)
EXTERNAL MAIL: [email protected]mailto:[email protected]
What documentation @caliraftdudehttps://github.com/caliraftdude? Can you specify? Thanks..
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/F5Networks/f5-common-python/issues/1520#issuecomment-472668766, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ATwzOgDEMW-WT9Tzv-umpkYweBYFEs0Cks5vWaXpgaJpZM4bV5z4.