<div dir="ltr">Hi Emma,<div><br></div><div>If you don't need additional elements on UI, just create "environment_config.yaml" with</div><div>"{}" value for "attributes" key, i.e. "attributes: {}"</div><div><br></div><div>Thanks,</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Apr 24, 2015 at 6:03 PM, Emma Gordon (<a href="http://projectcalico.org">projectcalico.org</a>) <span dir="ltr"><<a href="mailto:emma@projectcalico.org" target="_blank">emma@projectcalico.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">





<div lang="EN-GB" link="blue" vlink="purple">
<div>
<p class="MsoNormal">The fuel plugin wiki <a href="https://wiki.openstack.org/wiki/Fuel/Plugins#environment_config.yaml" target="_blank">
https://wiki.openstack.org/wiki/Fuel/Plugins#environment_config.yaml</a> 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?<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">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
<span style="background:white">test_check_env_config_attrs_fail_if_none test in<b>
</b><a href="https://github.com/stackforge/fuel-plugins/blob/master/fuel_plugin_builder/fuel_plugin_builder/tests/test_validator_v1.py" target="_blank">https://github.com/stackforge/fuel-plugins/blob/master/fuel_plugin_builder/fuel_plugin_builder/tests/test_validator_v1.py</a>.
 Is it not permitted to have no attributes? Or, if that is a reasonable use case, should that test not exist?<u></u><u></u></span></p>
<p class="MsoNormal"><span style="background:white"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="background:white">Thanks,<u></u><u></u></span></p>
<p class="MsoNormal"><span style="background:white">Emma</span><u></u><u></u></p>
</div>
</div>

<br>__________________________________________________________________________<br>
OpenStack Development Mailing List (not for usage questions)<br>
Unsubscribe: <a href="http://OpenStack-dev-request@lists.openstack.org?subject:unsubscribe" target="_blank">OpenStack-dev-request@lists.openstack.org?subject:unsubscribe</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
<br></blockquote></div><br></div>