17 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.
Changing Flavor Names
To change the flavor names:
- Log in to the VNFM VM.
- Go to the
/opt/vnfm/config/8.5/
folder. - Edit the
VmInfo.xml
file. - Find the
<flavor>
tag corresponding to the VM type (NOAM, SOAM, and so on). - Change the default name to user defined name.
Note:
The user defined flavor name should be a valid flavor.Changing Image Names
- Log into the VNFM VM.
- Change to
/opt/vnfm/config/8.4/
folder. - Edit
VmInfo.xml
. - Find the tag
<image>
against the VM type (NOAM, SOAM, and so on). - Change the default name to user defined name.
Note:
The user defined image name should be a valid image.Changing Availability Zone
- Log into the VNFM VM.
- Change to
/opt/vnfm/config/
folder - Edit the
VnfmProperties.xml
- Find the tag
<osAvailabilityZone>
- Change the default name to user defined name.
Note:
The user defined flavor name should be the availability zone.Changing Profile Name
- Log into the VNFM VM.
- Change to
/opt/vnfm/config/
folder. - Edit
VnfmProperties.xml
. - Find the tag
<profileName>
. - Change the default name to user defined name.
Note:
The user defined image name should be a valid profile name.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"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".