Module Expr Str Import alias ImportFrom alias alias ClassDef bases AttributeLoad NameLoad attr 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 FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Call NameLoad ListComp NameLoad comprehension NameStore AttributeLoad NameLoad attr CompareEq AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Call NameLoad ListComp NameLoad comprehension NameStore AttributeLoad NameLoad attr CompareEq AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Call NameLoad ListComp NameLoad comprehension NameStore AttributeLoad NameLoad attr CompareEq AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Call NameLoad ListComp NameLoad comprehension NameStore AttributeLoad NameLoad attr CompareEq AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Call NameLoad ListComp NameLoad comprehension NameStore AttributeLoad NameLoad attr CompareEq AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Call NameLoad ListComp NameLoad comprehension NameStore AttributeLoad NameLoad attr CompareEq AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Call NameLoad ListComp NameLoad comprehension NameStore AttributeLoad NameLoad attr CompareEq AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Call NameLoad ListComp NameLoad comprehension NameStore AttributeLoad NameLoad attr CompareEq AttributeLoad NameLoad attr Str decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr 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 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 Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr Num Expr Call AttributeLoad NameLoad attr Str AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr Num For NameStore AttributeLoad AttributeLoad NameLoad attr attr body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr ListLoad Str Str If CompareEq AttributeLoad NameLoad attr Str body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str orelse Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str decorator_list decorator_list
N/A N/A 
Copyright 2014 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.bare_metal.drivers.models.responses Driver Drivers DriversModelTest N/A N/A unittest TestCase N/A setUpClass N/A N/A cls N/A N/A N/A N/A cls drivers_json_response 
            {
               "drivers":[
                  {
                     "hosts":[
                        "localhost"
                     ],
                     "name":"fake_ipminative",
                     "links":[
                        {
                           "href":"http://local:6385/v1/drivers/ipminative",
                           "rel":"self"
                        },
                        {
                           "href":"http://local:6385/drivers/ipminative",
                           "rel":"bookmark"
                        }
                     ]
                  },
                  {
                     "hosts":[
                        "localhost"
                     ],
                     "name":"p_ipminative",
                     "links":[
                        {
                           "href":"http://local:6385/v1/drivers/p_ipminative",
                           "rel":"self"
                        },
                        {
                           "href":"http://local:6385/drivers/p_ipminative",
                           "rel":"bookmark"
                        }
                     ]
                  },
                  {
                     "hosts":[
                        "localhost"
                     ],
                     "name":"fake_pxe",
                     "links":[
                        {
                           "href":"http://local:6385/v1/drivers/fake_pxe",
                           "rel":"self"
                        },
                        {
                           "href":"http://local:6385/drivers/fake_pxe",
                           "rel":"bookmark"
                        }
                     ]
                  },
                  {
                     "hosts":[
                        "localhost"
                     ],
                     "name":"fake_ssh",
                     "links":[
                        {
                           "href":"http://local:6385/v1/drivers/fake_ssh",
                           "rel":"self"
                        },
                        {
                           "href":"http://local:6385/drivers/fake_ssh",
                           "rel":"bookmark"
                        }
                     ]
                  },
                  {
                     "hosts":[
                        "localhost"
                     ],
                     "name":"fake_ipmitool",
                     "links":[
                        {
                           "href":"http://local:6385/v1/drivers/fake_ipmitool",
                           "rel":"self"
                        },
                        {
                           "href":"http://local:6385/drivers/fake_ipmitool",
                           "rel":"bookmark"
                        }
                     ]
                  },
                  {
                     "hosts":[
                        "localhost"
                     ],
                     "name":"fake",
                     "links":[
                        {
                           "href":"http://local:6385/v1/drivers/fake",
                           "rel":"self"
                        },
                        {
                           "href":"http://local:6385/drivers/fake",
                           "rel":"bookmark"
                        }
                     ]
                  },
                  {
                     "hosts":[
                        "localhost"
                     ],
                     "name":"pxe_ssh",
                     "links":[
                        {
                           "href":"http://local:6385/v1/drivers/pxe_ssh",
                           "rel":"self"
                        },
                        {
                           "href":"http://local:6385/drivers/pxe_ssh",
                           "rel":"bookmark"
                        }
                     ]
                  },
                  {
                     "hosts":[
                        "localhost"
                     ],
                     "name":"pxe_ipmitool",
                     "links":[
                        {
                           "href":"http://local:6385/v1/drivers/pxe_ipmitool",
                           "rel":"self"
                        },
                        {
                           "href":"http://local:6385/drivers/pxe_ipmitool",
                           "rel":"bookmark"
                        }
                     ]
                  }
               ]
            }
             N/A N/A cls drivers N/A N/A Drivers deserialize N/A cls drivers_json_response json N/A classmethod test_list_drivers N/A N/A self N/A N/A N/A N/A N/A self assertEqual N/A len N/A self drivers 8 N/A test_drivers_in_list N/A N/A self N/A N/A N/A N/A N/A self assertTrue N/A any N/A driver N/A driver N/A self drivers N/A N/A driver name fake_ipminative N/A N/A N/A self assertTrue N/A any N/A driver N/A driver N/A self drivers N/A N/A driver name p_ipminative N/A N/A N/A self assertTrue N/A any N/A driver N/A driver N/A self drivers N/A N/A driver name fake_pxe N/A N/A N/A self assertTrue N/A any N/A driver N/A driver N/A self drivers N/A N/A driver name fake_ssh N/A N/A N/A self assertTrue N/A any N/A driver N/A driver N/A self drivers N/A N/A driver name fake_ipmitool N/A N/A N/A self assertTrue N/A any N/A driver N/A driver N/A self drivers N/A N/A driver name fake N/A N/A N/A self assertTrue N/A any N/A driver N/A driver N/A self drivers N/A N/A driver name pxe_ssh N/A N/A N/A self assertTrue N/A any N/A driver N/A driver N/A self drivers N/A N/A driver name pxe_ipmitool N/A N/A DriverModelTest N/A N/A unittest TestCase N/A setUpClass N/A N/A cls N/A N/A N/A N/A cls driver_json_response 
            {
               "hosts":[
                  "localhost"
               ],
               "name":"fake",
               "links":[
                  {
                     "href":"http://192.168.159.128:6385/v1/drivers/fake",
                     "rel":"self"
                  },
                  {
                     "href":"http://192.168.159.128:6385/drivers/fake",
                     "rel":"bookmark"
                  }
               ]
            }
             N/A N/A cls driver N/A N/A Driver deserialize N/A cls driver_json_response json N/A classmethod test_driver_name N/A N/A self N/A N/A N/A N/A N/A self assertEqual N/A N/A self driver name fake N/A test_driver_hosts N/A N/A self N/A N/A N/A N/A N/A self assertEqual N/A len N/A N/A self driver hosts 1 N/A N/A N/A self assertIn localhost N/A N/A self driver hosts N/A test_driver_links N/A N/A self N/A N/A N/A N/A N/A self assertEqual N/A len N/A N/A self driver links 2 N/A driver N/A N/A self driver links N/A N/A N/A N/A self assertIn N/A driver rel N/A self bookmark N/A N/A N/A driver rel bookmark N/A N/A N/A N/A self assertEqual N/A driver href http://192.168.159.128:6385/drivers/fake N/A N/A N/A N/A self assertEqual N/A driver href http://192.168.159.128:6385/v1/drivers/fake N/A N/A