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.
- Navigate to
/opt/vnfm/config
path. - 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.
- Navigate to
/opt/vnfm/config
path. - 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.
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.xml
file.
17.1 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.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
- 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".