Skip to content

Commit

Permalink
Merge pull request #1007 from vmware/fix-docs
Browse files Browse the repository at this point in the history
Clarify documentation on sequence number in rules
  • Loading branch information
annakhm authored Oct 25, 2023
2 parents 7439289 + b4d9171 commit 3cd625e
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions website/docs/r/policy_gateway_policy.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ The following arguments are supported:
* `log_label` - (Optional) Additional information (string) which will be propagated to the rule syslog.
* `tag` - (Optional) A list of scope + tag pairs to associate with this Rule.
* `action` - (Optional) The action for the Rule. Must be one of: `ALLOW`, `DROP` or `REJECT`. Defaults to `ALLOW`.
* `sequence_number` - (Optional) It is recommended not to specify sequence number for rules, and rely on NSX to auto-assign them. If you choose to specify sequence numbers, you must make sure the numbers are consistent with order of the rules in configuration. To avoid confusion, either specify sequence numbers in all rules, or none at all.
* `sequence_number` - (Optional) It is recommended not to specify sequence number for rules, but rather rely on provider to auto-assign them. If you choose to specify sequence numbers, you must make sure the numbers are consistent with order of the rules in configuration. Please note that sequence numbers should start with 1, not 0. To avoid confusion, either specify sequence numbers in all rules, or none at all.

## Attributes Reference

Expand All @@ -169,7 +169,7 @@ In addition to arguments listed above, the following attributes are exported:
* `rule`:
* `revision` - Indicates current revision number of the object as seen by NSX-T API server. This attribute can be useful for debugging.
* `path` - The NSX path of the policy resource.
* `sequence_number` - Sequence number of the this rule, is defined by order of rules in the list.
* `sequence_number` - Sequence number for the rule.
* `rule_id` - Unique positive number that is assigned by the system and is useful for debugging.

## Importing
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ In addition to arguments listed above, the following attributes are exported:
* `rule`:
* `revision` - Indicates current revision number of the object as seen by NSX-T API server. This attribute can be useful for debugging.
* `path` - The NSX policy path for this rule.
* `sequence_number` - Sequence number of the this rule, is defined by order of rules in the list.
* `sequence_number` - Sequence number for this rule, as defined by order of rules in the list.
* `rule_id` - Unique positive number that is assigned by the system and is useful for debugging.

## Importing
Expand Down
4 changes: 2 additions & 2 deletions website/docs/r/policy_security_policy.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ The following arguments are supported:
* `services` - (Optional) Set of service paths to match.
* `log_label` - (Optional) Additional information (string) which will be propagated to the rule syslog.
* `tag` - (Optional) A list of scope + tag pairs to associate with this Rule.
* `sequence_number` - (Optional) It is recommended not to specify sequence number for rules, and rely on NSX to auto-assign them. If you choose to specify sequence numbers, you must make sure the numbers are consistent with order of the rules in configuration. To avoid confusion, either specify sequence numbers in all rules, or none at all.
* `sequence_number` - (Optional) It is recommended not to specify sequence number for rules, and rely on provider to auto-assign them. If you choose to specify sequence numbers, you must make sure the numbers are consistent with order of the rules in configuration. Please note that sequence numbers should start with 1 and not 0. To avoid confusion, either specify sequence numbers in all rules, or none at all.


## Attributes Reference
Expand All @@ -187,7 +187,7 @@ In addition to arguments listed above, the following attributes are exported:
* `rule`:
* `revision` - Indicates current revision number of the object as seen by NSX-T API server. This attribute can be useful for debugging.
* `path` - The NSX path of the policy resource.
* `sequence_number` - Sequence number of the this rule, is defined by order of rules in the list.
* `sequence_number` - Sequence number for the rule.
* `rule_id` - Unique positive number that is assigned by the system and is useful for debugging.

## Importing
Expand Down

0 comments on commit 3cd625e

Please sign in to comment.