'get_existing'

def get_existing(self):

    if self.intf_info:
        self.existing['interface'] = self.intf_info['ifName']
        if is_admin_state_enable(self.intf_type):
            self.existing['admin_state'] = self.intf_info['ifAdminStatus']
        self.existing['description'] = self.intf_info['ifDescr']
        if is_portswitch_enalbe(self.intf_type):
            if (self.intf_info['isL2SwitchPort'] == 'true'):
                self.existing['mode'] = 'layer2'
            else:
                self.existing['mode'] = 'layer3'
