def METHOD_NAME(self, adapter, nic0):
    CUSTOM_OPTS1 = {
        'bridge_opts': 'multicast_router=0 multicast_snooping=0'
    }
    CUSTOM_OPTS2 = {
        'bridge_opts': 'multicast_router=0 multicast_snooping=1'
    }
    NETCREATE = {
        NETWORK_NAME: {
            'nic': nic0,
            'switch': 'legacy',
            'custom': CUSTOM_OPTS1,
        }
    }
    NETEDIT = {
        NETWORK_NAME: {
            'nic': nic0,
            'switch': 'legacy',
            'custom': CUSTOM_OPTS2,
        }
    }
    with adapter.reset_persistent_config():
        with adapter.setupNetworks(NETCREATE, {}, NOCHK):
            adapter.setSafeNetworkConfig()
            adapter.setupNetworks(NETEDIT, {}, NOCHK)
            adapter.assertBridgeOpts(NETWORK_NAME, NETEDIT[NETWORK_NAME])
            adapter.restore_nets()
            adapter.assertBridgeOpts(NETWORK_NAME, NETCREATE[NETWORK_NAME])