cvicente / Netdot

Network Documentation Tool

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Should SUBNET_INHERIT_DEV_INFO => 1 also INHERIT device->site?

nicolatron opened this issue · comments

Currently the configuration flag SUBNET_INHERIT_DEV_INFO flag, makes the device's subnets inherit the entities related to the device (columns "Owner" and "Used by" in the web UI).
I think it would be great if the created subnets also inherit the device's assigned site.
I guess there may be use cases where this is not advisable, and maybe it would be better to create a new flag like "SUBNET_INHERIT_DEV_SITE" to decide if subnet's should inherit device's site.
What do you think?.

I close this one. SUBNET_INHERIT_DEV_INFO only affects OWNER and USED_BY, in case it seems desirable that newly discovered subnet inherit's device site (which I myself consider desirable) and it seems desirable to activate/deactivate this behaviour in Site.conf it should be set in a new/different flag.