Sphinx extension: Allow evaluation of Python expressions
Sphinx extension: Allow evaluation of Python expressions

There are quite many hardcoded constants (e.g. “[…] one of ``file``,
``lvm-pv`` or ``lvm-vg`` […]). By using constants it'll be easier to
identify these.

With such lists of values it's also easy to miss some when
extending/changing something. By adding assertions inlined with reST,
these can also be detected.

Signed-off-by: Michael Hanselmann <68b67885ff74281219b4a4be33cc20fd45078d7c@google.com>
Reviewed-by: Iustin Pop <acf83a5274f31a43af6b914614365999469c1a31@google.com>

mbakke/ganeti,andir/ganeti,yiannist/ganeti,ganeti/ganeti,leshchevds/ganeti,ganeti-github-testing/ganeti-test-1,apyrgio/ganeti,andir/ganeti,apyrgio/snf-ganeti,yiannist/ganeti,grnet/snf-ganeti,ganeti-github-testing/ganeti-test-1,apyrgio/snf-ganeti,apyrgio/ganeti,leshchevds/ganeti,dimara/ganeti,ganeti/ganeti,mbakke/ganeti,ganeti/ganeti,grnet/snf-ganeti,onponomarev/ganeti,onponomarev/ganeti,andir/ganeti,bitemyapp/ganeti,dimara/ganeti,bitemyapp/ganeti,leshchevds/ganeti,yiannist/ganeti,mbakke/ganeti