Coverage for manila/share/drivers/dell_emc/common/enas/constants.py: 100%
27 statements
« prev ^ index » next coverage.py v7.11.0, created at 2026-02-18 22:19 +0000
« prev ^ index » next coverage.py v7.11.0, created at 2026-02-18 22:19 +0000
1# Copyright (c) 2016 Dell Inc. or its subsidiaries.
2# All Rights Reserved.
3#
4# Licensed under the Apache License, Version 2.0 (the "License"); you may
5# not use this file except in compliance with the License. You may obtain
6# a copy of the License at
7#
8# http://www.apache.org/licenses/LICENSE-2.0
9#
10# Unless required by applicable law or agreed to in writing, software
11# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
12# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
13# License for the specific language governing permissions and limitations
14# under the License.
16STATUS_OK = 'ok'
17STATUS_INFO = 'info'
18STATUS_DEBUG = 'debug'
19STATUS_WARNING = 'warning'
20STATUS_ERROR = 'error'
21STATUS_NOT_FOUND = 'not_found'
23MSG_GENERAL_ERROR = '13690601492'
24MSG_INVALID_VDM_ID = '14227341325'
25MSG_INVALID_MOVER_ID = '14227341323'
27MSG_FILESYSTEM_NOT_FOUND = "18522112101"
28MSG_FILESYSTEM_EXIST = '13691191325'
30MSG_VDM_EXIST = '13421840550'
32MSG_SNAP_EXIST = '13690535947'
34MSG_INTERFACE_NAME_EXIST = '13421840550'
35MSG_INTERFACE_EXIST = '13691781136'
36MSG_INTERFACE_INVALID_VLAN_ID = '13421850371'
37MSG_INTERFACE_NON_EXISTENT = '13691781134'
39MSG_JOIN_DOMAIN = '13157007726'
40MSG_UNJOIN_DOMAIN = '13157007723'
42# Necessary to retry when ENAS database is locked for provisioning operation
43MSG_CODE_RETRY = '13421840537'
45IP_ALLOCATIONS = 2
47CONTENT_TYPE_URLENCODE = {'Content-Type': 'application/x-www-form-urlencoded'}
49XML_HEADER = '<?xml version="1.0" encoding="UTF-8" standalone="yes"?>'
50XML_NAMESPACE = 'http://www.emc.com/schemas/celerra/xml_api'
52CIFS_ACL_FULLCONTROL = 'fullcontrol'
53CIFS_ACL_READ = 'read'
55SSH_DEFAULT_RETRY_PATTERN = r'Error 2201:.*: unable to acquire lock\(s\)'