2021-03-15 12:56:30 +02:00
|
|
|
# Copyright 2021 Red Hat.
|
|
|
|
#
|
|
|
|
# Licensed under the Apache License, Version 2.0 (the "License"); you may
|
|
|
|
# not use this file except in compliance with the License. You may obtain
|
|
|
|
# a copy of the License at
|
|
|
|
#
|
|
|
|
# http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
#
|
|
|
|
# Unless required by applicable law or agreed to in writing, software
|
|
|
|
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
|
|
|
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
|
|
|
# License for the specific language governing permissions and limitations
|
|
|
|
# under the License.
|
|
|
|
|
2022-02-10 15:45:58 +02:00
|
|
|
# Designate statuses/actions strings
|
2021-04-04 20:08:21 +03:00
|
|
|
PENDING = 'PENDING'
|
|
|
|
COMPLETE = 'COMPLETE'
|
|
|
|
ERROR = 'ERROR'
|
|
|
|
DELETED = 'DELETED'
|
2022-02-10 15:45:58 +02:00
|
|
|
DELETE = 'DELETE'
|
2021-04-04 20:08:21 +03:00
|
|
|
ACTIVE = 'ACTIVE'
|
2022-01-08 23:11:13 -08:00
|
|
|
INACTIVE = 'INACTIVE'
|
2021-03-15 12:56:30 +02:00
|
|
|
UP = 'UP'
|
2021-06-04 08:55:28 +03:00
|
|
|
CREATE = 'CREATE'
|
2022-02-10 15:45:58 +02:00
|
|
|
UPDATE = 'UPDATE'
|
2022-04-12 11:46:07 +03:00
|
|
|
NONE = 'NONE'
|
2021-02-01 21:54:43 +02:00
|
|
|
|
|
|
|
# Zone types
|
|
|
|
PRIMARY_ZONE_TYPE = 'PRIMARY'
|
|
|
|
SECONDARY_ZONE_TYPE = 'SECONDARY'
|
2022-04-12 11:46:07 +03:00
|
|
|
|
|
|
|
# DNS Record types
|
|
|
|
A = 'A'
|
|
|
|
AAAA = 'AAAA'
|
|
|
|
ALIAS = 'ALIAS'
|
|
|
|
CNAME = 'CNAME'
|
|
|
|
MX = 'MX'
|
|
|
|
NS = 'NS'
|
|
|
|
PTR = 'PTR'
|
|
|
|
SOA = 'SOA'
|
|
|
|
SRV = 'SRV'
|
|
|
|
TXT = 'TXT'
|