# Path: magnumclient/v1/baseunit.py
# CREATION_ATTRIBUTES = ['name', 'node_count', 'discovery_url', 'master_count']
# class BaseTemplate(base.Resource):
# class BaseTemplateManager(base.Manager):
#     def __repr__(self):
#     def _path(cls, id=None):
#     def list(self, limit=None, marker=None, sort_key=None,
#              sort_dir=None, detail=False):
#     def get(self, id):
#     def create(self, **kwargs):
#     def delete(self, id):
#     def update(self, id, patch, rollback=False):


from magnumclient.v1 import baseunit
# Copyright 2014 NEC Corporation.  All rights reserved.
#
#    Licensed under the Apache License, Version 2.0 (the "License"); you may
#    not use this file except in compliance with the License. You may obtain
#    a copy of the License at
#
#         http://www.apache.org/licenses/LICENSE-2.0
#
#    Unless required by applicable law or agreed to in writing, software
#    distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
#    WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
#    License for the specific language governing permissions and limitations
#    under the License.



CREATION_ATTRIBUTES = baseunit.CREATION_ATTRIBUTES
CREATION_ATTRIBUTES.append('baymodel_id')
CREATION_ATTRIBUTES.append('bay_create_timeout')



# Path: magnumclient/v1/baseunit.py
# CREATION_ATTRIBUTES = ['name', 'node_count', 'discovery_url', 'master_count']
# class BaseTemplate(base.Resource):
# class BaseTemplateManager(base.Manager):
#     def __repr__(self):
#     def _path(cls, id=None):
#     def list(self, limit=None, marker=None, sort_key=None,
#              sort_dir=None, detail=False):
#     def get(self, id):
#     def create(self, **kwargs):
#     def delete(self, id):
#     def update(self, id, patch, rollback=False):


# Path: magnumclient/v1/bays.py
from magnumclient.v1 import baseunit

# Copyright 2014 NEC Corporation.  All rights reserved.
#
#    Licensed under the Apache License, Version 2.0 (the "License"); you may
#    not use this file except in compliance with the License. You may obtain
#    a copy of the License at
#
#         http://www.apache.org/licenses/LICENSE-2.0
#
#    Unless required by applicable law or agreed to in writing, software
#    distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
#    WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
#    License for the specific language governing permissions and limitations
#    under the License.



CREATION_ATTRIBUTES = baseunit.CREATION_ATTRIBUTES
CREATION_ATTRIBUTES.append('baymodel_id')
CREATION_ATTRIBUTES.append('bay_create_timeout')



class Bay(baseunit.BaseTemplate):