...
You can copy the file to the pod using the following command
kubectl cp subnetCapability.json -n onap <so-apih-pod-name>: /app
|
SO Database Update
Insert ORCHESTRATION_URI into service_recipe, SERVICE_MODEL_UUID replaced by CST.ModelId.
INSERT INTO `catalogdb`.`service_recipe`(`ACTION`, `VERSION_STR`, `DESCRIPTION`, `ORCHESTRATION_URI`, `SERVICE_PARAM_XSD`, `RECIPE_TIMEOUT`, `SERVICE_TIMEOUT_INTERIM`, `SERVICE_MODEL_UUID`) VALUES ( 'createInstance' , '1' , 'Custom recipe to create communication service-instance if no custom BPMN flow is found' , '/mso/async/services/CreateCommunicationService' , NULL, 180, NULL, 'c9252b26-f9cd-4e6c-988c-4d6ff39c6dda' );
INSERT INTO `catalogdb`.`service_recipe`(`ACTION`, `VERSION_STR`, `DESCRIPTION`, `ORCHESTRATION_URI`, `SERVICE_PARAM_XSD`, `RECIPE_TIMEOUT`, `SERVICE_TIMEOUT_INTERIM`, `SERVICE_MODEL_UUID`) VALUES ( 'deleteInstance' , '1' , 'Custom recipe to delete communication service if no custom BPMN flow is found' , '/mso/async/services/DeleteCommunicationService' , NULL, 180, NULL, 'c9252b26-f9cd-4e6c-988c-4d6ff39c6dda' );
INSERT INTO `catalogdb`.`service_recipe`(`ACTION`, `VERSION_STR`, `DESCRIPTION`, `ORCHESTRATION_URI`, `SERVICE_PARAM_XSD`, `RECIPE_TIMEOUT`, `SERVICE_TIMEOUT_INTERIM`, `SERVICE_MODEL_UUID`) VALUES ( 'activateInstance' , '1.0' , 'activate communication service' , '/mso/async/services/ActivateCommunicationService' , NULL, 180, NULL, 'c9252b26-f9cd-4e6c-988c-4d6ff39c6dda' );
|
Insert ORCHESTRATION_URI into service_recipe, SERVICE_MODEL_UUID is ServiceProfile.ModelId
INSERT INTO `catalogdb`.`service_recipe`(`ACTION`, `VERSION_STR`, `DESCRIPTION`, `ORCHESTRATION_URI`, `SERVICE_PARAM_XSD`, `RECIPE_TIMEOUT`,
`SERVICE_TIMEOUT_INTERIM`, `SERVICE_MODEL_UUID`) VALUES ( 'createInstance' , '1' , 'Custom recipe to create slice\r\nservice-instance if no custom BPMN flow is found' , '/mso/async/services/CreateSliceService' , NULL, 180, NULL, 'bfca8b32-3404-4e5c-a441-dc42b6823e88' );
INSERT INTO `catalogdb`.`service_recipe`(`ACTION`, `VERSION_STR`, `DESCRIPTION`, `ORCHESTRATION_URI`, `SERVICE_PARAM_XSD`, `RECIPE_TIMEOUT`, `SERVICE_TIMEOUT_INTERIM`, `SERVICE_MODEL_UUID`) VALUES ( 'deleteInstance' , '1' , 'Custom recipe to create slice\r\nservice-instance if no custom BPMN flow is found' , '/mso/async/services/DeleteSliceService' , NULL, 180, NULL, 'bfca8b32-3404-4e5c-a441-dc42b6823e88' );
INSERT INTO `catalogdb`.`service_recipe`(`ACTION`, `VERSION_STR`, `DESCRIPTION`, `ORCHESTRATION_URI`, `SERVICE_PARAM_XSD`, `RECIPE_TIMEOUT`, `SERVICE_TIMEOUT_INTERIM`, `SERVICE_MODEL_UUID`) VALUES ( 'activateInstance' , '1.0' , 'Gr api recipe to activate service-instance' , '/mso/async/services/ActivateSliceService' , NULL, 180, NULL, 'bfca8b32-3404-4e5c-a441-dc42b6823e88' );
|
5.OOF Configuration
HAS-API - Add datadictionary
...
View file |
---|
name | policies.zip |
---|
height | 150 |
---|
|
Copy the policy files
unzip policies.zip
kubectl cp policies -n onap <oof-pod-name>:/opt/osdf
kubectl exec -ti -n onap <oof-pod-name> bash
cd policies/nsi
python3 policy_utils.py create_policy_types policy_types
python3 policy_utils.py create_and_push_policies nst_policies
python3 policy_utils.py generate_nsi_policies NSTO1
python3 policy_utils.py create_and_push_policies gen_nsi_policies
cd policies/nssi
python3 policy_utils.py generate_nsi_policies TESTRANTOPNSST
python3 policy_utils.py create_and_push_policies gen_nsi_policies
python3 policy_utils.py generate_nssi_policies RAN_NF_NSST minimize latency
python3 policy_utils.py create_and_push_policies gen_nssi_policies
python3 policy_utils.py generate_nssi_policies CN_NSST minimize latency
python3 policy_utils.py create_and_push_policies gen_nssi_policies |
Refer Policy Models and Sample policies - NSI selection for sample policies
...
In file oom/kubernetes/so/chartscomponents/so-bpmn-infra/resources/config/overrides/override.yaml, we add a new config flag:
mso:
workflow:
TnNssmf:
enableSDNCNetworkConfig: 'false'
...