17 Changing the Default Configurations

This section includes information about changing the default configurations through the following files:

  • VmInfo.yaml
  • VnfmProperties.yaml

Images, Availability Zone, and Flavors in VNFM can be configured through rest request of each individual VNF. These are the optional parameters of the rest request. If these optional parameters are not provided in the request body, then VNFM considers the default configurations present in the VmInfo.yaml file.

To change default configurations of OAM Network Name for Intra-Ne and Inter-Ne (XMI and IMI) in DSR/SDS:
  1. Navigate to /opt/vnfm/config path.
  2. Edit the below network names in VnfmProperties.yaml file.

    <oamInter>xmi</oamInter>

    <oamIntra>imi</oamIntra>

    Note:

    Network name should be same for NOAM and signaling VNFs.
To change default configurations of Replication Network Name for Intra-Ne and Inter-Ne (XMIRepl and IMIRepl ) in DSR:
  1. Navigate to /opt/vnfm/config path.
  2. Edit the below network names in VnfmProperties.yaml file.

    <replicationIntra>imiRepl</replicationIntra>

    <replicationInter>xmiRepl</replicationInter>

    Note:

    Network name should be same for NOAM and signaling VNFs.

Note:

To change default Image, Flavor, Availability zone configurations of VNFM:
  • Images, Availability Zone and Flavors in VNFM can be configured through rest request of each individual VNF.
  • Flavor, Image and Availability zone are the optional parameter of the rest request.
  • If these optional parameters are not given in the request body then VNFM takes the default configurations present in VmInfo.yaml file.

17.1 Changing Profile Name

  1. Log into the VNFM VM.
  2. Change to /opt/vnfm/config/ folder.
  3. Edit VnfmProperties.yaml.
  4. Find the tag <dsrHardwareProfileName>.
  5. Change the default name to user defined name.

Note:

The user defined image name should be a valid profile name.

Profile/Hardware name

dsrHardwareProfileName: DSR Guest

sdsHardwareProfileName: SDS Cloud Guest

17.2 Enable VNFM Logs with Different Log Levels (DEBUG, TRACE, WARN, ERROR)

  • Open the file log4j2.xml located in /opt/vnfm/config/
  • Replace level="INFO" with level="DEBUG" (or TRACE or WARN or ERROR) in <Logger> tag and save

Note:

Default value of level is "INFO"

17.3 Changing the Full Semantic Validation Configuration

Full Semantic Validation includes validation of the following entities passed as a part of the request body:
  • Image Names
  • Flavor Names

These additional validations delay the processing time of a request and returning a response. The default value for this property is "false".

  1. Change the value of the property <fullSemanticValidation> in the /opt/vnfm/config/VnfmProperties.yaml file.
    Allowed values can be: true or false.