summaryrefslogtreecommitdiffstats
path: root/test/placement-tests/test_by_scope.yaml
blob: 0b53e5fddab02b276f6e93e772f8e03d1a5ea940 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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