def METHOD_NAME(self):
    sessions = manage.GatewayPeerSession.objects
    sessions = sessions.filter(netbox=self.netbox.id)
    self._map = {(sess.protocol, str(sess.peer)): sess for sess in sessions}