Change network discovery behavior #20

Closed
opened 2019-08-07 11:39:45 +02:00 by Solvik · 1 comment
Solvik commented 2019-08-07 11:39:45 +02:00 (Migrated from github.com)

We shouldn't hardcode the behavior of network interface discovery and instead use parameters in the configuration file to let the user choose what they want to ignore

That way we will manage corner cases of users having loopback IP (ipvs, bgp etc)
And also create vlan interfaces, which is not working right now

I propose something like:

network:
  ignore_interfaces: "(dummy.*|docker.*)"
  ignore_ips: "(127\.0\.0\..*)"
We shouldn't hardcode the behavior of network interface discovery and instead use parameters in the configuration file to let the user choose what they want to ignore That way we will manage corner cases of users having loopback IP (ipvs, bgp etc) And also create vlan interfaces, which is not working right now I propose something like: ``` network: ignore_interfaces: "(dummy.*|docker.*)" ignore_ips: "(127\.0\.0\..*)" ```
ramnes commented 2019-08-07 16:51:18 +02:00 (Migrated from github.com)

A list of regular expressions to exclude would probably be simpler for users.

A list of regular expressions to exclude would probably be simpler for users.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: DGNum/netbox-agent#20
No description provided.