Skip to content

Commit

Permalink
adding default values to user_1_name
Browse files Browse the repository at this point in the history
  • Loading branch information
scotttyso committed Aug 15, 2021
1 parent 3e22d70 commit e088dd5
Show file tree
Hide file tree
Showing 6 changed files with 20 additions and 2 deletions.
2 changes: 1 addition & 1 deletion modules/domain_link_aggregation/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ No modules.
| Name | Description | Type | Default | Required |
|------|-------------|------|---------|:--------:|
| <a name="input_description"></a> [description](#input\_description) | Description for the Policy. | `string` | `""` | no |
| <a name="input_lacp_rate"></a> [lacp\_rate](#input\_lacp\_rate) | Flag used to indicate whether LACP PDUs are to be sent 'fast', i.e., every 1 second.<br>* normal - The normal timeout rate is 30 seconds.<br>* fast - The fast timeout rate is 1 second. | `string` | `"normal"` | no |
| <a name="input_lacp_rate"></a> [lacp\_rate](#input\_lacp\_rate) | Flag used to indicate whether LACP PDUs are to be sent 'fast', i.e., every 1 second.<br>* fast - The fast timeout rate is 1 second.<br>* normal - The normal timeout rate is 30 seconds. | `string` | `"normal"` | no |
| <a name="input_name"></a> [name](#input\_name) | Name for the Policy. | `string` | `"link_aggregation"` | no |
| <a name="input_org_moid"></a> [org\_moid](#input\_org\_moid) | Intersight Organization moid. | `string` | n/a | yes |
| <a name="input_suspend_individual"></a> [suspend\_individual](#input\_suspend\_individual) | Flag tells the switch whether to suspend the port if it didn’t receive LACP PDU. | `bool` | `false` | no |
Expand Down
2 changes: 1 addition & 1 deletion modules/domain_switch_control/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ No modules.
| Name | Description | Type | Default | Required |
|------|-------------|------|---------|:--------:|
| <a name="input_description"></a> [description](#input\_description) | Description for the Policy. | `string` | `""` | no |
| <a name="input_mac_aging_option"></a> [mac\_aging\_option](#input\_mac\_aging\_option) | his specifies one of the option to configure the MAC address aging time.<br>* Custom - This option allows the the user to configure the MAC address aging time on the switch. For Switch Model UCS-FI-6454 or higher, the valid range is 120 to 918000 seconds and the switch will set the lower multiple of 5 of the given time.<br>* Default - This option sets the default MAC address aging time to 14500 seconds for End Host mode.<br>* Never - This option disables the MAC address aging process and never allows the MAC address entries to get removed from the table. | `string` | `"Default"` | no |
| <a name="input_mac_aging_option"></a> [mac\_aging\_option](#input\_mac\_aging\_option) | This specifies one of the option to configure the MAC address aging time.<br>* Custom - This option allows the the user to configure the MAC address aging time on the switch. For Switch Model UCS-FI-6454 or higher, the valid range is 120 to 918000 seconds and the switch will set the lower multiple of 5 of the given time.<br>* Default - This option sets the default MAC address aging time to 14500 seconds for End Host mode.<br>* Never - This option disables the MAC address aging process and never allows the MAC address entries to get removed from the table. | `string` | `"Default"` | no |
| <a name="input_mac_aging_time"></a> [mac\_aging\_time](#input\_mac\_aging\_time) | Define the MAC address aging time in seconds. Range is between 120 to 918000, in multiples of 5, when mac\_aging\_option is set to Custom. | `string` | `14500` | no |
| <a name="input_name"></a> [name](#input\_name) | Name for the Policy. | `string` | `"switch_control"` | no |
| <a name="input_org_moid"></a> [org\_moid](#input\_org\_moid) | Intersight Organization moid. | `string` | n/a | yes |
Expand Down
10 changes: 10 additions & 0 deletions modules/policies_snmp/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,16 @@ No modules.
| <a name="input_system_location"></a> [system\_location](#input\_system\_location) | Location of host on which the SNMP agent (server) runs. | `string` | `""` | no |
| <a name="input_tags"></a> [tags](#input\_tags) | List of Tag Attributes to Assign to the Policy. | `list(map(string))` | `[]` | no |
| <a name="input_trap_community"></a> [trap\_community](#input\_trap\_community) | SNMP community group used for sending SNMP trap to other devices. Valid only for SNMPv2c. | `string` | `""` | no |
| <a name="input_user_1_auth_password"></a> [user\_1\_auth\_password](#input\_user\_1\_auth\_password) | Authorization password for the user. | `string` | `""` | no |
| <a name="input_user_1_auth_type"></a> [user\_1\_auth\_type](#input\_user\_1\_auth\_type) | Authorization protocol for authenticating the user. Currently Options are:<br>* MD5<br>* SHA<br>In the future these options will be added.<br>* NA - Authentication protocol is not applicable.<br>* SHA-224 - SHA-224 protocol is used to authenticate SNMP user.<br>* SHA-256 - SHA-256 protocol is used to authenticate SNMP user.<br>* SHA-384 - SHA-384 protocol is used to authenticate SNMP user.<br>* SHA-512 - SHA-512 protocol is used to authenticate SNMP user. | `string` | `"SHA"` | no |
| <a name="input_user_1_name"></a> [user\_1\_name](#input\_user\_1\_name) | Username. Must have a minimum of 1 and and a maximum of 31 characters. | `string` | `""` | no |
| <a name="input_user_1_privacy_password"></a> [user\_1\_privacy\_password](#input\_user\_1\_privacy\_password) | Privacy password for the user. | `string` | `""` | no |
| <a name="input_user_1_security_level"></a> [user\_1\_security\_level](#input\_user\_1\_security\_level) | Security mechanism used for communication between agent and manager.<br>* AuthNoPriv - The user requires an authorization password but not a privacy password.<br>* AuthPriv - The user requires both an authorization password and a privacy password.<br>* NoAuthNoPriv - The user does not require an authorization or privacy password. | `string` | `"AuthPriv"` | no |
| <a name="input_user_2_auth_password"></a> [user\_2\_auth\_password](#input\_user\_2\_auth\_password) | Authorization password for the user. | `string` | `""` | no |
| <a name="input_user_2_auth_type"></a> [user\_2\_auth\_type](#input\_user\_2\_auth\_type) | Authorization protocol for authenticating the user. Currently Options are:<br>* MD5<br>* SHA<br>In the future these options will be added.<br>* NA - Authentication protocol is not applicable.<br>* SHA-224 - SHA-224 protocol is used to authenticate SNMP user.<br>* SHA-256 - SHA-256 protocol is used to authenticate SNMP user.<br>* SHA-384 - SHA-384 protocol is used to authenticate SNMP user.<br>* SHA-512 - SHA-512 protocol is used to authenticate SNMP user. | `string` | `"SHA"` | no |
| <a name="input_user_2_name"></a> [user\_2\_name](#input\_user\_2\_name) | Username. Must have a minimum of 1 and and a maximum of 31 characters. | `string` | `""` | no |
| <a name="input_user_2_privacy_password"></a> [user\_2\_privacy\_password](#input\_user\_2\_privacy\_password) | Privacy password for the user. | `string` | `""` | no |
| <a name="input_user_2_security_level"></a> [user\_2\_security\_level](#input\_user\_2\_security\_level) | Security mechanism used for communication between agent and manager.<br>* AuthNoPriv - The user requires an authorization password but not a privacy password.<br>* AuthPriv - The user requires both an authorization password and a privacy password.<br>* NoAuthNoPriv - The user does not require an authorization or privacy password. | `string` | `"AuthPriv"` | no |
| <a name="input_v2_enabled"></a> [v2\_enabled](#input\_v2\_enabled) | State of the SNMPv2c on the endpoint. If enabled, the endpoint sends SNMPv2c properties to the designated host. | `bool` | `true` | no |
| <a name="input_v3_enabled"></a> [v3\_enabled](#input\_v3\_enabled) | State of the SNMPv3 on the endpoint. If enabled, the endpoint sends SNMPv3 properties to the designated host. | `bool` | `true` | no |

Expand Down
2 changes: 2 additions & 0 deletions modules/policies_snmp/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,7 @@ variable "user_1_auth_type" {
}

variable "user_1_name" {
default = ""
description = "Username. Must have a minimum of 1 and and a maximum of 31 characters."
type = string
}
Expand Down Expand Up @@ -180,6 +181,7 @@ variable "user_2_auth_type" {
}

variable "user_2_name" {
default = ""
description = "Username. Must have a minimum of 1 and and a maximum of 31 characters."
type = string
}
Expand Down
5 changes: 5 additions & 0 deletions modules/policies_snmp_1_user/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,11 @@ No modules.
| <a name="input_user_1_name"></a> [user\_1\_name](#input\_user\_1\_name) | Username. Must have a minimum of 1 and and a maximum of 31 characters. | `string` | n/a | yes |
| <a name="input_user_1_privacy_password"></a> [user\_1\_privacy\_password](#input\_user\_1\_privacy\_password) | Privacy password for the user. | `string` | `""` | no |
| <a name="input_user_1_security_level"></a> [user\_1\_security\_level](#input\_user\_1\_security\_level) | Security mechanism used for communication between agent and manager.<br>* AuthNoPriv - The user requires an authorization password but not a privacy password.<br>* AuthPriv - The user requires both an authorization password and a privacy password.<br>* NoAuthNoPriv - The user does not require an authorization or privacy password. | `string` | `"AuthPriv"` | no |
| <a name="input_user_2_auth_password"></a> [user\_2\_auth\_password](#input\_user\_2\_auth\_password) | Authorization password for the user. | `string` | `""` | no |
| <a name="input_user_2_auth_type"></a> [user\_2\_auth\_type](#input\_user\_2\_auth\_type) | Authorization protocol for authenticating the user. Currently Options are:<br>* MD5<br>* SHA<br>In the future these options will be added.<br>* NA - Authentication protocol is not applicable.<br>* SHA-224 - SHA-224 protocol is used to authenticate SNMP user.<br>* SHA-256 - SHA-256 protocol is used to authenticate SNMP user.<br>* SHA-384 - SHA-384 protocol is used to authenticate SNMP user.<br>* SHA-512 - SHA-512 protocol is used to authenticate SNMP user. | `string` | `"SHA"` | no |
| <a name="input_user_2_name"></a> [user\_2\_name](#input\_user\_2\_name) | Username. Must have a minimum of 1 and and a maximum of 31 characters. | `string` | `""` | no |
| <a name="input_user_2_privacy_password"></a> [user\_2\_privacy\_password](#input\_user\_2\_privacy\_password) | Privacy password for the user. | `string` | `""` | no |
| <a name="input_user_2_security_level"></a> [user\_2\_security\_level](#input\_user\_2\_security\_level) | Security mechanism used for communication between agent and manager.<br>* AuthNoPriv - The user requires an authorization password but not a privacy password.<br>* AuthPriv - The user requires both an authorization password and a privacy password.<br>* NoAuthNoPriv - The user does not require an authorization or privacy password. | `string` | `"AuthPriv"` | no |
| <a name="input_v2_enabled"></a> [v2\_enabled](#input\_v2\_enabled) | State of the SNMPv2c on the endpoint. If enabled, the endpoint sends SNMPv2c properties to the designated host. | `bool` | `true` | no |
| <a name="input_v3_enabled"></a> [v3\_enabled](#input\_v3\_enabled) | State of the SNMPv3 on the endpoint. If enabled, the endpoint sends SNMPv3 properties to the designated host. | `bool` | `true` | no |

Expand Down
1 change: 1 addition & 0 deletions modules/policies_snmp_1_user/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,7 @@ variable "user_2_auth_type" {
}

variable "user_2_name" {
default = ""
description = "Username. Must have a minimum of 1 and and a maximum of 31 characters."
type = string
}
Expand Down

0 comments on commit e088dd5

Please sign in to comment.