

@classmethod
def create_nova_network_config(cls, cluster):
    nova_net_config = NovaNetworkConfig(cluster_id=cluster.id)
    meta = cluster.release.networks_metadata['nova_network']['config']
    for (key, value) in six.iteritems(nova_net_config):
        if hasattr(nova_net_config, key):
            setattr(nova_net_config, key, value)
    db().add(nova_net_config)
    db().flush()
    return nova_net_config

dataset/ETHPy150Open openstack/fuel-web/nailgun/nailgun/extensions/network_manager/managers/nova_network.py NovaNetworkManager.create_nova_network_config/VarMisuse@51/70 `meta`->`nova_net_config`