Skip to content
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
## 0.10.0 (unreleased)

- Add `flooding_suppression_address_resolution_disable` attribute to `iosxe_evpn` resource and data source
- Add `deadtime` attribute to aaa group server radius in `iosxe_aaa` resource and data source
- Add `key_encryption`, `automate_tester_ignore_auth_port`, and `automate_tester_idle_time` attributes to `iosxe_radius` resource and data source
- Add `authentication_mac_move_permit` and `authentication_mac_move_deny_uncontrolled` attributes to `iosxe_system` resource and data source

## 0.9.3

Expand Down
1 change: 1 addition & 0 deletions docs/data-sources/aaa.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ data "iosxe_aaa" "example" {

Read-Only:

- `deadtime` (Number) Specify time in minutes to ignore an unresponsive server
- `ip_radius_source_interface_five_gigabit_ethernet` (String) Five GigabitEthernet
- `ip_radius_source_interface_forty_gigabit_ethernet` (String) Forty GigabitEthernet
- `ip_radius_source_interface_gigabit_ethernet` (String) GigabitEthernet IEEE 802.3z
Expand Down
3 changes: 3 additions & 0 deletions docs/data-sources/radius.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,12 +33,15 @@ data "iosxe_radius" "example" {

- `accounting_port` (Number) UDP port for RADIUS accounting server (default is 1813)
- `authentication_port` (Number) UDP port for RADIUS authentication server (default is 1812)
- `automate_tester_idle_time` (Number) Minutes of idle-time after which server state should be verified.
- `automate_tester_ignore_acct_port` (Boolean) Do not test accounting ports of the servers.
- `automate_tester_ignore_auth_port` (Boolean) Do not test authentication port of the servers.
- `automate_tester_probe_on_config` (Boolean) Send a packet to verify the server status
- `automate_tester_username` (String)
- `id` (String) The path of the retrieved object.
- `ipv4_address` (String) IPv4 address or Hostname for radius server
- `key` (String, Sensitive)
- `key_encryption` (String, Sensitive)
- `pac_key` (String, Sensitive) The UNENCRYPTED (cleartext) server key
- `pac_key_encryption` (String) 0 - Specifies an UNENCRYPTED key will follow 6 - Specifies an ENCRYPTED key will follow 7 - Specifies HIDDEN key will follow
- `retransmit` (Number) Number of retries to active server (overrides default)
Expand Down
2 changes: 2 additions & 0 deletions docs/data-sources/system.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@ data "iosxe_system" "example" {
- `archive_path` (String) path for backups
- `archive_time_period` (Number) Period of time in minutes to automatically archive the running-config
- `archive_write_memory` (Boolean) Enable automatic backup generation during write memory
- `authentication_mac_move_deny_uncontrolled` (Boolean) Deny MAC move to uncontrolled port
- `authentication_mac_move_permit` (Boolean) PERMIT MAC moves (clears existing session)
- `boot_system_bootfiles` (Attributes List) (see [below for nested schema](#nestedatt--boot_system_bootfiles))
- `boot_system_flash_files` (Attributes List) (see [below for nested schema](#nestedatt--boot_system_flash_files))
- `call_home_cisco_tac_1_destination_transport_method` (String) To specify transport method for this profile
Expand Down
3 changes: 3 additions & 0 deletions docs/guides/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ description: |-
## 0.10.0 (unreleased)

- Add `flooding_suppression_address_resolution_disable` attribute to `iosxe_evpn` resource and data source
- Add `deadtime` attribute to aaa group server radius in `iosxe_aaa` resource and data source
- Add `key_encryption`, `automate_tester_ignore_auth_port`, and `automate_tester_idle_time` attributes to `iosxe_radius` resource and data source
- Add `authentication_mac_move_permit` and `authentication_mac_move_deny_uncontrolled` attributes to `iosxe_system` resource and data source

## 0.9.3

Expand Down
5 changes: 4 additions & 1 deletion docs/resources/aaa.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@ resource "iosxe_aaa" "example" {
]
group_server_radius = [
{
name = "T-Group"
name = "T-Group"
deadtime = 5
server_names = [
{
name = "TESTRADIUS"
Expand Down Expand Up @@ -81,6 +82,8 @@ Required:

Optional:

- `deadtime` (Number) Specify time in minutes to ignore an unresponsive server
- Range: `0`-`1440`
- `ip_radius_source_interface_five_gigabit_ethernet` (String) Five GigabitEthernet
- `ip_radius_source_interface_forty_gigabit_ethernet` (String) Forty GigabitEthernet
- `ip_radius_source_interface_gigabit_ethernet` (String) GigabitEthernet IEEE 802.3z
Expand Down
6 changes: 6 additions & 0 deletions docs/resources/radius.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,10 @@ resource "iosxe_radius" "example" {
timeout = 4
retransmit = 3
key = "123"
key_encryption = "0"
automate_tester_username = "dummy"
automate_tester_ignore_acct_port = true
automate_tester_ignore_auth_port = true
automate_tester_probe_on_config = true
}
```
Expand All @@ -40,12 +42,16 @@ resource "iosxe_radius" "example" {
- Range: `0`-`65534`
- `authentication_port` (Number) UDP port for RADIUS authentication server (default is 1812)
- Range: `0`-`65534`
- `automate_tester_idle_time` (Number) Minutes of idle-time after which server state should be verified.
- Range: `1`-`35791`
- `automate_tester_ignore_acct_port` (Boolean) Do not test accounting ports of the servers.
- `automate_tester_ignore_auth_port` (Boolean) Do not test authentication port of the servers.
- `automate_tester_probe_on_config` (Boolean) Send a packet to verify the server status
- `automate_tester_username` (String)
- `device` (String) A device name from the provider configuration.
- `ipv4_address` (String) IPv4 address or Hostname for radius server
- `key` (String, Sensitive)
- `key_encryption` (String, Sensitive) - Choices: `0`, `5`, `6`, `7`
- `pac_key` (String, Sensitive) The UNENCRYPTED (cleartext) server key
- `pac_key_encryption` (String) 0 - Specifies an UNENCRYPTED key will follow 6 - Specifies an ENCRYPTED key will follow 7 - Specifies HIDDEN key will follow
- Choices: `0`, `6`, `7`
Expand Down
2 changes: 2 additions & 0 deletions docs/resources/system.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,8 @@ resource "iosxe_system" "example" {
- `archive_time_period` (Number) Period of time in minutes to automatically archive the running-config
- Range: `1`-`525600`
- `archive_write_memory` (Boolean) Enable automatic backup generation during write memory
- `authentication_mac_move_deny_uncontrolled` (Boolean) Deny MAC move to uncontrolled port
- `authentication_mac_move_permit` (Boolean) PERMIT MAC moves (clears existing session)
- `boot_system_bootfiles` (Attributes List) (see [below for nested schema](#nestedatt--boot_system_bootfiles))
- `boot_system_flash_files` (Attributes List) (see [below for nested schema](#nestedatt--boot_system_flash_files))
- `call_home_cisco_tac_1_destination_transport_method` (String) To specify transport method for this profile
Expand Down
3 changes: 2 additions & 1 deletion examples/resources/iosxe_aaa/resource.tf
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@ resource "iosxe_aaa" "example" {
]
group_server_radius = [
{
name = "T-Group"
name = "T-Group"
deadtime = 5
server_names = [
{
name = "TESTRADIUS"
Expand Down
2 changes: 2 additions & 0 deletions examples/resources/iosxe_radius/resource.tf
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@ resource "iosxe_radius" "example" {
timeout = 4
retransmit = 3
key = "123"
key_encryption = "0"
automate_tester_username = "dummy"
automate_tester_ignore_acct_port = true
automate_tester_ignore_auth_port = true
automate_tester_probe_on_config = true
}
2 changes: 2 additions & 0 deletions gen/definitions/aaa.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@ attributes:
- yang_name: name
example: T-Group
id: true
- yang_name: deadtime
example: 5
- yang_name: server/name
tf_name: server_names
type: List
Expand Down
12 changes: 12 additions & 0 deletions gen/definitions/radius.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,14 +29,26 @@ attributes:
example: 123
allow_import_changes: true
delete_parent: true
- yang_name: key/encryption
tf_name: key_encryption
write_only: true
sensitive: true
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think the encryption type (0/5/6/7) does not need to be considered sensitive.

example: 0
- yang_name: automate-tester/username
example: dummy
- yang_name: automate-tester/ignore-acct-port
example: true
- yang_name: automate-tester/ignore-auth-port
example: true
- yang_name: automate-tester/type-of-testing/probe-on-config/probe-on-config
xpath: automate-tester/probe-on-config
tf_name: automate_tester_probe_on_config
example: true
- yang_name: automate-tester/type-of-testing/idle-time-config/idle-time-config
xpath: automate-tester/idle-time-config
tf_name: automate_tester_idle_time
example: 5
exclude_test: true
- yang_name: pac/key/key
tf_name: pac_key
write_only: true
Expand Down
6 changes: 6 additions & 0 deletions gen/definitions/system.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -586,6 +586,12 @@ attributes:
tf_name: standby_redirects_enable_disable
example: disable
exclude_test: true
- yang_name: Cisco-IOS-XE-sanet:authentication/mac-move/permit
example: true
test_tags: [C8000V]
- yang_name: Cisco-IOS-XE-sanet:authentication/mac-move/deny-uncontrolled
example: true
test_tags: [C8000V]

test_prerequisites:
- path: Cisco-IOS-XE-native:native/vrf/definition=VRF1
Expand Down
4 changes: 4 additions & 0 deletions internal/provider/data_source_iosxe_aaa.go

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

2 changes: 2 additions & 0 deletions internal/provider/data_source_iosxe_aaa_test.go

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

13 changes: 13 additions & 0 deletions internal/provider/data_source_iosxe_radius.go

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

3 changes: 3 additions & 0 deletions internal/provider/data_source_iosxe_radius_test.go

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

8 changes: 8 additions & 0 deletions internal/provider/data_source_iosxe_system.go

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

12 changes: 12 additions & 0 deletions internal/provider/data_source_iosxe_system_test.go

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

18 changes: 18 additions & 0 deletions internal/provider/model_iosxe_aaa.go

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

Loading