summaryrefslogtreecommitdiffstats
path: root/test/placement-tests/test_by_scope.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'test/placement-tests/test_by_scope.yaml')
-rw-r--r--test/placement-tests/test_by_scope.yaml20
1 files changed, 20 insertions, 0 deletions
diff --git a/test/placement-tests/test_by_scope.yaml b/test/placement-tests/test_by_scope.yaml
new file mode 100644
index 0000000..0b53e5f
--- /dev/null
+++ b/test/placement-tests/test_by_scope.yaml
@@ -0,0 +1,20 @@
+policy_info:
+ placement:
+ policy_fetch: by_scope
+ policy_scope:
+ default_scope: XXX_1802
+ scope_vcpe: oof_beijing
+ service_name: placementInfo.serviceModelInfo.modelName
+ policy_subscriber: SubscriberPolicy
+ subscriber_name: placementInfo.subscriberInfo.subscriberName
+ policy_type_vcpe:
+ - CloudAttributePolicy
+ - DistanceToLocationPolicy
+ - instanceReservationPolicy
+ - PlacementOptimizationPolicy
+ - ResourceInstancePolicy
+ - VNFPolicy
+ - ZonePolicy
+ default: # if no explicit service related information is needed
+ policy_fetch: by_name
+ policy_scope: none