1
0
mirror of https://github.com/osrg/gobgp.git synced 2024-05-11 05:55:10 +00:00

Add the possibility to choose the local port in the TCP

connection to a peer.

Signed-off-by: Arthur de Kerhor <arthurdekerhor@gmail.com>
This commit is contained in:
Arthur de Kerhor
2022-04-07 17:05:04 +02:00
parent 2768967541
commit 44065abbca
5 changed files with 19 additions and 5 deletions

View File

@ -926,6 +926,11 @@ module gobgp {
}
augment "/bgp:bgp/bgp:neighbors/bgp:neighbor/bgp:transport/bgp:config" {
leaf local-port {
description "Set the local port (if available) to use for the session.";
type inet:port-number;
}
leaf remote-port {
type inet:port-number;
}