'get end state config.'

def get_end_state(self):

    self.results['end_state_vlans_list'] = self.get_vlans_list()
    if self.vlan_id:
        if self.vlan_attr_end:
            self.results['end_state'] = dict(vlan_id=self.vlan_attr_end['vlan_id'], name=self.vlan_attr_end['name'], description=self.vlan_attr_end['description'])
        else:
            self.results['end_state'] = None
    else:
        self.results['end_state'] = None
