Skip to content

Commit 25e580c

Browse files
committed
Rename ip6 variables to ipv6
1 parent b484c54 commit 25e580c

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,8 @@ should be a dict containing the following items:
4949
- `prefix` Prefix of the route, required.
5050
- `gateway` Gateway of the route, required.
5151
- `metric` Metric of the route (optional).
52-
- `ip6` IPv6 address of the virtual bridge (optional).
53-
- `ip6_prefix` IPv6 prefix of the virtual bridge (optional).
52+
- `ipv6` IPv6 address of the virtual bridge (optional).
53+
- `ipv6_prefix` IPv6 prefix of the virtual bridge (optional).
5454
- `routesv6` Optional list of additionals IPv6 routes defined as following:
5555
- `address` IPv6 address of the route, required.
5656
- `prefix` IPv6 previx of the route, required.

templates/network.xml.j2

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<network {% if item.ip6 is defined %}ipv6='yes'{% endif %} connections='1'>
1+
<network {% if item.ipv6 is defined %}ipv6='yes'{% endif %} connections='1'>
22
<name>{{ item.name }}</name>
33
<forward mode='{{ item.mode }}'/>
44
<bridge name='{{ item.bridge }}'/>
@@ -16,8 +16,8 @@
1616
<route address="{{ route.address }}" prefix="{{ route.prefix }}" gateway="{{ route.gateway }}" {% if route.metric is defined %} metric='{{ route.metric }}' {% endif %}/>
1717
{% endfor %}
1818
{% endif %}
19-
{% if item.ip6 is defined and item.ip6_prefix is defined %}
20-
<ip family='ipv6' address='{{ item.ip6 }}' prefix='{{ item.ip6_prefix }}'>
19+
{% if item.ipv6 is defined and item.ipv6_prefix is defined %}
20+
<ip family='ipv6' address='{{ item.ipv6 }}' prefix='{{ item.ipv6_prefix }}'>
2121
</ip>
2222
{% endif %}
2323
{% if item.routesv6 is defined %}

0 commit comments

Comments
 (0)