diff options
author | Kiall Mac Innes <kiall@hp.com> | 2015-02-24 12:30:51 +0000 |
---|---|---|
committer | Kiall Mac Innes <kiall@hp.com> | 2015-02-24 12:36:18 +0000 |
commit | f5bdde76b128c9f7b74151f61325b138c84ce57f (patch) | |
tree | 2f9af641cd1593c2937c30fceba011c3433339b2 /designate/objects/pool_attribute.py | |
parent | 1d8f7ff383cd7e537bb443d4bb963fae0668ea56 (diff) | |
download | designate-f5bdde76b128c9f7b74151f61325b138c84ce57f.tar.gz |
Correct PoolAttribute module name
Change-Id: I1d11c0a9cc7d56df8a4a3877217bb04f69f19338
Diffstat (limited to 'designate/objects/pool_attribute.py')
-rw-r--r-- | designate/objects/pool_attribute.py | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/designate/objects/pool_attribute.py b/designate/objects/pool_attribute.py new file mode 100644 index 00000000..f605d0a5 --- /dev/null +++ b/designate/objects/pool_attribute.py @@ -0,0 +1,28 @@ +# Copyright (c) 2014 Rackspace Hosting +# 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. +from designate.objects import base + + +class PoolAttribute(base.DictObjectMixin, base.PersistentObjectMixin, + base.DesignateObject): + FIELDS = { + 'pool_id': {}, + 'key': {}, + 'value': {} + } + + +class PoolAttributeList(base.ListObjectMixin, base.DesignateObject): + LIST_ITEM_TYPE = PoolAttribute |