Skip to main content

Set Secure Gateway (Optional)

info

You will be using the Alef Mobile Network API to carry out the tasks in this section. This is a basic config, Refer to the API reference documentation to learn more about the API and explore the full schema.

Configure your Secure Gateway

Required information

  • name: Name for the Secure Gateway, needs to be unique in your account.
  • edgelocation: The (Alef) Edge Location to deploy the Secure Gateway to. (CHI-1, PHI-1).
note

Each eNB provider has its own way of connecting with a Secure Gateway. Alef can support you with the initial setup and provide with the right information for IPSec certificates.

You will use the following POST request body with the /connectivity/v2/networks/secure-gateway endpoint to create and configure your Secure Gateway.

You can use the following GET request body with the /connectivity/v2/networks/secure-gateway:id endpoint to retrieve your Secure Gateway information.

Expand here to see the Secure Gateway POST request body.
{
"name": "My-First-SecGW",
"edgelocation": "PHI-1",
"mobile-core-id": "66c75ae54333dcc27fbce394",
"ran_id": "66c7553603ffb584d8338c4e",
"edgepoint_id": "68100e034228c3f6557abca6",
}

Examples

info

All APIs require the user to be authenticated with their username/password. The JWT token needs to be added to the header as Bearer of each call.

Expand here to see examples for Secure Gateway POST and GET requests and responses.

Request

curl -X 'POST' 'https://api.alefedge.com/connectivity/v2/networks/secure-gateway' \
-H 'Authorization: Bearer <JWT TOKEN>' \
-H 'accept: application/json' \
-H 'Content-Type: application/json' \
-d ' {
"name": "My-First-SecGW",
"edgelocation": "PHI-1",
"mobile-core-id": "66c75ae54333dcc27fbce394",
"ran_id": "66c7553603ffb584d8338c4e",
"edgepoint_id": "68100e034228c3f6557abca6"
} '

Response

{
"name": "My-First-SecGW",
"edgelocation": "PHI-1",
"mobile-core-id": "66c75ae54333dcc27fbce394",
"ran_id": "66c7553603ffb584d8338c4e",
"edgepoint_id": "68100e034228c3f6557abca6",
"_id": "68100e034228c3f6557abcb1",
"provision_state": {
"provision_status": "in-progress"
}
}
tip

Take a note of the returned object ID _id for your Secure Sateway, as you will need it in the following steps. It will be an alphanumeric string, something like 66c7553603ffb584d8338c4e.

secure-gateway