summaryrefslogtreecommitdiff
path: root/setup.cfg
diff options
context:
space:
mode:
authorTom Stappaerts <tom.stappaerts@nuagenetworks.net>2019-05-15 11:03:58 +0200
committerTom Stappaerts <tom.stappaerts@nuagenetworks.net>2019-05-15 13:06:36 +0200
commit5e93b3e4cf60310d33bf397fd11b4ec50e6067a0 (patch)
treeb0cd443250941269dd26a7d988ce802b4dff3e87 /setup.cfg
parent563616967ddadb7790b6a4013a8fced0cd358deb (diff)
downloadheat-5e93b3e4cf60310d33bf397fd11b4ec50e6067a0.tar.gz
Fix allowed address pair validation
Neutron requires the allowed address pair ip address to be either an ip or a cidr. https://review.opendev.org/#/c/575265/ made heat verify for cidr only. Change-Id: I2cc2785cb32cf8d788af6262992b1b76107c8292 Story: 2005674 Task: 30985
Diffstat (limited to 'setup.cfg')
-rw-r--r--setup.cfg1
1 files changed, 1 insertions, 0 deletions
diff --git a/setup.cfg b/setup.cfg
index 62cdac7c0..9706e1f1f 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -101,6 +101,7 @@ heat.constraints =
iso_8601 = heat.engine.constraint.common_constraints:ISO8601Constraint
mac_addr = heat.engine.constraint.common_constraints:MACConstraint
net_cidr = heat.engine.constraint.common_constraints:CIDRConstraint
+ ip_or_cidr = heat.engine.constraint.common_constraints:IPCIDRConstraint
test_constr = heat.engine.constraint.common_constraints:TestConstraintDelay
timezone = heat.engine.constraint.common_constraints:TimezoneConstraint
# service constraints