Description

Contrail Routing policy cannot be edited or deleted from TF UI.

Symptoms

Contrail Routing Policy is created via Config API, using scripts. However after creation the routing policy cannot be edited or deleted from the TF UI.

There are no error, but clicking on the edit button has no effect.

Solution

This is due to null values in the routing policy. As the routing policy is created from scripts using config API and not UI this issue happens.

Validation of null values exits only in the UI.


From the UI use the JSON display for the routing policy object and look for null values.

Refer below null values. Once these null values are removed the EDIT work.


routing-policy:  {
display_name: "XXXX",
uuid: "aaaaa",
parent_uuid: "aaaa",
parent_href: "http://<ip.addr>:8082/project/xxx",
parent_type: "project",
perms2:  {
owner: "xxx",
owner_access: 7,
global_access: 0,
share:  [
]
},
href: "http://<ip.addr>:8082/routing-policy/yyyy",
routing_policy_entries:  {
term:  [
 {
term_action_list:  {
as_path_expand: null,
update:  {
extcommunity: null,
local_pref: 350,
as_path: null,
community:  {
add:  {
community:  [
"65259:0"
]
},
set: null,
remove: null
},
med: null
},


Modification History

2025-11-03 : Article Created