You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
But when i use the resource nsxt_policy_nat_rule it is not possible to create nat rule under INTERNAL categorie/section. All rules are created under USER section
According to the documention and my first case #1301, In the terraform provider the rule_priority attribute control where the NAT rule will be put (INTERNAL, USER and DEFAULT section), but all NAT rule create with rule rule_priority = 0are put to USER section ....
The rule is created under USER section with sequence_number: 0, not under INTERNAL section
The are nothing under INTERNAL section
For test, I was created a NAT rule under DEFAULT section, i was set the max value of rule_priority rule_priority = 2147483647, i have a error because terraform put the NAT under USER section and the max value of rule_priority in USER section is 2147482623
Expected behavior
I would like, when a use rule_priority the NAT are put under section in the correct section according to the value in the documention of NSX API :
The valid range of
rule_priority number is from 0 to 2147483647(MAX_INT).
INTERNAL section
rule_priority reserved from 0 - 1023 (1024 rules)
valid sequence_number range 0 - 1023
USER section
rule_priority reserved from 1024 - 2147482623 (2147481600 rules)
valid sequence_number range 0 - 2147481599
DEFAULT section
rule_priority reserved from 2147482624 - 2147483647 (1024 rules)
valid sequence_number range 0 - 1023
Describe the bug
With the API of NSX it can be possible to create NAT under 3 differents categories/sections (INTERNAL, USER and DEFAULT).
https://dp-downloads.broadcom.com/api-content/apis/API_NTDCRA_001/3.2.1/html/api_includes/method_PatchPolicyNatRule.html
But when i use the resource nsxt_policy_nat_rule it is not possible to create nat rule under INTERNAL categorie/section. All rules are created under USER section
According to the documention and my first case #1301, In the terraform provider the
rule_priority
attribute control where the NAT rule will be put (INTERNAL, USER and DEFAULT section), but all NAT rule create with rulerule_priority = 0
are put to USER section ....Reproduction steps
rule_priority = 0
The rule is created under USER section with
sequence_number: 0
, not under INTERNAL sectionThe are nothing under INTERNAL section
For test, I was created a NAT rule under DEFAULT section, i was set the max value of rule_priority
rule_priority = 2147483647
, i have a error because terraform put the NAT under USER section and the max value of rule_priority in USER section is2147482623
Expected behavior
I would like, when a use
rule_priority
the NAT are put under section in the correct section according to the value in the documention of NSX API :Additional context
No response
The text was updated successfully, but these errors were encountered: