error using fdb on > 0.1.8
See original GitHub issueI’m using the development branch of code and getting the following error when trying to access the network fdb icontrol.exceptions.iControlUnexpectedHTTPError: 400 Unexpected Error: Bad Request for uri: https://10.1.1.2:443/mgmt/tm/net/fdbs/tunnel/~Common~vxlan-flannel-tun?ver=11.5.0 Text: u’{“code”:400,“message”:“Found unexpected URI tmapi_mapper/net/fdbs/tunnel/~Common~vxlan-flannel-tun.”,“errorStack”:[],“apiError”:1}’
Seems OK in previous versions. But it’s possible I’m not using it correctly.
Here’s the code:
payload = {
"partition": "Common",
"name": vxlan_tunnel_name
}
tun_fdb = mgmt.tm.net.fdbs.tunnels.tunnel.load(**payload)
Would be useful to be able to populate the records as well… Similar to what is documented at: view-source:https://support.f5.com/kb/en-us/products/big-ip_ltm/manuals/product/tmos-implementations-12-0-0/9.html “manually populating L2 location records”
Issue Analytics
- State:
- Created 7 years ago
- Comments:11 (8 by maintainers)
Top GitHub Comments
@chen23 Thanks for reporting this!
So, the correct class name is “Fdb” and the correct class type is “OrganizingCollection”. We’ll have a fix on
development
by the end of the day. I’ll tag the correct version with a bugfix tag. @chen23