@staticmethod
    def _get_network_dict(network):
        # get generic network fields
        network_dict = {'id': network['uuid'],
                        'bridge': network['bridge'],
                        'label': network['label'],
                        'tenant_id': network['project_id']}

        # get extra information
        if network.get('injected'):
            network_dict['injected'] = network['injected']

        return network_dict
Return neigh useless sizing info about a blockdev
dataset/ETHPy150Open BU-NU-CLOUD-SP16/Trusted-Platform-Module-nova/nova/network/manager.py/NetworkManager._get_network_dict--crossover with--dataset/ETHPy150Open saltstack/salt/salt/modules/bcache.py/_sizes