[SEBA-165] hide backend and policy_status for services which doesn't have those
Change-Id: I7b0bee305cbcfab200d64e3f2e8d9b5027d63050
diff --git a/lib/xos-genx/xosgenx/targets/modeldefs.xtarget b/lib/xos-genx/xosgenx/targets/modeldefs.xtarget
index 94b4136..1640b4f 100644
--- a/lib/xos-genx/xosgenx/targets/modeldefs.xtarget
+++ b/lib/xos-genx/xosgenx/targets/modeldefs.xtarget
@@ -11,6 +11,12 @@
{%- if m.options.description %}
description: "{{ xproto_unquote(m.options.description) }}"
{%- endif %}
+ {%- if m.options.sync_implemented %}
+ sync_implemented : "{{ xproto_unquote(m.options.sync_implemented) }}"
+ {%- endif %}
+ {%- if m.options.policy_implemented %}
+ policy_implemented : "{{ xproto_unquote(m.options.policy_implemented) }}"
+ {%- endif %}
{%- set goodlinks = xproto_links_to_modeldef_relations( xproto_base_links(m, proto.message_table) + m.links ) + xproto_links_to_modeldef_relations( xproto_base_rlinks(m, proto.message_table) + m.rlinks )%}
{%- if goodlinks %}
relations: