Configuring Diameter Peer

The peer nodes are configured in the configmap-pcf-diam-gateway-service-diameter.yaml file present in the location chart pcf/templates.

Note:

The IWF does not listen for incoming connections, as the connection with diameter peer is always initiated by IWF.

Following is a sample yaml file.

apiVersion: v1
kind: ConfigMap
metadata:
  name: pcf-diam-gateway-config-peers
data:
  diameter-config-peers: |
    version: '0.3'
    kind: 'diameter-config'
    metadata:
      label: 'diameter-config-peers'
    setting:
      reconnectDelay: 3
      responseTimeout: 5
      connectionTimeOut: 3
      watchdogInterval: 6
      transport: 'TCP'
    # type: [af, dra]
    nodes:
      - name: 'P-CSCF'
        type: 'pcrf'
        responseOnly: true
        host: '10.75.215.205'
        port: 3880
        realm: 'ociwf.oracle.com'
        identity: 'pcrfsim.ociwf.oracle.com'

Table 4-1 provides information about the yaml file parameters.

Table 4-1 Config Yaml File Parameter

Parameters Definitions
reconnectDelay Time delay in seconds between successive peer connection establishment attempts
responseTimeout Response timer value in seconds
connectionTimeOut Connection timer value in seconds
watchdogInterval Inactivity time in seconds after which DWR will be triggered
transport Transport protocol type "TCP"
Nodes (list) name Name of the peer node
responseOnly Indicates the Diameter GW proxy client or server
host IP address of the peer node
port Port on which peer node listens for connections
realm Realm of the peer node
identity FQDN of the peer node