canonical / prometheus-juju-exporter

prometheus-juju-exporter snap collects machines' running status in all models under a Juju controller.
GNU General Public License v3.0
2 stars 8 forks source link

Allow virtual MAC address detection overrides #19

Closed agileshaw closed 1 year ago

agileshaw commented 1 year ago

This PR moves the default collection of virtual MAC prefixes to the config option, which enables overriding in non-standard virtual environment.

agileshaw commented 1 year ago

@aieri @rgildein I've made changes to the unittests code to avoid directly calling private methods in class. I would appreciate it if you can review the PR again. Thank you.