'Get proposed info'

def get_proposed(self):

    if self.address:
        vpn_name = self.vpn_name
        if (vpn_name == '_public_'):
            vpn_name = None
        if_name = self.interface
        if (if_name == ''):
            if_name = None
        key_id = self.key_id
        if (key_id == ''):
            key_id = None
        if (self.peer_type == 'Server'):
            self.proposed = dict(state=self.state, vpn_name=vpn_name, source_int=if_name, server=self.address, is_preferred=self.is_preferred, key_id=key_id)
        else:
            self.proposed = dict(state=self.state, vpn_name=vpn_name, source_int=if_name, peer=self.address, is_preferred=self.is_preferred, key_id=key_id)
