Forum Discussion
How can I run the ‘Network Map’ feature from the CLI or how can I view this information?
How can I run the ‘Network Map’ feature from the CLI or how can I view this information?
My goal is to retrieve information from networkmap using cli or API. I am working on automation. I would appreciate any help and suggestions on this matter.
4 Replies
- Ozzy
Cirrus
thanks you time pablo_juarez . I will check and let you know the result!
- Ozzy
Cirrus
Hi Melissa_C ,
There hasn't been an update on this topic yet. If you'd like to support me on this matter, I'd be happy to do so. Thank you in advance.
- pablo_juarez
Altocumulus
I don't knwo if that can be done.
I have prepared a script which I run before some configuration changes, to get device status.
These are some of the endpoints wchich I use, I write it on an excel.
#ucs = make_get_request('/mgmt/tm/sys/ucs')
#device_group = make_get_request('/mgmt/tm/cm/device-group')
#traffic_group = make_get_request('/mgmt/tm/cm/traffic-group')
#make_get_request('/mgmt/tm/cm/device')
#make_get_request('/mgmt/tm/sys/global-settings')
#make_get_request('/mgmt/tm/cm/sync-status')
#imish = get_imish('/mgmt/tm/util')
#make_get_request('/mgmt/tm/net/interface/stats')
#guests = make_get_request('/mgmt/tm/vcmp/guest')
#perfiles_client_ssl = make_get_request('/mgmt/tm/ltm/profile/client-ssl')
#perfiles_server_ssl = make_get_request('/mgmt/tm/ltm/profile/server-ssl')
#certificados = make_get_request('/mgmt/tm/sys/crypto/cert')
#claves = make_get_request('/mgmt/tm/sys/crypto/key')
#make_get_request('/mgmt/tm/sys/ntp')
#estadisticas = make_get_request('/mgmt/tm/ltm/virtual/stats')
#dns = make_get_request('/mgmt/tm/gtm/wideip/a')Remember you can filter the output:
respuesta = make_get_request('/mgmt/tm/cm/device', params={
"$select":
'hostname,'
'failoverState,'
'managementIp,'
'version'
})And I create the session like this, to get more info:
params = {
"expandSubcollections": "true"
}
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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
