def METHOD_NAME(self):
    g1 = self.gobgp
    g2 = self.clients['g2']
    g3 = self.clients['g3']
    p1 = {'ip-prefix': '10.0.10.0/24'}
    p2 = {'ip-prefix': '10.0.20.0/24'}
    ps0 = {'prefix-set-name': 'ps0', 'prefix-list': [p1, p2]}
    g1.set_prefix_set(ps0)
    st0 = {'conditions': {'match-prefix-set': {'prefix-set': 'ps0'}},
           'actions': {'route-disposition': 'accept-route'}}
    pol0 = {'name': 'pol0', 'statements': [st0]}
    _filename = g1.add_policy(pol0, g3, 'import', 'reject')
    g3.add_route('10.0.10.0/24')
    g3.add_route('10.0.20.0/24')
    time.sleep(1)
    num = g2.get_neighbor(g1)['state']['messages']['received'].get('update', 0)
    num = g2.get_neighbor(g1)['state']['messages']['received'].get('update', 0)
    ps0 = {'prefix-set-name': 'ps0', 'prefix-list': [p1]}
    g1.set_prefix_set(ps0)
    g1.create_config()
    # this will cause g1 to do softresetin for all neighbors (policy is changed)
    g1.reload_config()
    time.sleep(1)
    num2 = g2.get_neighbor(g1)['state']['messages']['received'].get('update', 0)
    self.assertEqual((num + 1), num2)
    g3.softreset(g1, type='out')
    time.sleep(1)
    num3 = g2.get_neighbor(g1)['state']['messages']['received'].get('update', 0)
    self.assertEqual(num2, num3)