[AIM] Improve validation output for missing external VRF
Previously, if an external network's AIM L3Outside referenced a VRF that did not exist, validation would fail with a message that an exception occurred, but with no indication of what caused the problem. Now, the backtrace is logged when an exception is caught, a specific error is reported if any of the resources needed for the NetworkMapping DB record are missing, and a very specific error is reported if the external VRF is missing. Also, a requirement on acitoolkit is added to test-requirements.txt to ensure that acitoolkit's noiro-lite branch is used. This is intended to avoid acitoolkit's master branch's requirement on deepdiff, whose latest version no longer supports python 2. Similarly, the configuration files for the legacy-group-based-policy-dsvm-aim CI job are modified to explicitly install the noiro-lite branch of acitoolkit. Change-Id: I7955f8e77633d9662a629c8c0628b128be3ae546
This commit is contained in:
@@ -33,6 +33,7 @@ GBPHEAT_BRANCH=${GBPHEAT_BRANCH:-master}
|
||||
AIM_BRANCH=${AIM_BRANCH:-master}
|
||||
OPFLEX_BRANCH=${OPFLEX_BRANCH:-master}
|
||||
APICAPI_BRANCH=${APICAPI_BRANCH:-master}
|
||||
ACITOOLKIT_BRANCH=${ACITOOLKIT_BRANCH:-noiro-lite}
|
||||
|
||||
# Enable necessary services, including group-policy (and disable others)
|
||||
disable_service n-net
|
||||
|
||||
Reference in New Issue
Block a user