1 2 3 4 5 6 7 8 9 10 11
# from enum import Enum class BootProto: DHCP = 'dhcp' STATIC = 'static' # def __eq__(self, other): # return self.name == other.name and self.value == other.value # # def __ne__(self, other): # return not self.__eq__(other)