Is it possible to have the xml for a Xencenter plugin query in such a way that the plugin only displays on the pool master? I have the following plugin for a web interface and would like it to only show on the master. I don't want to rely on tagging as the master role might change.
Thanks for any help!
Thanks for any help!
Code:
<?xml version="1.0" encoding="UTF-8"?>
<XenCenterPlugin xmlns="[URL unfurl="true"]http://www.citrix.com/XenCenter/Plugins/schema"[/URL] version="2" plugin_version="1.0.0.0">
<TabPage name="webui-tab" url="[URL unfurl="true"]http://{$ip_address}:8080/test.html"[/URL] search="a02d66e4-deb9-430e-ad60-7912cad1f723"/>
<Search uuid="a02d66e4-deb9-430e-ad60-7912cad1f723" name="Overview" major_version="2" minor_version="0" show_expanded="yes">
<Query>
<QueryScope>
<Server />
</QueryScope>
<StringListContainsQuery property="tags" contains="yes" query="test" />
</Query>
</Search>
</XenCenterPlugin>