Use choices api #107

Merged
ThomasADavis merged 4 commits from use-choices-api into master 2020-01-28 11:18:56 +01:00
ThomasADavis commented 2020-01-21 01:39:40 +01:00 (Migrated from github.com)

This remove fixed constants in network.py, and changes it to work by asking netbox what the values are.

v2.7 change many items from a constant, to a slug.

This remove fixed constants in network.py, and changes it to work by asking netbox what the values are. v2.7 change many items from a constant, to a slug.
Solvik (Migrated from github.com) reviewed 2020-01-25 11:57:13 +01:00
Solvik (Migrated from github.com) commented 2020-01-25 11:56:32 +01:00
            return self.dcim_choices['interface:type']['1000BASE-T (1GE)']
```suggestion return self.dcim_choices['interface:type']['1000BASE-T (1GE)'] ```
Sign in to join this conversation.
No description provided.