Revision a2bd0802 snf-cyclades-app/synnefo/logic/backend.py
b/snf-cyclades-app/synnefo/logic/backend.py | ||
---|---|---|
813 | 813 |
gateway = None |
814 | 814 |
gateway6 = None |
815 | 815 |
for _subnet in network.subnets.all(): |
816 |
if _subnet.dhcp and not "nfdhcpd" in tags: |
|
817 |
tags.append("nfdhcpd") |
|
816 | 818 |
if _subnet.ipversion == 4: |
817 |
if _subnet.dhcp: |
|
818 |
tags.append('nfdhcpd') |
|
819 | 819 |
subnet = _subnet.cidr |
820 | 820 |
gateway = _subnet.gateway |
821 | 821 |
elif _subnet.ipversion == 6: |
Also available in: Unified diff