-
1. Re: Associating network device dependencies to BAI instances
Andrew WatersFeb 22, 2018 1:23 AM (in response to Neal Meagher)
1 of 1 people found this helpfulHow are you deciding network devices are associated with BAIs? I suppose you could follow the relationship
#AggregateSoftware:HostedSoftware:Host:Host.
#DeviceWithInterface:DeviceInterface:InterfaceOfDevice:NetworkInterface.
#EdgeDevice:NetworkLink:EdgeClient:NetworkInterface.
#InterfaceOfDevice:DeviceInterface:DeviceWithInterface:.name
-
2. Re: Associating network device dependencies to BAI instances
Neal Meagher Feb 22, 2018 8:47 AM (in response to Andrew Waters)I was trying to associate BAI to host, then host to Network device
-
3. Re: Associating network device dependencies to BAI instances
Neal Meagher Feb 22, 2018 9:55 AM (in response to Andrew Waters)I tried this. Also build out similar
#AggregateSoftware:HostedSoftware:Host:Host.#DeviceWithInterface:DeviceInterface:InterfaceOfDevice:NetworkInterface.#InterfaceOfDevice:DeviceInterface:DeviceWithInterface:NetworkDevice.name as 'Name'
Doesnt set a value
-
4. Re: Associating network device dependencies to BAI instances
Andrew WatersFeb 22, 2018 10:21 AM (in response to Neal Meagher)
Is there edge connectivity - if you look at the Host does it say it is connected to the network device?
-
5. Re: Associating network device dependencies to BAI instances
Neal Meagher Feb 22, 2018 10:42 AM (in response to Andrew Waters)All these servers/hosts which sit under BAI have network connectivity.
-
6. Re: Associating network device dependencies to BAI instances
Andrew WatersFeb 22, 2018 10:49 AM (in response to Neal Meagher)
1 of 1 people found this helpfulThat is not what I asked. Do they show as connected to NetworkDevice on the Host page. If they don't then there is no relationship to follow to a NetworkDevice. (Discovery has not determined the a Host is connect to specific NetworkDevice(s))
-
7. Re: Associating network device dependencies to BAI instances
Neal Meagher Feb 22, 2018 10:51 AM (in response to Andrew Waters)Without looking at all hosts. I did look at a good portion and they all have network device connectivity under the host page (network interfaces). This query doesnt show any connection
-
8. Re: Associating network device dependencies to BAI instances
Neal Meagher Feb 22, 2018 11:05 AM (in response to Neal Meagher)When I run my script take the output and run report "show Network Device Dependencies" against the query result. It shows all connected network devices.
-
9. Re: Associating network device dependencies to BAI instances
Andrew WatersFeb 22, 2018 12:02 PM (in response to Neal Meagher)
1 of 1 people found this helpfulIf you are talking about key expression you wrote that will not work because you are missing the EdgeClient:NetworkLink:EdgeDevice:NetworkInterface relationship.
-
10. Re: Associating network device dependencies to BAI instances
Neal Meagher Feb 22, 2018 12:18 PM (in response to Andrew Waters)1 of 1 people found this helpfulGot this to work
search ModelDefinition where state = 'published' traverse Definition:Maintainer:Element: processwith show
name,
hash(key) as bai_key_hash,
key as bai_key,
hash(#AggregateSoftware:HostedSoftware:Host:Host.key) as host_key_hash,
#AggregateSoftware:HostedSoftware:Host:.name as 'Hosts', #AggregateSoftware:HostedSoftware:Host:Host.#DeviceWithInterface:DeviceInterface:InterfaceOfDevice:NetworkInterface.#EdgeClient:NetworkLink:EdgeDevice:NetworkInterface.name as 'Network Interface/Connected Device'
-
11. Re: Associating network device dependencies to BAI instances
Andrew WatersFeb 22, 2018 12:33 PM (in response to Neal Meagher)
1 of 1 people found this helpfulYou do not need the processwith