Skip to content

Commit 979b888

Browse files
committed
feat: add IP SSH bulk-mode support to system resource
- Add ip_ssh_bulk_mode boolean attribute to enable SSH bulk-mode - Add ip_ssh_bulk_mode_window_size attribute (range: 131072-1073741824 bytes) - Update CHANGELOG.md with new attributes - Generate provider code, tests, examples, and documentation YANG Model Reference: - Path: /native/ip/ssh/bulk-mode - File: Cisco-IOS-XE-ip.yang (lines 4598-4610) - Type: Presence container with optional window-size leaf CLI Commands Enabled: - ip ssh bulk-mode - ip ssh bulk-mode window-size <value>
1 parent 7a257c6 commit 979b888

File tree

12 files changed

+100
-0
lines changed

12 files changed

+100
-0
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
- Add `ip_domain_lookup_nsap`, `ip_domain_lookup_recursive`, and `ip_domain_lookup_vrfs*` attributes to `iosxe_system` resource and data source
55
- Add `iosxe_evpn_ethernet_segment` resource and data source for managing L2VPN EVPN Ethernet Segment configuration
66
- Add `evpn_ethernet_segments` attribute to `iosxe_interface_ethernet` and `iosxe_interface_port_channel` resources and data sources
7+
- Add `ip_ssh_bulk_mode` and `ip_ssh_bulk_mode_window_size` attributes to `iosxe_system` resource and data source
78

89
## 0.9.3
910

docs/data-sources/system.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,8 @@ data "iosxe_system" "example" {
107107
- `ip_scp_server_enable` (Boolean) Enable server side of SCP
108108
- `ip_source_route` (Boolean) Process packets with source routing header options
109109
- `ip_ssh_authentication_retries` (Number) Specify number of authentication retries
110+
- `ip_ssh_bulk_mode` (Boolean) Enable optimizations for bulk data transfer procedures
111+
- `ip_ssh_bulk_mode_window_size` (Number) Window-size value
110112
- `ip_ssh_source_interface_five_gigabit_ethernet` (String) Five GigabitEthernet
111113
- `ip_ssh_source_interface_forty_gigabit_ethernet` (String) Forty GigabitEthernet
112114
- `ip_ssh_source_interface_gigabit_ethernet` (String) GigabitEthernet IEEE 802.3z

docs/guides/changelog.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ description: |-
1313
- Add `ip_domain_lookup_nsap`, `ip_domain_lookup_recursive`, and `ip_domain_lookup_vrfs*` attributes to `iosxe_system` resource and data source
1414
- Add `iosxe_evpn_ethernet_segment` resource and data source for managing L2VPN EVPN Ethernet Segment configuration
1515
- Add `evpn_ethernet_segments` attribute to `iosxe_interface_ethernet` and `iosxe_interface_port_channel` resources and data sources
16+
- Add `ip_ssh_bulk_mode` and `ip_ssh_bulk_mode_window_size` attributes to `iosxe_system` resource and data source
1617

1718
## 0.9.3
1819

docs/resources/system.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,8 @@ resource "iosxe_system" "example" {
4949
memory_free_low_watermark_processor = 203038
5050
ip_ssh_time_out = 120
5151
ip_ssh_authentication_retries = 3
52+
ip_ssh_bulk_mode = true
53+
ip_ssh_bulk_mode_window_size = 262144
5254
call_home_contact_email = "email@test.com"
5355
call_home_cisco_tac_1_profile_active = true
5456
call_home_cisco_tac_1_destination_transport_method = "email"
@@ -163,6 +165,9 @@ resource "iosxe_system" "example" {
163165
- `ip_source_route` (Boolean) Process packets with source routing header options
164166
- `ip_ssh_authentication_retries` (Number) Specify number of authentication retries
165167
- Range: `0`-`5`
168+
- `ip_ssh_bulk_mode` (Boolean) Enable optimizations for bulk data transfer procedures
169+
- `ip_ssh_bulk_mode_window_size` (Number) Window-size value
170+
- Range: `131072`-`1073741824`
166171
- `ip_ssh_source_interface_five_gigabit_ethernet` (String) Five GigabitEthernet
167172
- `ip_ssh_source_interface_forty_gigabit_ethernet` (String) Forty GigabitEthernet
168173
- `ip_ssh_source_interface_gigabit_ethernet` (String) GigabitEthernet IEEE 802.3z

examples/resources/iosxe_system/resource.tf

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,8 @@ resource "iosxe_system" "example" {
3434
memory_free_low_watermark_processor = 203038
3535
ip_ssh_time_out = 120
3636
ip_ssh_authentication_retries = 3
37+
ip_ssh_bulk_mode = true
38+
ip_ssh_bulk_mode_window_size = 262144
3739
call_home_contact_email = "email@test.com"
3840
call_home_cisco_tac_1_profile_active = true
3941
call_home_cisco_tac_1_destination_transport_method = "email"

gen/definitions/system.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -343,6 +343,10 @@ attributes:
343343
tf_name: ip_ssh_source_interface_hundred_gigabit_ethernet
344344
example: 1
345345
exclude_test: true
346+
- yang_name: ip/ssh/bulk-mode
347+
example: true
348+
- yang_name: ip/ssh/bulk-mode/window-size
349+
example: 262144
346350
- yang_name: control-plane/Cisco-IOS-XE-policy:service-policy/input
347351
example: system-cpp-policy
348352
exclude_test: true

internal/provider/data_source_iosxe_system.go

Lines changed: 8 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

internal/provider/data_source_iosxe_system_test.go

Lines changed: 4 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

internal/provider/model_iosxe_system.go

Lines changed: 57 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

internal/provider/resource_iosxe_system.go

Lines changed: 11 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)