diff options
author | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2018-11-25 21:02:55 +0900 |
---|---|---|
committer | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2018-11-25 23:27:02 +0900 |
commit | a5763c20d4ab411a3d6375cad32c8c8255c43a64 (patch) | |
tree | ecb2eaa8515b13f641c854993acecb42d522e3a7 /api/gobgp.proto | |
parent | 7ec6a96962637d0c6f525ec6e8dd517f785842c7 (diff) |
api: remove AddPaths from Peer and PeerGroup
AddPaths in AfiSafi should be used; it can handle configuration per
family.
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Diffstat (limited to 'api/gobgp.proto')
-rw-r--r-- | api/gobgp.proto | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/api/gobgp.proto b/api/gobgp.proto index 8dedf878..64910a7a 100644 --- a/api/gobgp.proto +++ b/api/gobgp.proto @@ -571,7 +571,6 @@ message Peer { RouteServer route_server = 8; GracefulRestart graceful_restart = 9; repeated AfiSafi afi_safis = 10; - AddPaths add_paths = 11; } message PeerGroup { @@ -585,7 +584,6 @@ message PeerGroup { RouteServer route_server = 8; GracefulRestart graceful_restart = 9; repeated AfiSafi afi_safis = 10; - AddPaths add_paths = 11; } message DynamicNeighbor { @@ -809,8 +807,9 @@ message AfiSafiConfig { message AfiSafiState { Family family = 1; bool enabled = 2; - uint32 total_paths = 3; - uint32 total_prefixes = 4; + uint32 received = 3; + uint32 accepted = 4; + uint32 advertised = 5; } message RouteSelectionOptionsConfig { @@ -915,7 +914,8 @@ message LongLivedGracefulRestart { message AfiSafi { MpGracefulRestart mp_graceful_restart = 1; AfiSafiConfig config = 2; - ApplyPolicy apply_policy = 3; + AfiSafiState state = 3; + ApplyPolicy apply_policy = 4; // TODO: // Support the following structures: // - Ipv4Unicast @@ -928,12 +928,12 @@ message AfiSafi { // - L3vpnIpv6Multicast // - L2vpnVpls // - L2vpnEvpn - RouteSelectionOptions route_selection_options = 4; - UseMultiplePaths use_multiple_paths = 5; - PrefixLimit prefix_limits = 6; - RouteTargetMembership route_target_membership = 7; - LongLivedGracefulRestart long_lived_graceful_restart = 8; - AddPaths add_paths = 9; + RouteSelectionOptions route_selection_options = 5; + UseMultiplePaths use_multiple_paths = 6; + PrefixLimit prefix_limits = 7; + RouteTargetMembership route_target_membership = 8; + LongLivedGracefulRestart long_lived_graceful_restart = 9; + AddPaths add_paths = 10; } message AddPathsConfig { |