Skip to content

Commit

Permalink
change output of advertised route
Browse files Browse the repository at this point in the history
  • Loading branch information
litchiyangMSFT committed Sep 9, 2020
1 parent 676b2f6 commit 4dc41ce
Showing 1 changed file with 7 additions and 55 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4399,7 +4399,7 @@
"200": {
"description": "List of advertised BGP routes.",
"schema": {
"$ref": "#/definitions/LearnedRouteList"
"$ref": "#/definitions/PeerRouteList"
}
},
"202": {
Expand Down Expand Up @@ -5464,55 +5464,7 @@
},
"description": "Properties of the bgp connection."
},
"AdvertisedRoute": {
"properties": {
"localAddress": {
"type": "string",
"readOnly": true,
"description": "The peer's local address."
},
"network": {
"type": "string",
"readOnly": true,
"description": "The route's network prefix."
},
"nextHop": {
"type": "string",
"readOnly": true,
"description": "The route's next hop."
},
"origin": {
"type": "string",
"readOnly": true,
"description": "The source this route was learned from."
},
"asPath": {
"type": "string",
"readOnly": true,
"description": "The route's AS path sequence."
},
"weight": {
"type": "integer",
"format": "int32",
"readOnly": true,
"description": "The route's weight."
}
},
"description": "Peer advertised routing details."
},
"AdvertisedRouteList": {
"properties": {
"value": {
"type": "array",
"items": {
"$ref": "#/definitions/AdvertisedRoute"
},
"description": "List of peer advertised routes."
}
},
"description": "List of virtual router peer advertised routes."
},
"LearnedRoute": {
"PeerRoute": {
"properties": {
"localAddress": {
"type": "string",
Expand Down Expand Up @@ -5551,19 +5503,19 @@
"description": "The route's weight."
}
},
"description": "Peer learned routing details."
"description": "Peer routing details."
},
"LearnedRouteList": {
"PeerRouteList": {
"properties": {
"value": {
"type": "array",
"items": {
"$ref": "#/definitions/LearnedRoute"
"$ref": "#/definitions/PeerRoute"
},
"description": "List of peer learned routes."
"description": "List of peer routes."
}
},
"description": "List of virtual router peer learned routes."
"description": "List of virtual router peer routes."
},
"HubIpConfiguration": {
"properties": {
Expand Down

0 comments on commit 4dc41ce

Please sign in to comment.