Skip to content

Commit

Permalink
Add match dscp attribute to class map resource
Browse files Browse the repository at this point in the history
  • Loading branch information
danischm committed Jan 11, 2024
1 parent 39c4daf commit e93e3ac
Show file tree
Hide file tree
Showing 9 changed files with 59 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
- Add `speed_nonegotiate` attribute to `iosxe_interface_ethernet` resource and data source
- Add `service_policy_input` and `service_policy_output` attributes to `iosxe_interface_ethernet` resource and data source
- Add `classes` and `description` attributes to `iosxe_policy_map` resource and data source
- Add `match_dscp` attribute to `iosxe_class_map` resource and data source

## 0.5.4

Expand Down
1 change: 1 addition & 0 deletions docs/data-sources/class_map.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ data "iosxe_class_map" "example" {
- `match_authorization_status_authorized` (Boolean) authorized
- `match_authorization_status_unauthorized` (Boolean) unauthorized
- `match_authorizing_method_priority_greater_than` (List of Number) greater than
- `match_dscp` (List of String) Match DSCP in IP(v4) and IPv6 packets
- `match_method_dot1x` (Boolean) dot1x
- `match_method_mab` (Boolean) mab
- `match_result_type_aaa_timeout` (Boolean) aaa timeout type
Expand Down
1 change: 1 addition & 0 deletions docs/guides/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ description: |-
- Add `speed_nonegotiate` attribute to `iosxe_interface_ethernet` resource and data source
- Add `service_policy_input` and `service_policy_output` attributes to `iosxe_interface_ethernet` resource and data source
- Add `classes` and `description` attributes to `iosxe_policy_map` resource and data source
- Add `match_dscp` attribute to `iosxe_class_map` resource and data source

## 0.5.4

Expand Down
1 change: 1 addition & 0 deletions docs/resources/class_map.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ resource "iosxe_class_map" "example" {
- `match_authorization_status_authorized` (Boolean) authorized
- `match_authorization_status_unauthorized` (Boolean) unauthorized
- `match_authorizing_method_priority_greater_than` (List of Number) greater than
- `match_dscp` (List of String) Match DSCP in IP(v4) and IPv6 packets
- `match_method_dot1x` (Boolean) dot1x
- `match_method_mab` (Boolean) mab
- `match_result_type_aaa_timeout` (Boolean) aaa timeout type
Expand Down
3 changes: 3 additions & 0 deletions gen/definitions/class_map.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,9 @@ attributes:
example: true
- yang_name: match/result-type/method/mab/authoritative
example: true
- yang_name: match/dscp
example: 8
exclude_test: true
- yang_name: description
example: My description
exclude_test: true
5 changes: 5 additions & 0 deletions internal/provider/data_source_iosxe_class_map.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

41 changes: 41 additions & 0 deletions internal/provider/model_iosxe_class_map.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 5 additions & 0 deletions internal/provider/resource_iosxe_class_map.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions templates/guides/changelog.md.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ description: |-
- Add `speed_nonegotiate` attribute to `iosxe_interface_ethernet` resource and data source
- Add `service_policy_input` and `service_policy_output` attributes to `iosxe_interface_ethernet` resource and data source
- Add `classes` and `description` attributes to `iosxe_policy_map` resource and data source
- Add `match_dscp` attribute to `iosxe_class_map` resource and data source

## 0.5.4

Expand Down

0 comments on commit e93e3ac

Please sign in to comment.