'get_proposed'

def get_proposed(self):

    self.proposed['state'] = self.state
    if self.interface:
        self.proposed['interface'] = self.interface
    if self.interface_type:
        self.proposed['interface_type'] = self.interface_type
    if (self.state == 'present'):
        if self.description:
            self.proposed['description'] = self.description
        if self.mode:
            self.proposed['mode'] = self.mode
        if self.admin_state:
            self.proposed['admin_state'] = self.admin_state
        self.proposed['l2sub'] = self.l2sub
    elif (self.state == 'default'):
        if self.description:
            self.proposed['description'] = ''
        if (is_admin_state_enable(self.intf_type) and self.admin_state):
            self.proposed['admin_state'] = self.admin_state
        if (is_portswitch_enalbe(self.intf_type) and self.mode):
            self.proposed['mode'] = self.mode
