Pearl1594 commented on code in PR #8224:
URL: https://github.com/apache/cloudstack/pull/8224#discussion_r1411182947


##########
plugins/network-elements/nsx/src/main/java/org/apache/cloudstack/utils/NsxControllerUtils.java:
##########
@@ -45,6 +45,10 @@ public static String getNsxNatRuleId(long domainId, long 
accountId, long dataCen
         return String.format("D%s-A%s-Z%s-%s%s-NAT", domainId, accountId, 
dataCenterId, resourcePrefix, resourceId);
     }
 
+    public static String getNsxDistributedFirewallPolicyRuleId(String 
segmentName, long ruleId) {
+        return String.format("%s-P%s", segmentName, ruleId);

Review Comment:
   I think we decided to use R to identify rules



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to