{% if iface_config.metric is defined and iface_config.metric is not none %}
isis metric {{ iface_config.metric }}
{% endif %}
{% if iface_config.passive is defined %}
isis passive
{% endif %}
{% if iface_config.password is defined and iface_config.password.plaintext_password is defined and iface_config.password.plaintext_password is not none %}
<help>Virtual Routing and Forwarding instance</help>
<constraint>
<validator name="vrf-name"/>
</constraint>
<constraintErrorMessage>VRF instance name must be 15 characters or less and can not\nbe named as regular network interfaces.\n</constraintErrorMessage>