diff --git a/doc/source/examples.rst b/doc/source/examples.rst new file mode 100644 index 0000000..3d92fb0 --- /dev/null +++ b/doc/source/examples.rst @@ -0,0 +1,94 @@ + +=================== +Allocation Examples +=================== + + + +ceph_ds_multiple_disk +----------------- + +Hardware information +~~~~~~~~~~~~~~~~~~~~ + +.. literalinclude:: schemas/multiple_disk.yaml + :language: yaml + +Dynamic schema +~~~~~~~~~~~~~~ +.. literalinclude:: schemas/ceph_ds.yaml + :language: yaml + +Allocation result +~~~~~~~~~~~~~~~~~ + +.. image:: schemas/ceph_ds_multiple_disk.svg + :width: 100% + + + +ceph_ds_single_disk +----------------- + +Hardware information +~~~~~~~~~~~~~~~~~~~~ + +.. literalinclude:: schemas/single_disk.yaml + :language: yaml + +Dynamic schema +~~~~~~~~~~~~~~ +.. literalinclude:: schemas/ceph_ds.yaml + :language: yaml + +Allocation result +~~~~~~~~~~~~~~~~~ + +.. image:: schemas/ceph_ds_single_disk.svg + :width: 100% + + + +simple_os_ds_multiple_disk +----------------- + +Hardware information +~~~~~~~~~~~~~~~~~~~~ + +.. literalinclude:: schemas/multiple_disk.yaml + :language: yaml + +Dynamic schema +~~~~~~~~~~~~~~ +.. literalinclude:: schemas/simple_os_ds.yaml + :language: yaml + +Allocation result +~~~~~~~~~~~~~~~~~ + +.. image:: schemas/simple_os_ds_multiple_disk.svg + :width: 100% + + + +simple_os_ds_single_disk +----------------- + +Hardware information +~~~~~~~~~~~~~~~~~~~~ + +.. literalinclude:: schemas/single_disk.yaml + :language: yaml + +Dynamic schema +~~~~~~~~~~~~~~ +.. literalinclude:: schemas/simple_os_ds.yaml + :language: yaml + +Allocation result +~~~~~~~~~~~~~~~~~ + +.. image:: schemas/simple_os_ds_single_disk.svg + :width: 100% + + \ No newline at end of file diff --git a/doc/source/schemas/ceph_ds_multiple_disk.svg b/doc/source/schemas/ceph_ds_multiple_disk.svg new file mode 100644 index 0000000..25d3a2d --- /dev/null +++ b/doc/source/schemas/ceph_ds_multiple_disk.svg @@ -0,0 +1,2 @@ + +sda size=10000root size=5000swap size=2048ceph size=0ceph-journal size=0unallocated size=2952sdb size=10000root size=0swap size=0ceph size=10000ceph-journal size=0unallocated size=0sdc size=10000root size=0swap size=0ceph size=10000ceph-journal size=0unallocated size=0sde size=2048root size=0swap size=0ceph size=0ceph-journal size=2048unallocated size=0 \ No newline at end of file diff --git a/doc/source/schemas/ceph_ds_single_disk.svg b/doc/source/schemas/ceph_ds_single_disk.svg new file mode 100644 index 0000000..8020d82 --- /dev/null +++ b/doc/source/schemas/ceph_ds_single_disk.svg @@ -0,0 +1,2 @@ + +sda size=10000root size=5000swap size=2048ceph size=2952ceph-journal size=0unallocated size=0 \ No newline at end of file diff --git a/doc/source/schemas/simple_os_ds_multiple_disk.svg b/doc/source/schemas/simple_os_ds_multiple_disk.svg new file mode 100644 index 0000000..1fac65e --- /dev/null +++ b/doc/source/schemas/simple_os_ds_multiple_disk.svg @@ -0,0 +1,2 @@ + +sda size=10000root size=5000swap size=0log size=1000data_var_lib size=4000unallocated size=0sdb size=10000root size=0swap size=0log size=0data_var_lib size=10000unallocated size=0sdc size=10000root size=0swap size=0log size=0data_var_lib size=10000unallocated size=0sde size=2048root size=0swap size=2048log size=0data_var_lib size=0unallocated size=0 \ No newline at end of file diff --git a/doc/source/schemas/simple_os_ds_single_disk.svg b/doc/source/schemas/simple_os_ds_single_disk.svg new file mode 100644 index 0000000..36cee9d --- /dev/null +++ b/doc/source/schemas/simple_os_ds_single_disk.svg @@ -0,0 +1,2 @@ + +sda size=10000root size=5000swap size=2048log size=1000data_var_lib size=1952unallocated size=0 \ No newline at end of file