Files
python-solumclient/solumclient/v1/platform.py
Noorul Islam K M acbfb5921a Sync oslo modules from oslo-incubator
Synced from commit 32e7f0b56f527427544050f251999f3de588ac93

Change-Id: I45d841614240575a98bc3512ef3df3683b4ad791
2014-09-19 19:10:19 +00:00

28 lines
876 B
Python

# Copyright 2013 - Noorul Islam K M
#
# 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 solumclient.openstack.common.apiclient import base
class Platform(base.Resource):
def __repr__(self):
return "<Platform %s>" % self._info
class PlatformManager(base.BaseManager):
resource_class = Platform
def get(self, **kwargs):
return self._get('/v1')