Use choices api #107

Merged
ThomasADavis merged 4 commits from use-choices-api into master 2020-01-28 11:18:56 +01:00
Showing only changes of commit 14c3be4696 - Show all commits

View file

@ -163,7 +163,7 @@ class Network():
elif nic['ethtool']['speed'] == '1000Mb/s':
if nic['ethtool']['port'] == 'FIBRE':
return self.dcim_choices['interface:type']['SFP (1GE)']
return self.dcim_choices['interface:type']['1000GBASE-T (1GE)']
return self.dcim_choices['interface:type']['1000BASE-T (1GE)']
return self.dcim_choices['interface:type']['Other']
def get_ipmi(self):