Module Expr Str ImportFrom alias ImportFrom alias ImportFrom alias identifier FunctionDef arguments args defaults body Return Dict Str Str Str Str Str Str decorator_list FunctionDef arguments args defaults body Return Dict Str Str Str Str Str Str Str Str Str Str Str Str decorator_list FunctionDef arguments args NameParam NameParam defaults Str Str body Assign NameStore Dict Str Str Str Str Str Str Num NameLoad If CompareEq Str NameLoad body Assign SubscriptStore NameLoad Index Str Str orelse If CompareEq Str NameLoad body Assign SubscriptStore NameLoad Index Str Str orelse If CompareEq Str NameLoad body Assign SubscriptStore NameLoad Index Str Str orelse If CompareEq Str NameLoad body Assign SubscriptStore NameLoad Index Str Str Assign SubscriptStore NameLoad Index Str Str orelse Pass Return NameLoad decorator_list FunctionDef arguments args defaults body Return Dict Str Str Str Str decorator_list FunctionDef arguments args defaults body Return Dict Str NameLoad decorator_list FunctionDef arguments args defaults body Return Dict Str Str Str Num decorator_list FunctionDef arguments args defaults body Return Dict Str Str Str Str Str Str Str Str decorator_list FunctionDef arguments args defaults body Return Dict Str Str Str Str Str Str decorator_list FunctionDef arguments args defaults body Return Dict Str Str Str Str Str Str Str Str Str Str Str Str decorator_list FunctionDef arguments args defaults body Return Dict Str Str Str Str Str Str Str Str Num Str decorator_list FunctionDef arguments args defaults body Return Dict Str Str Str Str Str Str Str Str decorator_list FunctionDef arguments args defaults body Return Dict Str Str Str Str Str Str Str Num decorator_list FunctionDef arguments args defaults body Return Dict Str Str Str Str Str Str Str Str Str Str decorator_list FunctionDef arguments args defaults body Return Dict Str Str Str Str decorator_list FunctionDef arguments args defaults body Return Dict Str Str Str NameLoad decorator_list FunctionDef arguments args defaults body Return Dict Str Str Str Str Str Str decorator_list FunctionDef arguments args defaults kwarg body Assign NameStore Dict Str Str Str Str Str Call AttributeLoad NameLoad attr Str Str Call AttributeLoad NameLoad attr Str Str Call AttributeLoad NameLoad attr Str Str Call AttributeLoad NameLoad attr Str Str Call AttributeLoad NameLoad attr Str Str If CompareIn SubscriptLoad NameLoad Index Str TupleLoad Str Str body Assign SubscriptStore NameLoad Index Str Call AttributeLoad NameLoad attr Str Str orelse If CompareEq SubscriptLoad NameLoad Index Str Str body Assign SubscriptStore NameLoad Index Str Call AttributeLoad NameLoad attr Str Str Return NameLoad decorator_list FunctionDef arguments args defaults kwarg body Assign NameStore Dict Str Str Str Str Str Str Str Str Assign NameStore Dict Str Str Str Str Return Dict Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Call AttributeLoad NameLoad attr Str Num Call AttributeLoad NameLoad attr Str NameLoad Call AttributeLoad NameLoad attr Str Str Call AttributeLoad NameLoad attr Str NameLoad Call AttributeLoad NameLoad attr Str NameLoad Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str NameLoad Call AttributeLoad NameLoad attr Str Str Call AttributeLoad NameLoad attr Str NameLoad Call AttributeLoad NameLoad attr Str NameLoad Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str NameLoad Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str NameLoad Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str NameLoad Call AttributeLoad NameLoad attr Str Dict Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str ListLoad decorator_list FunctionDef arguments args defaults kwarg body Expr Str Assign NameStore Call NameLoad NameLoad If CompareNotIn Str NameLoad body Delete SubscriptDel NameLoad Index Str Assign NameStore Call AttributeLoad NameLoad attr Return Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args defaults kwarg body Return Dict Str Str Str Str Str Str Str Str Str Str Call AttributeLoad NameLoad attr Str Num Call AttributeLoad NameLoad attr Str Str Call AttributeLoad NameLoad attr Str Num Call AttributeLoad NameLoad attr Str Str Call AttributeLoad NameLoad attr Str Dict Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str Dict Str Str Str Str Str Str Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str NameLoad decorator_list FunctionDef arguments args defaults kwarg body Expr Str Assign NameStore Call NameLoad NameLoad If CompareNotIn Str NameLoad body Delete SubscriptDel NameLoad Index Str Assign NameStore Call AttributeLoad NameLoad attr Return Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args defaults kwarg body Return Dict Str Str Str Str Str Str Call AttributeLoad NameLoad attr Str Num Call AttributeLoad NameLoad attr Str Str Call AttributeLoad NameLoad attr Str Dict Call AttributeLoad NameLoad attr Str Str Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args defaults kwarg body Expr Str Assign NameStore Call NameLoad NameLoad If CompareNotIn Str NameLoad body Delete SubscriptDel NameLoad Index Str Assign NameStore Call AttributeLoad NameLoad attr Return Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args defaults kwarg body Return Dict Str Str Str Str Str Call AttributeLoad NameLoad attr Str Num Call AttributeLoad NameLoad attr Str Str Call AttributeLoad NameLoad attr Str ListLoad Str Str Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args defaults body Return Dict Str Str Str Str Str Str Str Str decorator_list FunctionDef arguments args defaults body Return Dict Str Str Str Str Str Str decorator_list FunctionDef arguments args defaults body Return Dict Str Str Str Str Str Str Str Str Str Str decorator_list FunctionDef arguments args defaults body Return Dict Str Str decorator_list FunctionDef arguments args defaults kwarg body Return Dict Str Str Str Str Str Str Str Str Call AttributeLoad NameLoad attr Str Num Call AttributeLoad NameLoad attr Str Str Call AttributeLoad NameLoad attr Str Str Call AttributeLoad NameLoad attr Str Num Call AttributeLoad NameLoad attr Str Str Call AttributeLoad NameLoad attr Str Dict Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args defaults kwarg body Expr Str Assign NameStore Call NameLoad NameLoad If CompareNotIn Str NameLoad body Delete SubscriptDel NameLoad Index Str Assign NameStore Call AttributeLoad NameLoad attr Return Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args defaults kwarg body Return Dict Str Str Str Str Call AttributeLoad NameLoad attr Str Str Call AttributeLoad NameLoad attr Str Str Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args defaults kwarg body Expr Str Assign NameStore Call NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Return Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str decorator_list
N/A N/A Ironic test utilities. oslo_utils timeutils ironic.common states ironic.db api db_api get_test_ipmi_info N/A N/A N/A N/A N/A N/A ipmi_address ipmi_username ipmi_password 1.2.3.4 admin fake N/A get_test_ipmi_bridging_parameters N/A N/A N/A N/A N/A N/A ipmi_bridging ipmi_local_address ipmi_transit_channel ipmi_transit_address ipmi_target_channel ipmi_target_address dual 0x20 0 0x82 7 0x72 N/A get_test_ssh_info N/A N/A auth_type virt_type N/A password virsh N/A N/A result N/A ssh_address ssh_username ssh_port ssh_virt_type 1.2.3.4 admin 22 virt_type N/A N/A password auth_type N/A N/A N/A result N/A ssh_password fake N/A N/A N/A file auth_type N/A N/A N/A result N/A ssh_key_filename /not/real/file N/A N/A N/A key auth_type N/A N/A N/A result N/A ssh_key_contents --BEGIN PRIVATE ...blah N/A N/A N/A too_many auth_type N/A N/A N/A result N/A ssh_password fake N/A N/A result N/A ssh_key_filename /not/real/file N/A N/A N/A result N/A get_test_pxe_driver_info N/A N/A N/A N/A N/A N/A deploy_kernel deploy_ramdisk glance://deploy_kernel_uuid glance://deploy_ramdisk_uuid N/A get_test_pxe_driver_internal_info N/A N/A N/A N/A N/A N/A is_whole_disk_image False N/A get_test_pxe_instance_info N/A N/A N/A N/A N/A N/A image_source root_gb glance://image_uuid 100 N/A get_test_seamicro_info N/A N/A N/A N/A N/A N/A seamicro_api_endpoint seamicro_username seamicro_password seamicro_server_id http://1.2.3.4 admin fake 0/0 N/A get_test_ilo_info N/A N/A N/A N/A N/A N/A ilo_address ilo_username ilo_password 1.2.3.4 admin fake N/A get_test_drac_info N/A N/A N/A N/A N/A N/A drac_host drac_port drac_path drac_protocol drac_username drac_password 1.2.3.4 443 /wsman https admin fake N/A get_test_irmc_info N/A N/A N/A N/A N/A N/A irmc_address irmc_username irmc_password irmc_port irmc_auth_method 1.2.3.4 admin0 fake0 80 digest N/A get_test_amt_info N/A N/A N/A N/A N/A N/A amt_address amt_protocol amt_username amt_password 1.2.3.4 http admin fake N/A get_test_msftocs_info N/A N/A N/A N/A N/A N/A msftocs_base_url msftocs_username msftocs_password msftocs_blade_id http://fakehost:8000 admin fake 1 N/A get_test_agent_instance_info N/A N/A N/A N/A N/A N/A image_source image_url image_checksum image_disk_format image_container_format fake-image http://image checksum qcow2 bare N/A get_test_agent_driver_info N/A N/A N/A N/A N/A N/A deploy_kernel deploy_ramdisk glance://deploy_kernel_uuid glance://deploy_ramdisk_uuid N/A get_test_agent_driver_internal_info N/A N/A N/A N/A N/A N/A agent_url is_whole_disk_image http://127.0.0.1/foo True N/A get_test_iboot_info N/A N/A N/A N/A N/A N/A iboot_address iboot_username iboot_password 1.2.3.4 admin fake N/A get_test_snmp_info N/A N/A N/A kw N/A N/A result N/A snmp_driver snmp_address snmp_port snmp_outlet snmp_version N/A N/A kw get snmp_driver teltronix N/A N/A kw get snmp_address 1.2.3.4 N/A N/A kw get snmp_port 161 N/A N/A kw get snmp_outlet 1 N/A N/A kw get snmp_version 1 N/A N/A N/A result N/A snmp_version N/A 1 2c N/A N/A N/A result N/A snmp_community N/A N/A kw get snmp_community public N/A N/A N/A N/A result N/A snmp_version 3 N/A N/A N/A result N/A snmp_security N/A N/A kw get snmp_security public N/A result N/A get_test_node N/A N/A N/A kw N/A N/A properties N/A cpu_arch cpus local_gb memory_mb x86_64 8 10 4096 N/A fake_info N/A foo fake_password bar fakepass N/A N/A id name uuid chassis_id conductor_affinity power_state target_power_state provision_state target_provision_state provision_updated_at last_error instance_uuid instance_info driver driver_info driver_internal_info clean_step properties reservation maintenance maintenance_reason console_enabled extra updated_at created_at inspection_finished_at inspection_started_at raid_config target_raid_config tags N/A N/A kw get id 123 N/A N/A kw get name None N/A N/A kw get uuid 1be26c0b-03f2-4d2e-ae87-c02d7f33c123 N/A N/A kw get chassis_id None N/A N/A kw get conductor_affinity None N/A N/A kw get power_state N/A states NOSTATE N/A N/A kw get target_power_state N/A states NOSTATE N/A N/A kw get provision_state N/A states NOSTATE N/A N/A kw get target_provision_state N/A states NOSTATE N/A N/A kw get provision_updated_at N/A N/A kw get last_error N/A N/A kw get instance_uuid N/A N/A kw get instance_info fake_info N/A N/A kw get driver fake N/A N/A kw get driver_info fake_info N/A N/A kw get driver_internal_info fake_info N/A N/A kw get clean_step N/A N/A kw get properties properties N/A N/A kw get reservation N/A N/A kw get maintenance False N/A N/A kw get maintenance_reason N/A N/A kw get console_enabled False N/A N/A kw get extra N/A N/A N/A kw get updated_at N/A N/A kw get created_at N/A N/A kw get inspection_finished_at N/A N/A kw get inspection_started_at N/A N/A kw get raid_config N/A N/A kw get target_raid_config N/A N/A kw get tags N/A N/A create_test_node N/A N/A N/A kw N/A N/A Create test node entry in DB and return Node DB object.

    Function to be used to create test Node objects in the database.

    :param kw: kwargs with overriding values for node's attributes.
    :returns: Test Node DB object.

     N/A node N/A get_test_node kw N/A N/A id kw N/A N/A N/A node N/A id N/A dbapi N/A N/A db_api get_instance N/A N/A N/A dbapi create_node node N/A get_test_port N/A N/A N/A kw N/A N/A N/A id uuid node_id address extra created_at updated_at local_link_connection portgroup_id pxe_enabled N/A N/A kw get id 987 N/A N/A kw get uuid 1be26c0b-03f2-4d2e-ae87-c02d7f33c781 N/A N/A kw get node_id 123 N/A N/A kw get address 52:54:00:cf:2d:31 N/A N/A kw get extra N/A N/A N/A kw get created_at N/A N/A kw get updated_at N/A N/A kw get local_link_connection N/A switch_id port_id switch_info 0a:1b:2c:3d:4e:5f Ethernet3/1 switch1 N/A N/A kw get portgroup_id N/A N/A kw get pxe_enabled True N/A create_test_port N/A N/A N/A kw N/A N/A Create test port entry in DB and return Port DB object.

    Function to be used to create test Port objects in the database.

    :param kw: kwargs with overriding values for port's attributes.
    :returns: Test Port DB object.

     N/A port N/A get_test_port kw N/A N/A id kw N/A N/A N/A port N/A id N/A dbapi N/A N/A db_api get_instance N/A N/A N/A dbapi create_port port N/A get_test_chassis N/A N/A N/A kw N/A N/A N/A id uuid extra description created_at updated_at N/A N/A kw get id 42 N/A N/A kw get uuid e74c40e0-d825-11e2-a28f-0800200c9a66 N/A N/A kw get extra N/A N/A N/A kw get description data-center-1-chassis N/A N/A kw get created_at N/A N/A kw get updated_at N/A create_test_chassis N/A N/A N/A kw N/A N/A Create test chassis entry in DB and return Chassis DB object.

    Function to be used to create test Chassis objects in the database.

    :param kw: kwargs with overriding values for chassis's attributes.
    :returns: Test Chassis DB object.

     N/A chassis N/A get_test_chassis kw N/A N/A id kw N/A N/A N/A chassis N/A id N/A dbapi N/A N/A db_api get_instance N/A N/A N/A dbapi create_chassis chassis N/A get_test_conductor N/A N/A N/A kw N/A N/A N/A id hostname drivers created_at updated_at N/A N/A kw get id 6 N/A N/A kw get hostname test-conductor-node N/A N/A kw get drivers N/A fake-driver null-driver N/A N/A kw get created_at N/A N/A timeutils utcnow N/A N/A kw get updated_at N/A N/A timeutils utcnow N/A get_test_ucs_info N/A N/A N/A N/A N/A N/A ucs_username ucs_password ucs_service_profile ucs_address admin password org-root/ls-devstack ucs-b N/A get_test_cimc_info N/A N/A N/A N/A N/A N/A cimc_username cimc_password cimc_address admin password 1.2.3.4 N/A get_test_oneview_properties N/A N/A N/A N/A N/A N/A cpu_arch cpus local_gb memory_mb capabilities x86_64 8 10 4096 server_hardware_type_uri:fake_sht_uri,enclosure_group_uri:fake_eg_uri,server_profile_template_uri:fake_spt_uri N/A get_test_oneview_driver_info N/A N/A N/A N/A N/A N/A server_hardware_uri fake_sh_uri N/A get_test_portgroup N/A N/A N/A kw N/A N/A N/A id uuid name node_id address extra created_at updated_at N/A N/A kw get id 654 N/A N/A kw get uuid 6eb02b44-18a3-4659-8c0b-8d2802581ae4 N/A N/A kw get name fooname N/A N/A kw get node_id 123 N/A N/A kw get address 52:54:00:cf:2d:31 N/A N/A kw get extra N/A N/A N/A kw get created_at N/A N/A kw get updated_at N/A create_test_portgroup N/A N/A N/A kw N/A N/A Create test portgroup entry in DB and return Portgroup DB object.

    Function to be used to create test Portgroup objects in the database.

    :param kw: kwargs with overriding values for port's attributes.
    :returns: Test Portgroup DB object.

     N/A portgroup N/A get_test_portgroup kw N/A N/A id kw N/A N/A N/A portgroup N/A id N/A dbapi N/A N/A db_api get_instance N/A N/A N/A dbapi create_portgroup portgroup N/A get_test_node_tag N/A N/A N/A kw N/A N/A N/A tag node_id created_at updated_at N/A N/A kw get tag tag1 N/A N/A kw get node_id 123 N/A N/A kw get created_at N/A N/A kw get updated_at N/A create_test_node_tag N/A N/A N/A kw N/A N/A Create test node tag entry in DB and return NodeTag DB object.

    Function to be used to create test NodeTag objects in the database.

    :param kw: kwargs with overriding values for tag's attributes.
    :returns: Test NodeTag DB object.

     N/A tag N/A get_test_node_tag kw N/A dbapi N/A N/A db_api get_instance N/A N/A N/A dbapi add_node_tag N/A tag N/A node_id N/A tag N/A tag N/A