'get proposed config.'

def get_proposed(self):

    if self.vlans_list_change:
        if (self.state == 'present'):
            proposed_vlans_tmp = list(self.vlans_list_change)
            proposed_vlans_tmp.extend(self.vlans_list_exist)
            self.results['proposed_vlans_list'] = list(set(proposed_vlans_tmp))
        else:
            self.results['proposed_vlans_list'] = list((set(self.vlans_list_exist) - set(self.vlans_list_change)))
        self.results['proposed_vlans_list'].sort()
    else:
        self.results['proposed_vlans_list'] = self.vlans_list_exist
    if self.vlan_id:
        if (self.state == 'present'):
            self.results['proposed'] = dict(vlan_id=self.vlan_id, name=self.name, description=self.description)
        else:
            self.results['proposed'] = None
    else:
        self.results['proposed'] = None
