Skip to content

Commit

Permalink
updated priority range (0 to 4)
Browse files Browse the repository at this point in the history
  • Loading branch information
BShrivastav committed Dec 30, 2022
1 parent 8022703 commit a6dc364
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion ibm/service/vpc/resource_ibm_is_vpc_routing_table_route.go
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ func ResourceIBMISVPCRoutingTableRouteValidator() *validate.ResourceValidator {
ValidateFunctionIdentifier: validate.IntBetween,
Type: validate.TypeInt,
MinValue: "0",
MaxValue: "255"})
MaxValue: "4"})
ibmVPCRoutingTableRouteValidator := validate.ResourceValidator{ResourceName: "ibm_is_vpc_routing_table_route", Schema: validateSchema}
return &ibmVPCRoutingTableRouteValidator
}
Expand Down
2 changes: 1 addition & 1 deletion website/docs/d/is_vpc_routing_table_route.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ Nested scheme for **creator**:

- `origin` - (String) The origin of this route:- `service`: route was directly created by a service- `user`: route was directly created by a userThe enumerated values for this property are expected to expand in the future. When processing this property, check for and log unknown values. Optionally halt processing and surface the error, or bypass the route on which the unexpected property value was encountered.
- Constraints: Allowable values are: `learned`, `service`, `user`.
- `priority` - (Integer) The route's priority. Smaller values have higher priority. If a routing table contains routes with the same destination, the route with the highest priority (smallest value) is selected. For Example (2), supports values from 0 to 255.
- `priority` - (Integer) The route's priority. Smaller values have higher priority. If a routing table contains routes with the same destination, the route with the highest priority (smallest value) is selected. For Example (2), supports values from 0 to 4. Default is 2.
- `zone` - (List) The zone the route applies to. (Traffic from subnets in this zone will be subject to this route).
Nested scheme for **zone**:
- `href` - (String) The URL for this zone.
Expand Down
2 changes: 1 addition & 1 deletion website/docs/d/is_vpc_routing_table_routes.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -76,5 +76,5 @@ In addition to all argument reference list, you can access the following attribu
- `next_hop` - (String) The next hop address of the route.
- `origin` - (String) The origin of this route:- `service`: route was directly created by a service - `user`: route was directly created by a userThe enumerated values for this property are expected to expand in the future. When processing this property, check for and log unknown values. Optionally halt processing and surface the error, or bypass the route on which the unexpected property value was encountered.
- Constraints: Allowable values are: `learned`, `service`, `user`.
- `priority` - (Integer) The route's priority. Smaller values have higher priority. If a routing table contains routes with the same destination, the route with the highest priority (smallest value) is selected. For Example (2), supports values from 0 to 255.
- `priority` - (Integer) The route's priority. Smaller values have higher priority. If a routing table contains routes with the same destination, the route with the highest priority (smallest value) is selected. For Example (2), supports values from 0 to 4. Default is 2.
- `zone` - (String) The zone name of the route.
2 changes: 1 addition & 1 deletion website/docs/r/is_vpc_routing_table_route.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ In addition to all argument reference list, you can access the following attribu
- `lifecycle_state` - (String) The lifecycle state of the route.
- `origin` - (Optional, String) The origin of this route:- `service`: route was directly created by a service- `user`: route was directly created by a userThe enumerated values for this property are expected to expand in the future. When processing this property, check for and log unknown values. Optionally halt processing and surface the error, or bypass the route on which the unexpected property value was encountered.
- Constraints: Allowable values are: `learned`, `service`, `user`.
- `priority` - (Optional, Integer) The route's priority. Smaller values have higher priority. If a routing table contains routes with the same destination, the route with the highest priority (smallest value) is selected. For Example (2), supports values from 0 to 255.
- `priority` - (Optional, Integer) The route's priority. Smaller values have higher priority. If a routing table contains routes with the same destination, the route with the highest priority (smallest value) is selected. For Example (2), supports values from 0 to 4. Default is 2.
- `resource_type` - (String) The resource type.

## Import
Expand Down

0 comments on commit a6dc364

Please sign in to comment.