Commit eaa5b6cc authored by vegall's avatar vegall
Browse files

Adds missing documentation

parent c2a0511a
Loading
Loading
Loading
Loading
Loading
+17 −0
Original line number Diff line number Diff line
@@ -470,6 +470,7 @@ You can try it using one of the examples of the hackfest (**packages: [hackfest_

```bash
osm ns-create --ns_name hf-basic --nsd_name hackfest_basic-ns
```

With the previous hackfest example, according to [VNF data model](https://osm-download.etsi.org/repository/osm/debian/ReleaseFIFTEEN/docs/osm-im/osm_im_trees/etsi-nfv-vnfd.html) you will add in VNF Descriptor:

@@ -790,6 +791,22 @@ An existing flavor can be used by passing it's ID to `vim-flavor-id` at the VDU
```


#### Instantiating a NS-KNF in a custom namespace

To deploy a KNF in a Kubernetes custom namespace, you have three ways to do it:

```bash
# Change the namespace at a VNFD level
osm ns-create --ns_name <ns-instance-name> --nsd_name <cnf-name> --vim_account <vim-target-name> --config '{additionalParamsForVnf: [{"member-vnf-index": "<vnf-index>", "k8s-namespace": "<namespace>"}]}'

# Change the namespace at a KDU level
osm ns-create --ns_name <ns-instance-name> --nsd_name <cnf-name> --vim_account <vim-target-name> --config '{additionalParamsForVnf: [{"member-vnf-index": "<vnf-index>", additionalParamsForKdu: [{"kdu_name": "<kdu_name>", "k8s-namespace": "<namespace>"}]}]}'

# Change the namespace at a global level
osm ns-create --ns_name <ns-instance-name> --nsd_name <cnf-name> --vim_account <vim-target-name> --config '{"k8s-namespace": "<namespace>"}'
```


## Understanding Day-1 and Day-2 Operations

VNF configuration is done in three "days":