TC_ONELINE_DESCR="Change supported policy types and reconfigure rics"
#App names to include in the test when running docker, space separated list
TC_ONELINE_DESCR="Change supported policy types and reconfigure rics"
#App names to include in the test when running docker, space separated list
#App names to include in the test when running kubernetes, space separated list
KUBE_INCLUDED_IMAGES="CP CR MR PA RICSIM SDNC KUBEPROXY NGW"
#App names to include in the test when running kubernetes, space separated list
KUBE_INCLUDED_IMAGES="CP CR MR PA RICSIM SDNC KUBEPROXY NGW"
# Create service to be able to receive events when rics becomes available
# Must use rest towards the agent since dmaap is not configured yet
# Create service to be able to receive events when rics becomes available
# Must use rest towards the agent since dmaap is not configured yet
echo "Check the number of types in the agent for each ric"
api_equal json:policy-types?ric_id=ricsim_g1_1 1 120
api_equal json:policy-types?ric_id=ricsim_g1_2 2 120
echo "Check the number of types in the agent for each ric"
api_equal json:policy-types?ric_id=ricsim_g1_1 1 120
api_equal json:policy-types?ric_id=ricsim_g1_2 2 120
echo "Check the number of types in the agent for each ric"
api_equal json:policy_types?ric=ricsim_g1_1 1 120
api_equal json:policy_types?ric=ricsim_g1_2 2 120
echo "Check the number of types in the agent for each ric"
api_equal json:policy_types?ric=ricsim_g1_1 1 120
api_equal json:policy_types?ric=ricsim_g1_2 2 120
echo "Check the number of types in the agent for each ric"
api_equal json:policy-types?ric_id=ricsim_g1_1 1 120
api_equal json:policy-types?ric_id=ricsim_g1_2 2 120
echo "Check the number of types in the agent for each ric"
api_equal json:policy-types?ric_id=ricsim_g1_1 1 120
api_equal json:policy-types?ric_id=ricsim_g1_2 2 120
api_equal json:policy-types?ric_id=ricsim_g1_7 3 120
api_equal json:policy-types?ric_id=ricsim_g1_8 2 120
else
api_equal json:policy-types?ric_id=ricsim_g1_7 3 120
api_equal json:policy-types?ric_id=ricsim_g1_8 2 120
else
echo "Check the number of types in the agent for each ric"
api_equal json:policy_types?ric=ricsim_g1_1 1 120
api_equal json:policy_types?ric=ricsim_g1_2 2 120
echo "Check the number of types in the agent for each ric"
api_equal json:policy_types?ric=ricsim_g1_1 1 120
api_equal json:policy_types?ric=ricsim_g1_2 2 120
echo "Check the number of types in the agent for each ric"
api_equal json:policy-types?ric_id=ricsim_g1_1 1 120
api_equal json:policy-types?ric_id=ricsim_g1_2 2 120
echo "Check the number of types in the agent for each ric"
api_equal json:policy-types?ric_id=ricsim_g1_1 1 120
api_equal json:policy-types?ric_id=ricsim_g1_2 2 120
api_equal json:policy-types?ric_id=ricsim_g1_9 1 120
api_equal json:policy-types?ric_id=ricsim_g1_10 0 120
else
api_equal json:policy-types?ric_id=ricsim_g1_9 1 120
api_equal json:policy-types?ric_id=ricsim_g1_10 0 120
else
echo "Check the number of types in the agent for each ric"
api_equal json:policy_types?ric=ricsim_g1_1 1 120
api_equal json:policy_types?ric=ricsim_g1_2 2 120
echo "Check the number of types in the agent for each ric"
api_equal json:policy_types?ric=ricsim_g1_1 1 120
api_equal json:policy_types?ric=ricsim_g1_2 2 120
api_equal json:policy-types?ric_id=ricsim_g1_1 1 120
api_equal json:policy-types?ric_id=ricsim_g1_2 2 120
api_equal json:policy-types?ric_id=ricsim_g1_3 3 120
api_equal json:policy-types?ric_id=ricsim_g1_1 1 120
api_equal json:policy-types?ric_id=ricsim_g1_2 2 120
api_equal json:policy-types?ric_id=ricsim_g1_3 3 120
api_equal json:policy-types?ric_id=ricsim_g1_9 1 120
api_equal json:policy-types?ric_id=ricsim_g1_10 0 120
else
api_equal json:policy-types?ric_id=ricsim_g1_9 1 120
api_equal json:policy-types?ric_id=ricsim_g1_10 0 120
else
api_equal json:policy_types?ric=ricsim_g1_1 1 120
api_equal json:policy_types?ric=ricsim_g1_2 2 120
api_equal json:policy_types?ric=ricsim_g1_3 3 120
api_equal json:policy_types?ric=ricsim_g1_1 1 120
api_equal json:policy_types?ric=ricsim_g1_2 2 120
api_equal json:policy_types?ric=ricsim_g1_3 3 120