Skip to content
Lucas Baleeiro Dominato edited this page Jan 24, 2023 · 5 revisions
  • To add AMFs for load balacing in Reverse proxy you will need to fill the follow fields (name, ip, port, state (1-active to new SCTP connections, 0-inactive to new SCTP connections)):
curl --location --request POST 'http://127.0.0.1:8080/api/v1/amf' --header 'Content-Type: application/json' --data-raw '{
    "name": "amf1",
    "ip": "127.0.0.1",
    "port": 38412,
    "state": 1
}'

curl --location --request POST 'http://127.0.0.1:8080/api/v1/amf' --header 'Content-Type: application/json' --data-raw '{
    "name": "amf2",
    "ip": "127.0.0.1",
    "port": 38413,
    "state": 1
}'
  • For change the status of AMF in Reverse Proxy, e.g, setting the AMF as inactive to new connections you can use the following information:
curl --location --request PUT 'http://127.0.0.1:8080/api/v1/amf/state/amf1' --header 'Content-Type: application/json' --data-raw '{
    "state": 0
}'
Clone this wiki locally