Skip to content

Commit

Permalink
fix(cloud): fix for comments on parameter naming
Browse files Browse the repository at this point in the history
Signed-off-by: Mark Sanders <marksanders194@gmail.com>
  • Loading branch information
sandersms committed Dec 15, 2023
1 parent e72bad6 commit a905aec
Show file tree
Hide file tree
Showing 4 changed files with 689 additions and 687 deletions.
14 changes: 7 additions & 7 deletions network/cloud/bgp.proto
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ message BGPPeerSpec {
// send extended community attributes to neighbor
bool send_ext_comm = 6;
// peer is a route reflector client
BGPPeerRR rr_client = 7;
BGPPeerRRClient rr_client = 7;
// BGP session connect-retry timer in seconds
int32 connect_retry = 8;
// BGP session configured holdtime timer in seconds
Expand Down Expand Up @@ -282,7 +282,7 @@ message BGPPeerAfStatus {
BgpAddPathCapNeg add_path_cap_neg = 4;
// This value indicates whether the given peer is a reflector client of this
// router for this AFI/SAFI, or not
BGPPeerRR reflector_client = 5;
BGPPeerRRClient reflector_client = 5;
}

// BGP NLRI prefix object, this object is not conifgured by the user
Expand Down Expand Up @@ -354,7 +354,7 @@ message BGPNLRIPrefixStatus {
int32 flap_starttime = 19;
// If bgpNlriPrefixBest is 'true', then this field is set to 'routeIsBest'.
// Otherwise, it reports the stage in the decision process when the route was determined to be non-best.
BGPRouteReason reason_not_best = 20;
BGPRouteReason route_reason = 20;
// The extended community membership associated with the route after import policy has been applied.
repeated bytes ext_comm = 21;
// The community list associated with the route after import policy has been applied.
Expand Down Expand Up @@ -456,13 +456,13 @@ enum BGPSafi {
}

// BGP peer Route Reflector client
enum BGPPeerRR {
enum BGPPeerRRClient {
// RR_UNSPECIFIED
BGP_PEER_RR_UNSPECIFIED = 0;
BGP_PEER_RR_CLIENT_UNSPECIFIED = 0;
// RR_CLIENT
BGP_PEER_RR_CLIENT = 1;
BGP_PEER_RR_CLIENT_CLIENT = 1;
// RR_MESHED_CLIENT
BGP_PEER_RR_MESHED_CLIENT = 2;
BGP_PEER_RR_CLIENT_MESHED_CLIENT = 2;
}

// BGP peer session's last_state
Expand Down
18 changes: 9 additions & 9 deletions network/cloud/v1alpha1/autogen.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
- [BGPClearRouteOptions](#opi_api-network-cloud-v1alpha1-BGPClearRouteOptions)
- [BGPOperState](#opi_api-network-cloud-v1alpha1-BGPOperState)
- [BGPOriginAttr](#opi_api-network-cloud-v1alpha1-BGPOriginAttr)
- [BGPPeerRR](#opi_api-network-cloud-v1alpha1-BGPPeerRR)
- [BGPPeerRRClient](#opi_api-network-cloud-v1alpha1-BGPPeerRRClient)
- [BGPPeerSessionState](#opi_api-network-cloud-v1alpha1-BGPPeerSessionState)
- [BGPPeerType](#opi_api-network-cloud-v1alpha1-BGPPeerType)
- [BGPRouteReason](#opi_api-network-cloud-v1alpha1-BGPRouteReason)
Expand Down Expand Up @@ -467,7 +467,7 @@ BGP NLRI prefix table
| is_active | [BgpNlriIsActive](#opi_api-network-cloud-v1alpha1-BgpNlriIsActive) | | An indication of whether or not this route is installed in the forwarding table |
| stale | [bool](#bool) | | Whether or not this route was last sent by the peer before BGP detected that the peer was restarting. |
| flap_starttime | [int32](#int32) | | The value of sysUpTime when this route flapped |
| reason_not_best | [BGPRouteReason](#opi_api-network-cloud-v1alpha1-BGPRouteReason) | | If bgpNlriPrefixBest is &#39;true&#39;, then this field is set to &#39;routeIsBest&#39;. Otherwise, it reports the stage in the decision process when the route was determined to be non-best. |
| route_reason | [BGPRouteReason](#opi_api-network-cloud-v1alpha1-BGPRouteReason) | | If bgpNlriPrefixBest is &#39;true&#39;, then this field is set to &#39;routeIsBest&#39;. Otherwise, it reports the stage in the decision process when the route was determined to be non-best. |
| ext_comm | [bytes](#bytes) | repeated | The extended community membership associated with the route after import policy has been applied. |
| comm | [bytes](#bytes) | repeated | The community list associated with the route after import policy has been applied. |
| local_pref | [int32](#int32) | | Calculated local preference |
Expand Down Expand Up @@ -550,7 +550,7 @@ BGP peer AF status
| local_addr_scope_id | [int32](#int32) | | For a peer identified by a link-local IPv6 addresses, this is the scope ID of bgpPeerLocalAddr and bgpPeerRemoteAddr. |
| route_refresh | [bool](#bool) | | send a Route Refresh request to the peer for this AFI/SAFI. |
| add_path_cap_neg | [BgpAddPathCapNeg](#opi_api-network-cloud-v1alpha1-BgpAddPathCapNeg) | | The BGP additional path capability negotiated with this peer for this AFI/SAFI. |
| reflector_client | [BGPPeerRR](#opi_api-network-cloud-v1alpha1-BGPPeerRR) | | This value indicates whether the given peer is a reflector client of this router for this AFI/SAFI, or not |
| reflector_client | [BGPPeerRRClient](#opi_api-network-cloud-v1alpha1-BGPPeerRRClient) | | This value indicates whether the given peer is a reflector client of this router for this AFI/SAFI, or not |



Expand All @@ -571,7 +571,7 @@ BGP peer configurations
| remote_asn | [uint32](#uint32) | | remote 4-byte AS number (-- api-linter: core::0141::forbidden-types=disabled aip.dev/not-precedent: must use uint32 per BGP spec. --) |
| send_comm | [bool](#bool) | | send regular community attributes to neighbor |
| send_ext_comm | [bool](#bool) | | send extended community attributes to neighbor |
| rr_client | [BGPPeerRR](#opi_api-network-cloud-v1alpha1-BGPPeerRR) | | peer is a route reflector client |
| rr_client | [BGPPeerRRClient](#opi_api-network-cloud-v1alpha1-BGPPeerRRClient) | | peer is a route reflector client |
| connect_retry | [int32](#int32) | | BGP session connect-retry timer in seconds |
| holdtime | [int32](#int32) | | BGP session configured holdtime timer in seconds |
| keep_alive | [int32](#int32) | | BGP session configured keepalive timer in seconds |
Expand Down Expand Up @@ -794,16 +794,16 @@ bgp origin attribute



<a name="opi_api-network-cloud-v1alpha1-BGPPeerRR"></a>
<a name="opi_api-network-cloud-v1alpha1-BGPPeerRRClient"></a>

### BGPPeerRR
### BGPPeerRRClient
BGP peer Route Reflector client

| Name | Number | Description |
| ---- | ------ | ----------- |
| BGP_PEER_RR_UNSPECIFIED | 0 | RR_UNSPECIFIED |
| BGP_PEER_RR_CLIENT | 1 | RR_CLIENT |
| BGP_PEER_RR_MESHED_CLIENT | 2 | RR_MESHED_CLIENT |
| BGP_PEER_RR_CLIENT_UNSPECIFIED | 0 | RR_UNSPECIFIED |
| BGP_PEER_RR_CLIENT_CLIENT | 1 | RR_CLIENT |
| BGP_PEER_RR_CLIENT_MESHED_CLIENT | 2 | RR_MESHED_CLIENT |



Expand Down
Loading

0 comments on commit a905aec

Please sign in to comment.