Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
itminedu
synnefo
Commits
c545b67c
Commit
c545b67c
authored
Nov 07, 2013
by
Christos Stavrakakis
Browse files
cyclades: Pass 'nfdhcp' tag to IPv6 networks
Pass 'nfdhcp' tag even if network is IPv6 only.
parent
aefe2ed3
Changes
1
Show whitespace changes
Inline
Side-by-side
snf-cyclades-app/synnefo/logic/backend.py
View file @
c545b67c
...
...
@@ -813,9 +813,9 @@ def _create_network(network, backend):
gateway
=
None
gateway6
=
None
for
_subnet
in
network
.
subnets
.
all
():
if
_subnet
.
dhcp
and
not
"nfdhcpd"
in
tags
:
tags
.
append
(
"nfdhcpd"
)
if
_subnet
.
ipversion
==
4
:
if
_subnet
.
dhcp
:
tags
.
append
(
'nfdhcpd'
)
subnet
=
_subnet
.
cidr
gateway
=
_subnet
.
gateway
elif
_subnet
.
ipversion
==
6
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment