Module Import alias Import alias Import alias ImportFrom alias ImportFrom alias ImportFrom alias Assign NameStore Dict Str Str Str Str Call NameLoad Str Call NameLoad Str Call NameLoad Str Call NameLoad Str FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str Return TupleLoad NameLoad SubscriptLoad NameLoad Index Str decorator_list FunctionDef arguments args defaults body Expr Str Return Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Return Call NameLoad BoolOpAnd Call NameLoad NameLoad AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore BinOpSub Call NameLoad NameLoad Call NameLoad NameLoad If NameLoad body Raise Call AttributeLoad NameLoad attr BinOpMod Call NameLoad Str Call AttributeLoad Str attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore AttributeLoad NameLoad attr Expr Call NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str If UnaryOpNot Call NameLoad NameLoad body Raise Call AttributeLoad NameLoad attr BinOpMod Call NameLoad Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str TryExcept body Assign NameStore Call NameLoad NameLoad handlers ExceptHandler type NameLoad body Raise Call AttributeLoad NameLoad attr BinOpMod Call NameLoad Str NameLoad If CompareLt NameLoad Num body Raise Call AttributeLoad NameLoad attr BinOpMod Call NameLoad Str NameLoad decorator_list
N/A N/A copy N/A re N/A six ironic.common exception ironic.common.i18n _ ironic.drivers.modules.msftocs msftocsclient N/A REQUIRED_PROPERTIES N/A msftocs_base_url msftocs_blade_id msftocs_username msftocs_password N/A _ Base url of the OCS chassis manager REST API, e.g.: http://10.0.0.1:8000. Required. N/A _ Blade id, must be a number between 1 and the maximum number of blades available in the chassis. Required. N/A _ Username to access the chassis manager REST API. Required. N/A _ Password to access the chassis manager REST API. Required. get_client_info N/A N/A driver_info N/A N/A N/A Returns an instance of the REST API client and the blade id.

    :param driver_info: the node's driver_info dict.
     N/A client N/A N/A msftocsclient MSFTOCSClientApi N/A driver_info N/A msftocs_base_url N/A driver_info N/A msftocs_username N/A driver_info N/A msftocs_password N/A N/A client N/A driver_info N/A msftocs_blade_id N/A get_properties N/A N/A N/A N/A N/A Returns the driver's properties. N/A N/A N/A copy deepcopy REQUIRED_PROPERTIES N/A _is_valid_url N/A N/A url N/A N/A N/A Checks whether a URL is valid.

    :param url: a url string.
    :returns: True if the url is valid or None, False otherwise.
     N/A r N/A N/A re compile ^https?://(?:(?:[A-Z0-9](?:[A-Z0-9-]{0,61}[A-Z0-9])?\.)*[A-Z]{2,6}\.?|localhost|\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3})(?::\d+)?(?:/?|[/?]\S+)$ N/A re IGNORECASE N/A N/A bool N/A N/A isinstance url N/A six string_types N/A N/A r search url N/A _check_required_properties N/A N/A driver_info N/A N/A N/A Checks if all required properties are present.

    :param driver_info: the node's driver_info dict.
    :raises: MissingParameterValue if one or more required properties are
        missing.
     N/A missing_properties N/A N/A set REQUIRED_PROPERTIES N/A set driver_info N/A missing_properties N/A N/A N/A N/A exception MissingParameterValue N/A N/A _ The following parameters were missing: %s N/A N/A join missing_properties N/A parse_driver_info N/A N/A node N/A N/A N/A Checks for the required properties and values validity.

    :param node: the target node.
    :raises: MissingParameterValue if one or more required properties are
        missing.
    :raises: InvalidParameterValue if a parameter value is invalid.
     N/A driver_info N/A node driver_info N/A N/A _check_required_properties driver_info N/A base_url N/A N/A driver_info get msftocs_base_url N/A N/A N/A _is_valid_url base_url N/A N/A N/A N/A exception InvalidParameterValue N/A N/A _ "%s" is not a valid "msftocs_base_url" base_url N/A blade_id N/A N/A driver_info get msftocs_blade_id N/A N/A N/A blade_id N/A int blade_id N/A N/A N/A ValueError N/A N/A N/A N/A exception InvalidParameterValue N/A N/A _ "%s" is not a valid "msftocs_blade_id" blade_id N/A N/A blade_id 1 N/A N/A N/A N/A exception InvalidParameterValue N/A N/A _ "msftocs_blade_id" must be greater than 0. The provided value is: %s blade_id N/A