'Init data'

def init_data(self):

    if (self.interface is not None):
        self.interface = self.interface.lower()
    if (not self.key_id):
        self.key_id = ''
    if (not self.is_preferred):
        self.is_preferred = 'disable'
