'Called by Portal when it wants to update a single session (e.g.
because of all negotiation protocols have finally replied)
Args:
portalsessiondata (dict): a dictionary of all property:value
keys defining the session and which is marked to be
synced.'

def portal_session_sync(self, portalsessiondata):

    sessid = portalsessiondata.get('sessid')
    session = self.get(sessid)
    if session:
        session.load_sync_data(portalsessiondata)
