This patch adds the DB Model implementation for NFP Orchestrator
process. This DB layer framework is going to be consumed by NFP
Orchestrator process which will be introduced in a subsequent
patch.
Change-Id: Ib249dfc9c1e5c10736d87781fcfadc5a930e2cc8
Implements: blueprint gbp-network-services-framework
Co-Authored-By: Akash Deep <akash.deep@oneconvergence.com>
Co-Authored-By: ashutosh mishra <mca.ashu4@gmail.com>
(cherry picked from commit b0f4ecf9d6)
38 lines
1.1 KiB
Python
38 lines
1.1 KiB
Python
# 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.
|
|
|
|
GBP_MODE = "gbp"
|
|
NEUTRON_MODE = "neutron"
|
|
|
|
NEUTRON_PORT = "neutron_port"
|
|
GBP_PORT = "gbp_policy_target"
|
|
|
|
NEUTRON_NETWORK = "neutron_network"
|
|
GBP_NETWORK = "gbp_group"
|
|
|
|
PROVIDER = "provider"
|
|
CONSUMER = "consumer"
|
|
MANAGEMENT = "management"
|
|
MONITOR = "monitoring"
|
|
|
|
ACTIVE_PORT = "ACTIVE"
|
|
STANDBY_PORT = "STANDBY"
|
|
MASTER_PORT = "MASTER"
|
|
STANDALONE_PORT = "STANDALONE"
|
|
|
|
ACTIVE = "ACTIVE"
|
|
# REVISIT(ashu) - Merge to have single BUILD state
|
|
PENDING_CREATE = "PENDING_CREATE"
|
|
PENDING_UPDATE = "PENDING_UPDATE"
|
|
PENDING_DELETE = "PENDING_DELETE"
|
|
ERROR = "ERROR"
|