Forum Discussion
Satoshi_Toyosa1
Dec 10, 2018Employee
You can use the
/mgmt/tm/ltm/node
endpoint for node creation instead of calling /mgmt/tm/util/bash
to run the tmsh command. The equivalent curl
command for tmsh create ltm node TEST3 address 3.3.3.3
is
curl -sku : https:///mgmt/tm/ltm/node \
-X POST -H 'Content-type: application/json' \
-d '{"name":"TEST3", "address":"3.3.3.3"}'
If Python is your choice, you may want to check the F5 Python SDK. See F5 Python SDK Documentation.