Advanced BI Topics¶
Introduction¶
To start, please read first Virtual or baremetal machine.
Request a specific machine¶
For bare metal testbeds, the BI infrastructure can provide details about the specific machines available.
(slices-venv) ~$ slices bi machine --help
Usage: slices bi machine [OPTIONS] COMMAND [ARGS]...
╭─ Options ─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ --help -h Show this message and exit. │
╰───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
╭─ Commands ────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ list List Slices BI Machines. │
│ show Show info about a specific machine. │
│ count List Machines Statistics (machine count per flavor type). │
╰───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
You can list all the machines on a specific infrastructure.
(slices-venv) ~$ slices bi --infra be-gent1-bi-baremetal1 machine list
Machines
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━┳━━━━━━━━━━━┳━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━┳━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━┓
┃ ID ┃ Name ┃ Available ┃ Description ┃ Flavors ┃ Tags ┃ Geo Location (lat,long) ┃ Rack Location ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━╇━━━━━━━━━━━╇━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━╇━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━┩
│ m_be-gent1-bi-baremetal1_4ps88pmpkcbttrqpct9s2vtf4p │ n079-06 │ True │ n079-06 │ pc,pcgen07 │ │ BE (51.013156, 3.707924) │ 07-9 6 │
│ m_be-gent1-bi-baremetal1_5zmv7xe8v8b578w8qd8beamhx6 │ n079-04 │ True │ n079-04 │ pc,pcgen07 │ │ BE (51.013156, 3.707924) │ 07-9 4 │
...
│ m_be-gent1-bi-baremetal1_47p7agbyv1bse9pmrc2ajmnynn │ internet │ True │ internet │ │ │ BE (51.013156, 3.707924) │ │
│ m_be-gent1-bi-baremetal1_3s9h5k8d13b8v8a3qjh2feag5a │ hp5412a │ True │ hp5412a │ │ │ BE (51.013156, 3.707924) │ │
└─────────────────────────────────────────────────────┴──────────┴───────────┴─────────────┴────────────────────┴──────┴──────────────────────────┴───────────────┘
You can then request a specific machine for use in your experiment.
(slices-venv) ~$ slices bi --infra be-gent1-bi-baremetal1 create my_machine --machine-id n079-06 --experiment exp2
...