{% set base = 'set interfaces irb unit ' ~ vlan_id ~ ' family inet address ' ~ (ip_cidr|need('Junos cần nhập IP thật của irb (vd 10.10.10.2/24)')) ~ ' vrrp-group ' ~ group %}
{{ base }} virtual-address {{ vip }}
{{ base }} priority {{ priority }}
{{ base }} accept-data
{% if preempt %}
{{ base }} preempt
{% endif %}
