From 2d208b77e580555f39ecac492c743cc314ec04c3 Mon Sep 17 00:00:00 2001 From: Aditya Addepalli <30334566+Dyex719@users.noreply.github.com> Date: Mon, 30 Oct 2017 09:59:22 +0530 Subject: [PATCH] Zone parameter in Subnet create is compulsory --- cloudbridge/cloud/interfaces/services.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cloudbridge/cloud/interfaces/services.py b/cloudbridge/cloud/interfaces/services.py index 5c1cdea5..c57c5c6c 100644 --- a/cloudbridge/cloud/interfaces/services.py +++ b/cloudbridge/cloud/interfaces/services.py @@ -740,7 +740,7 @@ def find(self, name, limit=None, marker=None): pass @abstractmethod - def create(self, name, network_id, cidr_block, zone=None): + def create(self, name, network_id, cidr_block, zone=zone): """ Create a new subnet within the supplied network. @@ -756,7 +756,7 @@ def create(self, name, network_id, cidr_block, zone=None): subnet. :type zone: ``str`` - :param zone: An optional placement zone for the subnet. Some providers + :param zone: A placement zone for the subnet. Some providers may not support this, in which case the value is ignored. :rtype: ``object`` of :class:`.Subnet`