- start_timer "Create polices in OSC via agent REST and $interface using "$__httpx
- api_put_policy 201 "serv1" ricsim_g1_1 1 $START_ID NOTRANSIENT $notificationurl testdata/OSC/pi1_template.json $NUM_POLICIES
- print_timer "Create polices in OSC via agent REST and $interface using "$__httpx
+ sleep_wait 120 "Let A1PMS configuration take effect"
+
+ a1pms_api_get_status 200
+
+ sim_print ricsim_g1_1 interface
+ sim_print ricsim_g2_1 interface
+ sim_print ricsim_g3_1 interface
+
+ a1pms_equal json:policy-types 3 300 #Wait for the a1pms to refresh types from the simulators
+
+ a1pms_api_put_service 201 "serv1" 3600 "$CR_SERVICE_APP_PATH_0/1"
+
+ notificationurl=$CR_SERVICE_APP_PATH_0"/test"
+
+ start_timer "Create polices in OSC via a1pms REST and $interface using "$__httpx
+ a1pms_api_put_policy 201 "serv1" ricsim_g1_1 1 $START_ID NOTRANSIENT $notificationurl testdata/OSC/pi1_template.json $NUM_POLICIES
+ print_timer "Create polices in OSC via a1pms REST and $interface using "$__httpx