Implement following CLI equivalent:
ip route add 10.10.24.0/24 via 10.10.12.2 local0 out-labels 102 104
Can be modeled using IETF models with following JSON:
{
"static-lsp": [
{
"name": "static-lsp0",
"config": {
"in-segment": {
"ip-prefix": "10.10.24.0/24"
},
"operation": "impose-and-forward",
"paths": [
{
"path-index": 0,
"next-hop": "10.10.12.2",
"outgoing-labels": [
102,
104
],
"outgoing-interface": "local0"
}
]
}
}
]
}