- policy-rule-group should contain order
- fixed fields of containment-endpoint-with-location in renderer.yang
Signed-off-by: Martin Sunal <msunal@cisco.com>
policyRuleGroupBuilder.setContractId(ruleGrp.getRelatedContract().getId());
policyRuleGroupBuilder.setSubjectName(ruleGrp.getRelatedSubject());
policyRuleGroupBuilder.setTenantId(ruleGrp.getContractTenant().getId());
+ policyRuleGroupBuilder.setOrder(ruleGrp.getOrder());
policyRuleGroupBuilder
.setResolvedRule(buildResolvedRules(ruleGrp.getRules(), ruleGrp.getContractTenant()));
policyRuleGroups.add(policyRuleGroupBuilder.build());
list containment-endpoint-with-location {
key "context-type context-id";
- uses base-endpoint:address-endpoint-fields;
+ uses base-endpoint:containment-endpoint-fields;
uses base-endpoint:has-relative-location;
}
}
The policy rule group represents the subject with resolved rules.";
key "tenant-id contract-id subject-name";
uses has-subject-key;
+ uses policy:has-order;
uses has-resolved-rules;
}
}