Module Expr Str Import alias ImportFrom alias ImportFrom alias ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Num decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Num decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad SubscriptLoad AttributeLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr Index Num attr Num Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad SubscriptLoad AttributeLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr Index Num attr Num Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad SubscriptLoad AttributeLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr Index Num attr Num decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Str Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Str decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr NameLoad body FunctionDef arguments args NameParam defaults body Assign NameStore Str Assign NameStore Str Assign AttributeStore NameLoad attr Call AttributeLoad Str attr keyword NameLoad keyword NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str decorator_list NameLoad decorator_list ClassDef bases AttributeLoad NameLoad attr NameLoad body FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str decorator_list NameLoad decorator_list ClassDef bases AttributeLoad NameLoad attr NameLoad body FunctionDef arguments args NameParam defaults body Assign NameStore Str Assign NameStore Str Assign AttributeStore NameLoad attr Call AttributeLoad Str attr keyword NameLoad keyword NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str decorator_list NameLoad decorator_list ClassDef bases AttributeLoad NameLoad attr NameLoad body FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str decorator_list NameLoad decorator_list
N/A N/A 
Copyright 2013 Rackspace

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.
 N/A unittest cloudcafe.compute.common.types ComputeTaskStates cloudcafe.compute.servers_api.models.servers Server ServerDomainTest N/A object N/A test_server_disk_config N/A N/A self N/A N/A N/A N/A N/A self assertEqual N/A N/A self server disk_config AUTO N/A test_server_power_state N/A N/A self N/A N/A N/A N/A N/A self assertEqual N/A N/A self server power_state 1 N/A test_server_progress N/A N/A self N/A N/A N/A N/A N/A self assertEqual N/A N/A self server progress 100 N/A test_server_task_state N/A N/A self N/A N/A N/A N/A N/A self assertEqual N/A N/A self server task_state N/A ComputeTaskStates NONE N/A test_server_vm_state N/A N/A self N/A N/A N/A N/A N/A self assertEqual N/A N/A self server vm_state active N/A test_server_id N/A N/A self N/A N/A N/A N/A N/A self assertEqual N/A N/A self server id 5 N/A test_server_name N/A N/A self N/A N/A N/A N/A N/A self assertEqual N/A N/A self server name testserver47476 N/A test_tenant_id N/A N/A self N/A N/A N/A N/A N/A self assertEqual N/A N/A self server tenant_id 660 N/A test_server_status N/A N/A self N/A N/A N/A N/A N/A self assertEqual N/A N/A self server status ACTIVE N/A test_server_updated_time N/A N/A self N/A N/A N/A N/A N/A self assertEqual N/A N/A self server updated 2012-12-03T19:04:06Z N/A test_host_id N/A N/A self N/A N/A N/A N/A N/A self assertEqual N/A N/A self server host_id 123 N/A test_user_id N/A N/A self N/A N/A N/A N/A N/A self assertEqual N/A N/A self server user_id 199835 N/A test_server_created_time N/A N/A self N/A N/A N/A N/A N/A self assertEqual N/A N/A self server created 2012-12-03T18:59:16Z N/A test_server_access_ips N/A N/A self N/A N/A N/A N/A N/A self assertEqual N/A N/A self server accessIPv4 192.168.1.10 N/A N/A N/A self assertEqual N/A N/A self server accessIPv6 2001:11:7811:69:cf10:c02d:ff10:fa N/A test_server_addresses N/A N/A self N/A N/A N/A N/A N/A self assertEqual N/A N/A N/A N/A self server addresses public ipv4 198.61.236.10 N/A N/A N/A self assertEqual N/A N/A N/A N/A N/A N/A self server addresses public addresses N/A 0 version 4 N/A N/A N/A self assertEqual N/A N/A N/A N/A self server addresses public ipv6 2001:11:7811:69:cf10:c02d:ff10:fa N/A N/A N/A self assertEqual N/A N/A N/A N/A N/A N/A self server addresses public addresses N/A 1 version 6 N/A N/A N/A self assertEqual N/A N/A N/A N/A self server addresses private ipv4 10.176.99.109 N/A N/A N/A self assertEqual N/A N/A N/A N/A N/A N/A self server addresses private addresses N/A 0 version 4 N/A test_server_flavor N/A N/A self N/A N/A N/A N/A N/A self assertEqual N/A N/A N/A self server flavor id 2 N/A N/A N/A self assertEqual N/A N/A N/A N/A self server flavor links bookmark https://127.0.0.1/660/flavors/2 N/A test_server_image N/A N/A self N/A N/A N/A N/A N/A self assertEqual N/A N/A N/A self server image id 1 N/A N/A N/A self assertEqual N/A N/A N/A N/A self server image links bookmark https://127.0.0.1/660/images/1 N/A test_server_links N/A N/A self N/A N/A N/A N/A N/A self assertEqual N/A N/A N/A self server links self https://127.0.0.1/v2/660/servers/5 N/A N/A N/A self assertEqual N/A N/A N/A self server links bookmark https://127.0.0.1/660/servers/5 N/A test_server_metadata N/A N/A self N/A N/A N/A N/A N/A self assertEqual N/A N/A N/A N/A self server metadata get meta1 value1 N/A test_server_keypair N/A N/A self N/A N/A N/A N/A N/A self assertEqual N/A N/A self server key_name ssh_key N/A test_server_instance_name N/A N/A self N/A N/A N/A N/A N/A self assertEqual N/A N/A self server instance_name instance-test N/A test_hypervisor_hostname N/A N/A self N/A N/A N/A N/A N/A self assertEqual N/A N/A self server hypervisor_name hyper-host N/A test_server_host N/A N/A self N/A N/A N/A N/A N/A self assertEqual N/A N/A self server host host123 N/A N/A ServerFromVolumeDomainTest N/A object N/A test_server_image N/A N/A self N/A N/A N/A N/A N/A self assertIsNone N/A N/A self server image N/A N/A ServerXMLDomainTest N/A N/A unittest TestCase ServerDomainTest N/A setUpClass N/A N/A cls N/A N/A N/A docs_url http://docs.openstack.org N/A ext compute/ext/extended_status N/A N/A cls server_xml N/A N/A 
            <server
            xmlns:OS-DCF="{docs_url}/compute/ext/disk_config/api/v1.1"
            xmlns:OS-EXT-STS="{docs_url}/{ext}/api/v1.1"
            xmlns:OS-EXT-SRV-ATTR="{docs_url}/{ext}/api/v1.1"
            xmlns:atom="http://www.w3.org/2005/Atom"
            xmlns="{docs_url}/compute/api/v1.1"
            status="ACTIVE" updated="2012-12-03T19:04:06Z"
            hostId="123"
            tenant_id="660"
            name="testserver47476" created="2012-12-03T18:59:16Z"
            userId="199835" tenantId="660" accessIPv4="192.168.1.10"
            accessIPv6="2001:11:7811:69:cf10:c02d:ff10:fa"
            progress="100" id="5" OS-EXT-STS:vm_state="active"
            key_name="ssh_key"
            OS-EXT-STS:task_state="None" OS-EXT-STS:power_state="1"
            OS-DCF:diskConfig="AUTO"
            OS-EXT-SRV-ATTR:instance_name="instance-test"
            OS-EXT-SRV-ATTR:host="host123"
            OS-EXT-SRV-ATTR:hypervisor_hostname="hyper-host">
            <image id="1">
                <atom:link href="https://127.0.0.1/660/images/1"
                rel="bookmark"/>
            </image>
            <flavor id="2">
                <atom:link href="https://127.0.0.1/660/flavors/2"
                rel="bookmark"/>
            </flavor>
            <metadata>
                <meta key="meta1">value1</meta>
            </metadata>
            <addresses>
                <network id="public">
                    <ip version="4" addr="198.61.236.10"/>
                    <ip version="6" addr="2001:11:7811:69:cf10:c02d:ff10:fa"/>
                </network>
                <network id="private">
                    <ip version="4" addr="10.176.99.109"/>
                </network>
            </addresses>
            <atom:link href="https://127.0.0.1/v2/660/servers/5" rel="self"/>
            <atom:link href="https://127.0.0.1/660/servers/5" rel="bookmark"/>
            </server>
             format docs_url docs_url ext ext N/A N/A cls server N/A N/A Server deserialize N/A cls server_xml xml N/A classmethod N/A ServerJSONDomainTest N/A N/A unittest TestCase ServerDomainTest N/A setUpClass N/A N/A cls N/A N/A N/A N/A cls server_json 
            {
              "server" : {
                "status" : "ACTIVE",
                "key_name" : "ssh_key",
                "updated" : "2012-12-03T19:04:06Z",
                "hostId" : "123",
                "OS-EXT-SRV-ATTR:host" : "host123",
                "addresses" : {
                  "public" : [
                    {
                      "version" : 4,
                      "addr" : "198.61.236.10"
                    },
                    {
                      "version" : 6,
                      "addr" : "2001:11:7811:69:cf10:c02d:ff10:fa"
                    }
                  ],
                  "private" : [
                    {
                      "version" : 4,
                      "addr" : "10.176.99.109"
                    }
                  ]
                },
                "links" : [
                  {
                    "href" : "https://127.0.0.1/v2/660/servers/5",
                    "rel" : "self"
                  },
                  {
                    "href" : "https://127.0.0.1/660/servers/5",
                    "rel" : "bookmark"
                  }
                ],
                "image" : {
                  "id" : "1",
                  "links" : [
                    {
                      "href" : "https://127.0.0.1/660/images/1",
                      "rel" : "bookmark"
                    }
                  ]
                },
                "OS-EXT-STS:task_state" : null,
                "OS-EXT-STS:vm_state" : "active",
                "OS-EXT-SRV-ATTR:instance_name" : "instance-test",
                "OS-EXT-SRV-ATTR:hypervisor_hostname" : "hyper-host",
                "flavor" : {
                  "id" : "2",
                  "links" : [
                    {
                      "href" : "https://127.0.0.1/660/flavors/2",
                      "rel" : "bookmark"
                    }
                  ]
                },
                "id" : "5",
                "user_id" : "199835",
                "name" : "testserver47476",
                "created" : "2012-12-03T18:59:16Z",
                "tenant_id" : "660",
                "OS-DCF:diskConfig" : "AUTO",
                "accessIPv4" : "192.168.1.10",
                "accessIPv6" : "2001:11:7811:69:cf10:c02d:ff10:fa",
                "progress" : 100,
                "OS-EXT-STS:power_state" : 1,
                "metadata" : {
                    "meta1": "value1"
                }
              }
            }
             N/A N/A cls server N/A N/A Server deserialize N/A cls server_json json N/A classmethod N/A ServerFromVolumeXMLDomainTest N/A N/A unittest TestCase ServerFromVolumeDomainTest N/A setUpClass N/A N/A cls N/A N/A N/A docs_url http://docs.openstack.org N/A ext compute/ext/extended_status N/A N/A cls server_xml N/A N/A 
            <server
            xmlns:OS-DCF="{docs_url}/compute/ext/disk_config/api/v1.1"
            xmlns:OS-EXT-STS="{docs_url}/{ext}/api/v1.1"
            xmlns:OS-EXT-SRV-ATTR="{docs_url}/{ext}/api/v1.1"
            xmlns:atom="http://www.w3.org/2005/Atom"
            xmlns="{docs_url}/compute/api/v1.1"
            status="ACTIVE" updated="2012-12-03T19:04:06Z"
            hostId="123"
            tenant_id="660"
            name="testserver47476" created="2012-12-03T18:59:16Z"
            userId="199835" tenantId="660" accessIPv4="192.168.1.10"
            accessIPv6="2001:11:7811:69:cf10:c02d:ff10:fa"
            progress="100" id="5" OS-EXT-STS:vm_state="active"
            key_name="ssh_key"
            OS-EXT-STS:task_state="None" OS-EXT-STS:power_state="1"
            OS-DCF:diskConfig="AUTO"
            OS-EXT-SRV-ATTR:instance_name="instance-test"
            OS-EXT-SRV-ATTR:host="host123"
            OS-EXT-SRV-ATTR:hypervisor_hostname="hyper-host">
            <image/>
            <flavor id="2">
                <atom:link href="https://127.0.0.1/660/flavors/2"
                rel="bookmark"/>
            </flavor>
            <metadata>
                <meta key="meta1">value1</meta>
            </metadata>
            <addresses>
                <network id="public">
                    <ip version="4" addr="198.61.236.10"/>
                    <ip version="6" addr="2001:11:7811:69:cf10:c02d:ff10:fa"/>
                </network>
                <network id="private">
                    <ip version="4" addr="10.176.99.109"/>
                </network>
            </addresses>
            <atom:link href="https://127.0.0.1/v2/660/servers/5" rel="self"/>
            <atom:link href="https://127.0.0.1/660/servers/5" rel="bookmark"/>
            </server>
             format docs_url docs_url ext ext N/A N/A cls server N/A N/A Server deserialize N/A cls server_xml xml N/A classmethod N/A ServerFromVolumeJSONDomainTest N/A N/A unittest TestCase ServerFromVolumeDomainTest N/A setUpClass N/A N/A cls N/A N/A N/A N/A cls server_json 
            {
              "server" : {
                "status" : "ACTIVE",
                "key_name" : "ssh_key",
                "updated" : "2012-12-03T19:04:06Z",
                "hostId" : "123",
                "OS-EXT-SRV-ATTR:host" : "host123",
                "addresses" : {
                  "public" : [
                    {
                      "version" : 4,
                      "addr" : "198.61.236.10"
                    },
                    {
                      "version" : 6,
                      "addr" : "2001:11:7811:69:cf10:c02d:ff10:fa"
                    }
                  ],
                  "private" : [
                    {
                      "version" : 4,
                      "addr" : "10.176.99.109"
                    }
                  ]
                },
                "links" : [
                  {
                    "href" : "https://127.0.0.1/v2/660/servers/5",
                    "rel" : "self"
                  },
                  {
                    "href" : "https://127.0.0.1/660/servers/5",
                    "rel" : "bookmark"
                  }
                ],
                "image" : "",
                "OS-EXT-STS:task_state" : null,
                "OS-EXT-STS:vm_state" : "active",
                "OS-EXT-SRV-ATTR:instance_name" : "instance-test",
                "OS-EXT-SRV-ATTR:hypervisor_hostname" : "hyper-host",
                "flavor" : {
                  "id" : "2",
                  "links" : [
                    {
                      "href" : "https://127.0.0.1/660/flavors/2",
                      "rel" : "bookmark"
                    }
                  ]
                },
                "id" : "5",
                "user_id" : "199835",
                "name" : "testserver47476",
                "created" : "2012-12-03T18:59:16Z",
                "tenant_id" : "660",
                "OS-DCF:diskConfig" : "AUTO",
                "accessIPv4" : "192.168.1.10",
                "accessIPv6" : "2001:11:7811:69:cf10:c02d:ff10:fa",
                "progress" : 100,
                "OS-EXT-STS:power_state" : 1,
                "metadata" : {
                    "meta1": "value1"
                }
              }
            }
             N/A N/A cls server N/A N/A Server deserialize N/A cls server_json json N/A classmethod N/A