...
- Lumeta pulls list of networks from BAM
- For each configured network, Lumeta calls REST APIs against Gateway to retrieve list of IPv4 addresses. Those addresses are ingested into a managed primary table on Lumeta called bluecat_managed_hosts.
- Lumeta analyzes the data and identifies devices in each selected zone (provided the Asset Mapping by Zone checkbox is selected).
- Lumeta populates the BlueCat Management dashboard.
- Lumeta calls the BlueCat Gateway API to create these devices in BAM under a selected configuration.
Logic to
...
Create Assets in BAM
Gateway Workflow API details:
Purpose | API | Payload | Response |
---|---|---|---|
Gateway Authentication | https://172.18.1.123/rest_login curl -v -H "Accept: application/json" -H 'Content-type: | { "username" : "gateway", | { |
Get list of networks/configurations | lumeta/getnetworklist curl -X GET \ -H 'Accept: application/json' \ -H 'Auth: Basic I6vp7MTU3Mjg4MjM2NzU5NjpnYXRld2F5' | None | [{"id":100880,"name":"Somerset","type":"Configuration","properties":null}] |
Get list of devices | lumeta/getiplist \ It retrieves devices for all networks curl -X GET \ -H 'Auth: Basic O2MsBMTU3Mjg4NTI2MDUwMDpnYXRld2F5' \ | None | [{"config_id":100880,"config_name":"Somerset","id":100895,"ip_address":"172.18.1.1","properties":{"address":"172.18.1.1","locationCode":"US MOO","locationInherited":"true","state":"GATEWAY"}},{"config_id":100880,"config_name":"Somerset","id":100901,"ip_address":"172.18.1.37","properties":{"address":"172.18.1.37","locationCode":"US MOO","locationInherited":"true","state":"STATIC"}},{"config_id":100880,"config_name":"Somerset","id":100902,"ip_address":"172.18.1.42","properties":{"address":"172.18.1.42","locationCode":"US MOO","locationInherited":"true","state":"STATIC"}}] |
Add list of devices | http://172.18.1.123/lumeta/addiplist curl -X POST \ | array of configuration with each configuration containing list of devices that need to be added [{"config_name": "Somerset", | { |
...