[openstack-dev] [fuel][plugin] What should go in environment_config.yaml when no additional attributes are desired in the Fuel Web UI?

Evgeniy L eli at mirantis.com
Fri Apr 24 15:38:37 UTC 2015


Hi Emma,

If you don't need additional elements on UI, just create
"environment_config.yaml" with
"{}" value for "attributes" key, i.e. "attributes: {}"

Thanks,

On Fri, Apr 24, 2015 at 6:03 PM, Emma Gordon (projectcalico.org) <
emma at projectcalico.org> wrote:

>  The fuel plugin wiki
> https://wiki.openstack.org/wiki/Fuel/Plugins#environment_config.yaml
> describes the required syntax for declaring (in the environment_config.yaml
> file) additional attributes that should appear under the Settings tab of
> the Fuel Web UI. If the only requirement is to have the check box to enable
> the plugin, but no additional attributes, what should go in this file?
>
>
>
> I’ve tried not having such a file, leaving it empty, and various variants
> of None/””/[] after ‘attributes:’, but all result in the plugin failing to
> build – the latter due to failing the test_check_env_config_attrs_fail_if_none
> test in
> https://github.com/stackforge/fuel-plugins/blob/master/fuel_plugin_builder/fuel_plugin_builder/tests/test_validator_v1.py.
> Is it not permitted to have no attributes? Or, if that is a reasonable use
> case, should that test not exist?
>
>
>
> Thanks,
>
> Emma
>
> __________________________________________________________________________
> OpenStack Development Mailing List (not for usage questions)
> Unsubscribe: OpenStack-dev-request at lists.openstack.org?subject:unsubscribe
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20150424/165e3d2a/attachment.html>


More information about the OpenStack-dev mailing list