Une MAJ de sécurité est nécessaire sur notre version actuelle. Elle sera effectuée lundi 02/08 entre 12h30 et 13h. L'interruption de service devrait durer quelques minutes (probablement moins de 5 minutes).

Commit 7ebea4df authored by Maverick Chardet's avatar Maverick Chardet
Browse files

Test enoslib

parent 4598bfdb
......@@ -10,7 +10,7 @@ g5k:
- roles:
- remote
cluster: ecotype
nodes: 20
nodes: 10
primary_network: n1
secondary_networks: []
- roles:
......
import yaml
from enoslib.infra.enos_g5k.provider import G5k
from enoslib.infra.enos_g5k.configuration import Configuration
with open("conf.yaml") as f:
conf = yaml.load(f)
conf_g5k = conf['g5k']
provider = G5k(Configuration.from_dictionnary(conf_g5k))
roles, networks = provider.init()
print(roles)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment