diff --git a/nsxt/segment_common.go b/nsxt/segment_common.go index 74c195be5..bef3ed9a2 100644 --- a/nsxt/segment_common.go +++ b/nsxt/segment_common.go @@ -757,6 +757,11 @@ func policySegmentResourceToInfraStruct(id string, d *schema.ResourceData, isVla advConfigStruct.UplinkTeamingPolicyName = &teamingPolicy } + poolPath := advConfigMap["address_pool_path"].(string) + if poolPath != "" { + advConfigStruct.AddressPoolPaths = append(advConfigStruct.AddressPoolPaths, poolPath) + } + if nsxVersionHigherOrEqual("3.1.0") { urpfMode := advConfigMap["urpf_mode"].(string) advConfigStruct.UrpfMode = &urpfMode