'get_proposed'

def get_proposed(self):

    if (self.state == 'present'):
        self.proposed['vrf'] = self.vrf
        if (self.vrf_aftype is None):
            self.proposed['vrf_aftype'] = 'ipv4uni'
        else:
            self.proposed['vrf_aftype'] = self.vrf_aftype
        if (self.route_distinguisher is not None):
            self.proposed['route_distinguisher'] = self.route_distinguisher
        else:
            self.proposed['route_distinguisher'] = list()
        if (self.vpn_target_state == 'present'):
            self.proposed['evpn'] = self.evpn
            self.proposed['vpn_target_type'] = self.vpn_target_type
            self.proposed['vpn_target_value'] = self.vpn_target_value
        else:
            self.proposed['vpn_target_type'] = list()
            self.proposed['vpn_target_value'] = list()
    else:
        self.proposed = dict()
        self.proposed['state'] = self.state
        self.proposed['vrf'] = self.vrf
        self.proposed['vrf_aftype'] = list()
        self.proposed['route_distinguisher'] = list()
        self.proposed['vpn_target_value'] = list()
        self.proposed['vpn_target_type'] = list()
