On the SIMPL VM, you can find the following commands in the resources
subdirectory of
any RVT CSAR, after it has been extracted using csar unpack
.
/home/admin/.local/share/csar/<csar name>/<version>/resources/
sgc-mml-to-yaml
Generate SGC and SNMP configuration YAML files from MML file.
sgc-mml-to-yaml [--one-peer-per-connection] --mml <mml_file> --snmp-yaml-output <snmp.yaml> --sgc-yaml-output <sgc.yaml>
The following table describes the parameters in more detail:
Parameter | Description |
---|---|
|
The input file containing MML. |
|
The output file to write the |
|
The output file to write the |
|
By default the MML connection name is examined to determine if connections from multiple SGCs to the same remote peer should be considered to be one logical peer. This is done by examining the connection name and seeing if it matches the form This option may be used to disable this behaviour. i.e. every connection will be considered to be a connection to a distinct peer. |
sgc-yaml-to-mml
Generate SGC configuration MML file from snmp-config
and sgc-config
YAML files.
sgc_yaml_to_mml --deployment-id <deployment-id> --node-count <node-count> --management-ip <mgmt-ip> +
--signaling-ip <sig-ip> [--signaling2-ip <sig2-ip>] --clustering-ip <cluster-ip> +
[--schema-dir <schema-dir>] --snmp-yaml <snmp.yaml> --m3ua-yaml <sgc.yaml> --mml-output <output.mml>
The following table describes the parameters in more detail:
Parameter | Description |
---|---|
|
The deployment ID. |
|
The number of SGC/SMO nodes to generate configuration for. |
|
The base management IP address of the first SGC/SMO node. |
|
The base signaling IP address of the first SGC/SMO node. |
|
The optional base signaling2 IP address of the first SGC/SMO node if a locally multihomed SCTP configuration is required. |
|
The base clustering IP address of the first SGC/SMO node. |
|
The optional schema dir, if schemas are not in the default location. Typically not required. |
|
The input file containing the SNMP config YAML. Usually |
|
The input file containing the SGC config YAML. Usually |
|
The output file to write the MML to. |