Module Expr Str Import alias Import alias ImportFrom alias ImportFrom alias ImportFrom alias alias ImportFrom alias alias ClassDef bases AttributeLoad NameLoad attr body Expr Str FunctionDef arguments args NameParam defaults body Assign NameStore SubscriptLoad AttributeLoad Call NameLoad attr Slice Num Assign NameStore SubscriptLoad AttributeLoad Call NameLoad attr Slice Num Assign NameStore SubscriptLoad AttributeLoad Call NameLoad attr Slice Num Assign NameStore Str Assign NameStore Str Assign NameStore Dict Str Str Str Str Str NameLoad NameLoad NameLoad NameLoad NameLoad Assign AttributeStore NameLoad attr Call NameLoad NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad Str attr keyword AttributeLoad NameLoad attr NameLoad decorator_list NameLoad FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body Expr Str FunctionDef arguments args NameParam defaults body Assign NameStore SubscriptLoad AttributeLoad Call NameLoad attr Slice Num Assign NameStore Dict Str NameLoad Assign AttributeStore NameLoad attr Call NameLoad NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad Str attr keyword AttributeLoad NameLoad attr NameLoad decorator_list NameLoad FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body Expr Str Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore Str Assign NameStore Num FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr ListLoad Assign AttributeStore NameLoad attr ListLoad Assign NameStore Str For NameStore Call NameLoad AttributeLoad NameLoad attr body Assign NameStore SubscriptLoad AttributeLoad Call NameLoad attr Slice Num Assign NameStore SubscriptLoad AttributeLoad Call NameLoad attr Slice Num Assign NameStore SubscriptLoad AttributeLoad Call NameLoad attr Slice Num Assign NameStore SubscriptLoad AttributeLoad Call NameLoad attr Slice Num Assign NameStore SubscriptLoad AttributeLoad Call NameLoad attr Slice Num Assign NameStore Str Assign NameStore Str Assign NameStore AttributeLoad NameLoad attr Assign NameStore Dict Str Str Str Str Str Str Str Str NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad Str attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad Str attr keyword AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad decorator_list NameLoad FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body Expr Str Assign NameStore NameLoad Assign NameStore Str FunctionDef arguments args NameParam defaults body Assign NameStore SubscriptLoad AttributeLoad Call NameLoad attr Slice Num Assign NameStore SubscriptLoad AttributeLoad Call NameLoad attr Slice Num Assign NameStore SubscriptLoad AttributeLoad Call NameLoad attr Slice Num Assign NameStore SubscriptLoad AttributeLoad Call NameLoad attr Slice Num Assign NameStore SubscriptLoad AttributeLoad Call NameLoad attr Slice Num Assign NameStore Str Assign NameStore Str Assign NameStore AttributeLoad NameLoad attr Assign NameStore Dict Str Str Str Str Str Str Str Str NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad Str attr keyword AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list NameLoad FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr decorator_list decorator_list If CompareEq NameLoad Str body Expr Call AttributeLoad NameLoad attr
N/A N/A 
Copyright 2015 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 ast N/A unittest uuid uuid4 cloudcafe.networking.networks.extensions.floating_ips.constants FloatingIPStates cloudcafe.networking.networks.extensions.floating_ips.models.request FloatingIPRequest FloatingIPUpdate cloudcafe.networking.networks.extensions.floating_ips.models.response FloatingIPInfo FloatingIPInfoList CreateFloatingIPAssociation N/A N/A unittest TestCase N/A N/A  Validate the create request model obj_to_json conversion.  setUpClass N/A N/A cls N/A N/A N/A tenant_id N/A N/A N/A uuid4 urn N/A 9 N/A floating_network_id N/A N/A N/A uuid4 urn N/A 9 N/A port_id N/A N/A N/A uuid4 urn N/A 9 N/A floating_ip_address 172.27.58.59 N/A fixed_ip_address 10.1.25.254 N/A floating_ip_args N/A floating_network_id floating_ip_address tenant_id fixed_ip_address port_id floating_network_id floating_ip_address tenant_id fixed_ip_address port_id N/A N/A cls floating_ip_obj N/A FloatingIPRequest floating_ip_args N/A N/A cls expected_json N/A N/A {{"{root_tag}": {{"floating_network_id": "{floating_network_id}","floating_ip_address": "{floating_ip_address}","tenant_id": "{tenant_id}","fixed_ip_address": "{fixed_ip_address}","port_id": "{port_id}"}}}} format root_tag N/A FloatingIPRequest ROOT_TAG floating_ip_args N/A classmethod test_create_request_obj_to_json_translation N/A N/A self N/A N/A N/A obj_to_json N/A N/A ast literal_eval N/A N/A N/A self floating_ip_obj _obj_to_json N/A expected_json N/A N/A ast literal_eval N/A self expected_json N/A N/A N/A self assertEqual obj_to_json expected_json N/A N/A UpdateFloatingIPAssociation N/A N/A unittest TestCase N/A N/A  Validate the update request model obj_to_json conversion.  setUpClass N/A N/A cls N/A N/A N/A port_id N/A N/A N/A uuid4 urn N/A 9 N/A floating_ip_args N/A port_id port_id N/A N/A cls floating_ip_obj N/A FloatingIPUpdate floating_ip_args N/A N/A cls expected_json N/A N/A {{"{root_tag}": {{"port_id": "{port_id}"}} }} format root_tag N/A FloatingIPRequest ROOT_TAG floating_ip_args N/A classmethod test_update_request_obj_to_json_translation N/A N/A self N/A N/A N/A obj_to_json N/A N/A ast literal_eval N/A N/A N/A self floating_ip_obj _obj_to_json N/A expected_json N/A N/A ast literal_eval N/A self expected_json N/A N/A N/A self assertEqual obj_to_json expected_json N/A N/A FloatingIPInfoListResponse N/A N/A unittest TestCase N/A N/A  Validate the request model list info obj_to_json conversion.  N/A MODEL FloatingIPInfoList N/A LIST_ELEMENT_MODEL FloatingIPInfo N/A RESPONSE_FORMAT json N/A NUM_OF_FLIPS 10 setUpClass N/A N/A cls N/A N/A N/A N/A cls expected_response_obj N/A N/A N/A cls json_parts N/A N/A json_part_format 
        {{
           "id": "{id_}",
           "fixed_ip_address": "{fixed_ip_address}",
           "floating_ip_address": "{floating_ip_address}",
           "floating_network_id": "{floating_network_id}",
           "port_id": "{port_id}",
           "router_id": "{router_id}",
           "status": "{status}",
           "tenant_id": "{tenant_id}"
        }}  N/A index N/A xrange N/A cls NUM_OF_FLIPS N/A N/A port_id N/A N/A N/A uuid4 urn N/A 9 N/A tenant_id N/A N/A N/A uuid4 urn N/A 9 N/A router_id N/A N/A N/A uuid4 urn N/A 9 N/A floating_network_id N/A N/A N/A uuid4 urn N/A 9 N/A id_ N/A N/A N/A uuid4 urn N/A 9 N/A fixed_ip_address 10.10.225.254 N/A floating_ip_address 172.27.28.58 N/A status N/A FloatingIPStates ACTIVE N/A floating_ip_args N/A tenant_id router_id id_ fixed_ip_address status floating_ip_address port_id floating_network_id tenant_id router_id id_ fixed_ip_address status floating_ip_address port_id floating_network_id N/A N/A N/A N/A cls expected_response_obj append N/A N/A cls LIST_ELEMENT_MODEL floating_ip_args N/A N/A N/A N/A cls json_parts append N/A N/A json_part_format format floating_ip_args N/A list_body N/A N/A , join N/A cls json_parts N/A N/A cls json_response N/A N/A {{ "{root_tag}": [{body}
    ]
}} format root_tag N/A N/A cls MODEL ROOT_TAG body list_body N/A classmethod test_deserialize_flip_info_list_response_into_obj N/A N/A self N/A N/A N/A response_obj N/A N/A N/A self MODEL deserialize N/A self json_response N/A self RESPONSE_FORMAT N/A N/A N/A self assertEqual response_obj N/A self expected_response_obj N/A N/A FloatingIPInfoResponse N/A N/A unittest TestCase N/A N/A  Validate the info model obj_to_json conversion.  N/A MODEL FloatingIPInfo N/A RESPONSE_FORMAT json setUpClass N/A N/A cls N/A N/A N/A port_id N/A N/A N/A uuid4 urn N/A 9 N/A tenant_id N/A N/A N/A uuid4 urn N/A 9 N/A router_id N/A N/A N/A uuid4 urn N/A 9 N/A floating_network_id N/A N/A N/A uuid4 urn N/A 9 N/A id_ N/A N/A N/A uuid4 urn N/A 9 N/A fixed_ip_address 10.10.225.254 N/A floating_ip_address 172.27.28.58 N/A status N/A FloatingIPStates ACTIVE N/A floating_ip_args N/A tenant_id router_id id_ fixed_ip_address status floating_ip_address port_id floating_network_id tenant_id router_id id_ fixed_ip_address status floating_ip_address port_id floating_network_id N/A N/A cls floating_ip_info_obj N/A N/A cls MODEL floating_ip_args N/A N/A cls json_response N/A N/A 
            {{ "{root_tag}":
                {{
                    "id": "{id_}",
                    "fixed_ip_address": "{fixed_ip_address}",
                    "floating_ip_address": "{floating_ip_address}",
                    "floating_network_id": "{floating_network_id}",
                    "port_id": "{port_id}",
                    "router_id": "{router_id}",
                    "status": "{status}",
                    "tenant_id": "{tenant_id}"
                }}
            }} format root_tag N/A N/A cls MODEL ROOT_TAG floating_ip_args N/A classmethod test_deserialize_flip_info_response_into_obj N/A N/A self N/A N/A N/A response_obj N/A N/A FloatingIPInfo deserialize N/A self json_response N/A self RESPONSE_FORMAT N/A N/A N/A self assertEqual response_obj N/A self floating_ip_info_obj N/A N/A N/A N/A __name__ __main__ N/A N/A N/A N/A unittest main