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:
@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user