After you create routes on an MSE Cloud-native Gateway, you can view route details, edit routing rules, and control traffic by publishing, unpublishing, or deleting routes.
Route lifecycle
A route has two states that control whether it handles traffic:
| Status | Description |
|---|---|
| Published | The route is active and handles incoming traffic based on its routing rules. |
| Unpublished | The route configuration is saved but does not handle traffic. |
The following operations change a route's lifecycle state:
| Operation | Effect | Constraint |
|---|---|---|
| Publish | Activates the route to handle traffic. Status changes to Published. | Only unpublished routes can be published. |
| Save And Publish | Saves edits and activates the route in one step. | Available when editing a route. |
| Unpublish | Removes the route from active traffic handling. Status changes to Unpublished. | Only published routes can be unpublished. |
| Delete | Permanently removes the route configuration. | Only unpublished routes can be deleted. Unpublish first if the route is published. |
Prerequisites
Before you begin, ensure that you have:
An MSE Cloud-native Gateway instance
One or more routes created on the gateway
Open the routes page
All route management operations start from the Routes page:
Log on to the MSE console.
In the top navigation bar, select a region.
In the left-side navigation pane, choose Cloud-native Gateway > Gateways.
On the Gateways page, click the target gateway ID.
In the left-side navigation pane, click Routes, then click the Routes tab.
View route details
On the Routes page, click a route name to view the following information:
basic information
policy settings
monitoring data
log data
Edit a routing rule
Open the edit page using one of the following methods:
On the Routes page, find the target route and click Edit in the Actions column.
Click the route name to open the Overview page, then click Edit in the upper-right corner.
Modify the route parameters.
Click Save And Publish.
Publish a route
Publishing activates an unpublished route so it starts handling traffic.
On the Routes page, find the target route and use one of the following methods:
In the Actions column, choose .
Click the route name to open the Overview page, then click Publish in the upper-right corner.
In the confirmation dialog box, click OK.
After publishing, the route status changes to Published.
You cannot publish a route that is already published. To update a published route, edit the routing rule and click Save And Publish.
Unpublish a route
Unpublishing removes a route from active traffic handling without deleting its configuration. Use this to temporarily disable a route.
On the Routes page, find the target route and use one of the following methods:
In the Actions column, choose .
Click the route name to open the Overview page, then click Unpublish in the upper-right corner.
In the confirmation dialog box, click OK.
After unpublishing, the route status changes to Unpublished. You do not need to unpublish a route that is already unpublished.
Delete a route
Deleting a route permanently removes its configuration. This action cannot be undone.
If the route status is Published, unpublish it first. See Unpublish a route.
On the Routes page, find the target route and use one of the following methods:
In the Actions column, choose .
Click the route name to open the Overview page, then click Delete in the upper-right corner.
In the confirmation dialog box, click OK.