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.
- 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.
16.1 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.16.2 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.16.3 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.16.4 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.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
- 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".