Unable to update the interface alias names within the NetOps Portal 23.3.X release
DX NetOps Performance Management
After upgrading to a newer version of Jetty/CXF, the system now requires explicit Accept and Content-Type headers for each endpoint. If these headers are missing from the request, the framework fails to correctly resolve the appropriate endpoint, resulting in processing failure.
Execute the following command to generate a list of interfaces in CSV format:
./update_alias_name.sh -h xxxxx-netops-portal -u admin -p xxxxx -T interface -S xxxx
This command will create a file named InterfaceList.csv containing all interfaces within the portal.
The generated CSV file will contain interface details in the following format:
DeviceID, InterfaceItemID, InterfaceName 1752,9386,node 1 interface 1/1/a/eth mac 1752,9387,node 1 interface 1/1/b/eth mac 1752,9388,node 1 interface 1/1/c/eth ety 1752,9389,node 1 interface 1/1/d/eth mac 1752,9390,node 1 interface 1/1/e/eth ety 1752,9391,node 1 interface 1/1/f/eth ety
Column Breakdown:
Device ID (e.g., 1752)
Interface Item ID (e.g., 9386)
Interface Name (e.g., node 1 interface 1/1/a/eth mac)
Modify this file by changing the interface alias for specific Interface Item IDs. The updated file should follow this format:
1752,9386,Alias1
Save the modified file as InterfaceList_input.csv.
Execute the following command to apply the alias changes:
./update_alias_name.sh -h xxxx-netops-portal -u admin -p xxxxx -T interface -S xxxx -i InterfaceList_input.csv
Once the script completes execution, verify that the alias names have been updated in the portal.