WiP Introduce VMonG5k provider
It's a new provider that provides virtual machines on Grid'5000. Example: ``` conf = Configuration.from_settings(job_name="tuto-vmong5k")\ .add_machine(roles=["control"], cluster="parapluie", number=3, flavour="large")\ .add_machine(roles=["compute"], cluster="parapluie", number=100, flavour="tiny")\ .finalize() provider = VMonG5k(conf) roles, networks = provider.init() ``` It adds a new `enos_vmong5k` package alongside new modules: - `enos_vmong5k.configuration` - `enos_vmong5k.schema` - `enos_vmong5k.constants` - `enos_vmong5k.provider` and also new unit tests and documentation (functionnal tests in docs/tutorials/vmong5k) The VmonG5K provider internally uses the G5k provider. In particular it sets the job_type to allow_classic_ssh and claim an extra slash_22 subnet.
Showing
- docs/apidoc/infra.rst 16 additions, 0 deletionsdocs/apidoc/infra.rst
- docs/tutorials/grid5000.rst 2 additions, 1 deletiondocs/tutorials/grid5000.rst
- docs/tutorials/index.rst 1 addition, 0 deletionsdocs/tutorials/index.rst
- docs/tutorials/vmong5k.rst 49 additions, 0 deletionsdocs/tutorials/vmong5k.rst
- docs/tutorials/vmong5k/tuto_vmong5k.py 27 additions, 0 deletionsdocs/tutorials/vmong5k/tuto_vmong5k.py
- enoslib/host.py 5 additions, 1 deletionenoslib/host.py
- enoslib/infra/enos_vmong5k/__init__.py 1 addition, 0 deletionsenoslib/infra/enos_vmong5k/__init__.py
- enoslib/infra/enos_vmong5k/ansible/cloud-init-data/meta-data 4 additions, 0 deletionsenoslib/infra/enos_vmong5k/ansible/cloud-init-data/meta-data
- enoslib/infra/enos_vmong5k/ansible/cloud-init-data/user-data 10 additions, 0 deletionsenoslib/infra/enos_vmong5k/ansible/cloud-init-data/user-data
- enoslib/infra/enos_vmong5k/ansible/domain.xml.j2 41 additions, 0 deletionsenoslib/infra/enos_vmong5k/ansible/domain.xml.j2
- enoslib/infra/enos_vmong5k/ansible/meta-data.j2 1 addition, 0 deletionsenoslib/infra/enos_vmong5k/ansible/meta-data.j2
- enoslib/infra/enos_vmong5k/ansible/site.yaml 119 additions, 0 deletionsenoslib/infra/enos_vmong5k/ansible/site.yaml
- enoslib/infra/enos_vmong5k/ansible/user-data.j2 15 additions, 0 deletionsenoslib/infra/enos_vmong5k/ansible/user-data.j2
- enoslib/infra/enos_vmong5k/configuration.py 114 additions, 0 deletionsenoslib/infra/enos_vmong5k/configuration.py
- enoslib/infra/enos_vmong5k/constants.py 43 additions, 0 deletionsenoslib/infra/enos_vmong5k/constants.py
- enoslib/infra/enos_vmong5k/provider.py 189 additions, 0 deletionsenoslib/infra/enos_vmong5k/provider.py
- enoslib/infra/enos_vmong5k/schema.py 46 additions, 0 deletionsenoslib/infra/enos_vmong5k/schema.py
- enoslib/tests/unit/infra/enos_vmong5k/__init__.py 1 addition, 0 deletionsenoslib/tests/unit/infra/enos_vmong5k/__init__.py
- enoslib/tests/unit/infra/enos_vmong5k/test_configuration.py 74 additions, 0 deletionsenoslib/tests/unit/infra/enos_vmong5k/test_configuration.py
- enoslib/tests/unit/infra/enos_vmong5k/test_provider.py 141 additions, 0 deletionsenoslib/tests/unit/infra/enos_vmong5k/test_provider.py
Loading
Please register or sign in to comment