

@classmethod
def get_network_group_for_role(cls, network_role, _):
    'Returns network group to which network role is associated\n\n        The default network group from the network role description is\n        returned.\n\n        :param network_role: Network role dict\n        :type network_role: dict\n        :return: Network group name\n        :rtype: str\n        '
    return network_role['default_mapping']

dataset/ETHPy150Open openstack/fuel-web/nailgun/nailgun/extensions/network_manager/managers/nova_network.py NovaNetworkManager70.get_network_group_for_role/original