16 Changing the Default Configurations

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

  • VmInfo.xml
  • VnfmProperties.xml

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.xml 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.xml 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.xml file.

    <replicationIntra>imiRepl</replicationIntra>

    <replicationInter>xmiRepl</replicationInter>

    Note:

    Network name should be same for NOAM and signaling VNFs.

16.1 Changing Flavor Names

To change the flavor names:

  1. Log in to the VNFM VM.
  2. Go to the /opt/vnfm/config/8.5/ folder.
  3. Edit the VmInfo.xml file.
  4. Find the <flavor> tag corresponding to the VM type (NOAM, SOAM, and so on).
  5. Change the default name to user defined name.

Note:

The user defined flavor name should be a valid flavor.

16.2 Changing Image Names

  1. Log into the VNFM VM.
  2. Change to /opt/vnfm/config/8.4/ folder.
  3. Edit VmInfo.xml.
  4. Find the tag <image> against the VM type (NOAM, SOAM, and so on).
  5. Change the default name to user defined name.

Note:

The user defined image name should be a valid image.

16.3 Changing Availability Zone

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

Note:

The user defined flavor name should be the availability zone.

16.4 Changing Profile Name

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

Note:

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

16.5 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"

16.6 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.xml file.
    Allowed values can be: true or false.