Home | Trees | Indices | Help |
|
---|
|
1 # 2 # (C) Copyright 2003,2004 Hewlett-Packard Development Company, L.P. 3 # 4 # This library is free software; you can redistribute it and/or 5 # modify it under the terms of the GNU Lesser General Public 6 # License as published by the Free Software Foundation; either 7 # version 2.1 of the License, or (at your option) any later version. 8 # 9 # This program is distributed in the hope that it will be useful, but 10 # WITHOUT ANY WARRANTY; without even the implied warranty of 11 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 12 # Lesser General Public License for more details. 13 # 14 # You should have received a copy of the GNU Lesser General Public 15 # License along with this program; if not, write to the Free Software 16 # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. 17 # 18 # Author: Tim Potter <tpot@hp.com> 19 # 20 21 """Useful CIM constants.""" 22 23 # This module is meant to be safe for 'import *'. 24 25 # CIMError error code constants 26 27 CIM_ERR_FAILED = 1 # A general error occurred 28 CIM_ERR_ACCESS_DENIED = 2 # Resource not available 29 CIM_ERR_INVALID_NAMESPACE = 3 # The target namespace does not exist 30 CIM_ERR_INVALID_PARAMETER = 4 # Parameter value(s) invalid 31 CIM_ERR_INVALID_CLASS = 5 # The specified Class does not exist 32 CIM_ERR_NOT_FOUND = 6 # Requested object could not be found 33 CIM_ERR_NOT_SUPPORTED = 7 # Operation not supported 34 CIM_ERR_CLASS_HAS_CHILDREN = 8 # Class has subclasses 35 CIM_ERR_CLASS_HAS_INSTANCES = 9 # Class has instances 36 CIM_ERR_INVALID_SUPERCLASS = 10 # Superclass does not exist 37 CIM_ERR_ALREADY_EXISTS = 11 # Object already exists 38 CIM_ERR_NO_SUCH_PROPERTY = 12 # Property does not exist 39 CIM_ERR_TYPE_MISMATCH = 13 # Value incompatible with type 40 CIM_ERR_QUERY_LANGUAGE_NOT_SUPPORTED = 14 # Query language not supported 41 CIM_ERR_INVALID_QUERY = 15 # Query not valid 42 CIM_ERR_METHOD_NOT_AVAILABLE = 16 # Extrinsic method not executed 43 CIM_ERR_METHOD_NOT_FOUND = 17 # Extrinsic method does not exist 44 45 # Provider types 46 47 PROVIDERTYPE_CLASS = 1 48 PROVIDERTYPE_INSTANCE = 2 49 PROVIDERTYPE_ASSOCIATION = 3 50 PROVIDERTYPE_INDICATION = 4 51 PROVIDERTYPE_METHOD = 5 52 PROVIDERTYPE_CONSUMER = 6 # Indication consumer 53 PROVIDERTYPE_QUERY = 7 54
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Fri Jan 23 01:23:08 2015 | http://epydoc.sourceforge.net |