Exemple #1
0
    def list_resource_types(self, cnxt, support_status=None):
        """
        Get a list of supported resource types.

        :param cnxt: RPC context.
        """
        return resource.get_types(support_status)
Exemple #2
0
    def list_resource_types(self, cnxt):
        """
        Get a list of supported resource types.

        :param cnxt: RPC context.
        """
        return list(resource.get_types())
Exemple #3
0
    def list_resource_types(self, cnxt, support_status=None):
        """
        Get a list of supported resource types.

        :param cnxt: RPC context.
        """
        return resource.get_types(support_status)
Exemple #4
0
    def list_resource_types(self, cnxt):
        """
        Get a list of supported resource types.

        :param cnxt: RPC context.
        """
        return list(resource.get_types())
Exemple #5
0
 def list_resource_types(self, context):
     """
     Get a list of supported resource types.
     arg1 -> RPC context.
     """
     return list(resource.get_types())