Merge "fix DeletableSubnet in api/network/common"

This commit is contained in:
Jenkins 2013-10-23 12:02:33 +00:00 committed by Gerrit Code Review
commit 0fba9391f8

View File

@ -56,7 +56,9 @@ class DeletableNetwork(DeletableResource):
class DeletableSubnet(DeletableResource):
_router_ids = set()
def __init__(self, *args, **kwargs):
super(DeletableSubnet, self).__init__(*args, **kwargs)
self._router_ids = set()
def add_to_router(self, router_id):
self._router_ids.add(router_id)