~ubuntu-branches/ubuntu/wily/heat/wily

« back to all changes in this revision

Viewing changes to heat/engine/clients/os/magnum.py

  • Committer: Package Import Robot
  • Author(s): Corey Bryant
  • Date: 2015-08-19 08:11:50 UTC
  • mfrom: (1.1.27)
  • Revision ID: package-import@ubuntu.com-20150819081150-m969fd35xn8bdmfu
Tags: 1:5.0.0~b2-0ubuntu1
* New upstream milestone for OpenStack Liberty.
* d/control: Align (build-)depends with upstream.
* d/p/fix-requirements.patch: Dropped. No longer needed.
* d/p/fixup-assert-regex.patch: Rebased.
* d/rules: Remove .eggs directory in override_dh_auto_clean.

Show diffs side-by-side

added added

removed removed

Lines of Context:
22
22
 
23
23
class MagnumClientPlugin(client_plugin.ClientPlugin):
24
24
 
25
 
    service_types = ['container']
 
25
    service_types = [CONTAINER] = ['container']
26
26
 
27
27
    @staticmethod
28
28
    def is_available():
30
30
 
31
31
    def _create(self):
32
32
        endpoint_type = self._get_client_option('magnum', 'endpoint_type')
33
 
        endpoint = self.url_for(service_type=self.service_types[0],
 
33
        endpoint = self.url_for(service_type=self.CONTAINER,
34
34
                                endpoint_type=endpoint_type)
35
35
 
36
36
        args = {