aboutsummaryrefslogtreecommitdiffstats
path: root/yardstick/benchmark/context/model.py
diff options
context:
space:
mode:
Diffstat (limited to 'yardstick/benchmark/context/model.py')
-rw-r--r--yardstick/benchmark/context/model.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/yardstick/benchmark/context/model.py b/yardstick/benchmark/context/model.py
index ff56fc7fc..768c1d381 100644
--- a/yardstick/benchmark/context/model.py
+++ b/yardstick/benchmark/context/model.py
@@ -82,7 +82,7 @@ class Network(Object):
super(Network, self).__init__(name, context)
self.stack_name = context.name + "-" + self.name
self.subnet_stack_name = self.stack_name + "-subnet"
- self.subnet_cidr = attrs["cidr"]
+ self.subnet_cidr = attrs.get('cidr', '10.0.1.0/24')
self.router = None
if "external_network" in attrs: