kytos-ng / kytos

Kytos SDN Platform. Kytos is designed to be easy to install, use, develop and share Network Apps (NApps).
https://kytos-ng.github.io/
MIT License
2 stars 7 forks source link

Assess whether or not LLDP should be false by default in a Interface #432

Open italovalcy opened 7 months ago

italovalcy commented 7 months ago

When running Kytos in production, we don't want all entities to be enabled by default. This is already true for Interfaces, Links and Switches: they are disabled by default, and you have to enable them when you want use them (unless you run kytos with -E, which then changes the behavior with "enabled by default")

The same approach does not apply for LLDP. LLDP is enabled by default, and if you want to change this, you have to make a API request to of_lldp/interfaces/disable and list all interfaces you want to disable. Later on, if you add a new interface, you have to remember to disable that new interface manually (API call aforementioned).

I'm opening this issue to discuss what we can do to improve this by changing the behavior to disabled by default, having this configurable ( less disruptive ), or even another solution.