diff options
| author | Armando Migliaccio <armando.migliaccio@eu.citrix.com> | 2012-01-25 00:35:34 +0000 |
|---|---|---|
| committer | Armando Migliaccio <armando.migliaccio@eu.citrix.com> | 2012-02-01 18:01:08 +0000 |
| commit | c56d677a7313b8b29406eaebdd27e59b2c1ee927 (patch) | |
| tree | 341e41842c7b85f8f5bcb7c154395bdb3d8d898e /nova/openstack | |
| parent | 8908d8ba499220c7495871eebcdd259d6dcdfb9d (diff) | |
| download | nova-c56d677a7313b8b29406eaebdd27e59b2c1ee927.tar.gz nova-c56d677a7313b8b29406eaebdd27e59b2c1ee927.tar.xz nova-c56d677a7313b8b29406eaebdd27e59b2c1ee927.zip | |
bug 921087: i18n-key and local-storage hard-coded in xenapi
This fix introduces a new flag 'sr_matching_filter', whose default value is
'other-config:i18n-key=local-storage'. This filter is used for finding the
SR on which to install guest instances. The default value is the Local
Storage in default XenServer/XCP installations, and it is what was hard-coded
so far.
To select an SR with a different matching criteria, this flag can be set
to 'other-config:my_favorite_sr=true'. On the other hand, to fall back on
the Default SR, as displayed by XenCenter and as returned by
xenapi.pool.get_default_SR, this flag can be set to to 'default-sr:true'.
This changeset also makes a small code simplification along the way.
Change-Id: Ia5ee438389c59a5ef0b858e8548643d57ef16c77
Diffstat (limited to 'nova/openstack')
0 files changed, 0 insertions, 0 deletions
