BlueCat
Asset Manager can now exchange data with a BlueCat Address Manager (BAM) connected to a BlueCat Gateway (BG).
Prerequisite: A BlueCat Gateway server has already been installed at your workplace.
- Asset Manager authenticates against the BG and retrieves all results via this gateway. Asset Manager does not communicate directly with the BAM server.
- Address blocks with /30 (for IPv4) and /32 are added to BAM when the "add unmanaged devices with no network block defined" option has been selected and BAM does not already have an address block containing the IP address.
- Network blocks with /32 (for IPv4) are added to BAM when the "add unmanaged devices with no network block defined" option has been selected and BAM does not already have an address block containing the IP address.
High-level Flow Design
- Asset Manager pulls list of networks from BAM
- For each configured network, Asset Manager calls REST APIs against Gateway to retrieve list of IPv4 addresses. Those addresses are ingested into a managed primary table on Asset Manager called bluecat_managed_hosts.
- Asset Manager analyzes the data and identifies devices in each selected zone (provided the Asset Mapping by Zone checkbox is selected).
- Asset Manager populates the BlueCat Management dashboard.
- Asset Manager calls the BG 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 |
Asset Manager/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 | Asset Manager/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/Asset Manager/addiplist curl -X POST \ |
array of configuration with each configuration containing list of devices that need to be added [{"config_name": "Somerset", |
{ |