Skip to content

Commit

Permalink
zebra: Add support for srv6 locator-opcode
Browse files Browse the repository at this point in the history
In order to support configuring static SRv6 decapsulation functionality on the system, we need to support configuring a purely static mode local SID. This local SID does not rely on BGP to randomly generate a specific mySID address. Instead, it generates a unique mySID table entry by manually specifying the opcode.

Signed-off-by: hanyu.zly <[email protected]>
  • Loading branch information
zice312963205 committed Nov 28, 2024
1 parent 522baa4 commit 08ff742
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion lib/srv6.c
Original file line number Diff line number Diff line change
Expand Up @@ -539,7 +539,6 @@ json_object *srv6_locator_detailed_json(const struct srv6_locator *loc)
jo_chunk = srv6_locator_chunk_detailed_json(chunk);
json_object_array_add(jo_chunks, jo_chunk);
}

/* set sids */
jo_sids = json_object_new_array();
json_object_object_add(jo_root, "sids", jo_sids);
Expand Down

0 comments on commit 08ff742

Please sign in to comment.