@@ -1769,25 +1769,25 @@ The easiest way of creating a Proxy charm that is able to implement primitives t
#### KNF Juju Bundle
This is an example on how to onboard a service that uses a Juju Bundle. For this example the service to be onboarded is a mediawiki that is comprised by a mariadb-k8s database and a mediawiki-k8s frontend.
This is an example on how to onboard a service that uses a Juju Bundle. For this example the service to onboard is Squid, a web server application which provides proxy and cache services for protocols like HTTP or FTP.
##### How to Add Instantiation Parameters to KNF Juju Bundles
It is possible to set custom parameters to KDUs upon NS instantiation, without modifying the previously validated KNF packages.
Instantiation parameters will be added to the Juju Bundles using Overlays Bundles. [Overlay Bundles](https://juju.is/docs/sdk/charm-bundles#heading--overlay-bundle) allow you to customize settings in an upstream bundle for your own needs, without modifying the existing bundle directly. Juju Bundles and Overlay Bundles use the same YAML syntax. You can find the format of a bundle here: [Juju Bundle Documentation](https://juju.is/docs/olm/bundle).
First, you need to create a YAML file that will contain the instantiation parameters for your KDU. It must containt the following parameters:
```yaml
# Additional parameters will be added to the VNF.
additionalParamsForVnf:
# ID of the VNF.
-member-vnf-index:squid_cnf
# Additional parameters will be added to the KDU.
additionalParamsForKdu:
# ID of the KDU.
-kdu_name :squid-metrics-kdu
# Instantiation parameters will be added here.
additionalParams:
# “overlay” will be used as a keyword to identify the instantiation parameters.
overlay:
# The overlay starts here. Use same format as Juju Bundles.
applications:
squid:
scale:3
```
"overlay" is used as keyword to identify the Bundle Overlay.
You can modify the number of units to deploy or set custom machine constraints. However, OSM will not allow you to add new applications to the original bundle. All the applications in the overlay must exist on the original bundle.
The original Juju Bundle for squid-metrics-kdu, establishes only one unit for the `squid` application. In this example we set to 3 the number of units of the `squid` application of the `squid-metrics-kdu` KDU on the `squid_cnf` VNF.
Then, use the flag `--config_file` during NS instantiation to indicate the YAML file you just created:
```bash
osm ns-create --ns_name squid-ns --nsd_name squid_cnf_ns --vim_account <VIM_NAME|VIM_ID> --config_file <YAML_file_name>
```
Your `squid-ns` NS will be deployed including 3 units (instead of one), as specified in the instantiation parameters.
Alternatively, you can use the `--config` flag of `osm ns-create` command to specify the instantiation parameters as follows:
This approach is equivalent to using the `--config_file` flag.
## Subscription and Notification support in OSM
[ETSI NFV SOL005](https://www.etsi.org/deliver/etsi_gs/NFV-SOL/001_099/005/02.04.01_60/gs_NFV-SOL005v020401p.pdf) defines a class of Northbound APIs through which entities can subscribe for changes in the Network Service (NS) life-cycle, Network service descriptor (NSD) and Virtual network service descriptor (VNFD). The entities get notified via HTTP REST APIs which those entities expose.