Skip to content

Commit

Permalink
Merge pull request #42 from Ray76/master
Browse files Browse the repository at this point in the history
Support for virtual routes for VRRP instances
  • Loading branch information
evrardjp authored Mar 30, 2017
2 parents f8244a8 + 3788023 commit 4f7c8eb
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions templates/keepalived.conf.j2
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,13 @@ vrrp_instance {{ name }} {
{{ vip }}
{% endfor %}
}
{% if instance.virtual_routes is defined %}
virtual_routes {
{% for route in instance.virtual_routes %}
{{ route }}
{% endfor %}
}
{% endif %}
{% if instance.track_scripts is defined %}
track_script {
{% for track_script in instance.track_scripts %}
Expand Down

0 comments on commit 4f7c8eb

Please sign in to comment.