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
## Sample code to set Class of Service (CoS) and Differentiated Service Code Point (DSCP) TrafficRules to TrafficFilterConfig TrafficRuleSet on vDPGs on a VDSwitch
12
2
13
3
Need:
14
4
-Remove-VNVDTrafficRule-Rule -RunAsync
@@ -18,42 +8,42 @@ Need:
18
8
- set confirmation level to High
19
9
- enables the overwriting of the rules in the ruleset with jsut the new Rule(s) specified
20
10
-Get-VNVDTrafficRuleAction
21
-
-New-VNVDTrafficRule
22
-
- may need to add logic to ensure it meets requirement stated in API ref of,"There can be a maximum of 1 DvsIpNetworkRuleQualifier, 1 DvsMacNetworkRuleQualifier and 1 DvsSystemTrafficNetworkRuleQualifier for a total of 3 qualifiers"
-Set-VNVDTrafficRule-- to update a rule, maybe? (like change qualifier/action?)
15
+
-New-VNVDTrafficRule
16
+
- may need to add logic to ensure it meets requirement stated in API ref of,"There can be a maximum of 1 DvsIpNetworkRuleQualifier, 1 DvsMacNetworkRuleQualifier and 1 DvsSystemTrafficNetworkRuleQualifier for a total of 3 qualifiers"
28
17
29
18
Done (to at least some extent -- some may have further features to implement):
30
19
-Get-VNVDTrafficFilterPolicyConfig
31
20
-Get-VNVDTrafficRuleSet (returns VNVDTrafficRuleSet object with VDPG property, too)
- Ruleset object returned Get-VNVDTrafficRuleSetfrom should have property of "parent vDPG", to be used for vDPG reconfig task (need to add vDPG property to returnfromGet-VNVDTrafficFilterPolicyConfig,Get-VNVDTrafficRuleSet, and Get-VNVDTrafficRule)
26
+
- Ruleset object returned fromGet-VNVDTrafficRuleSet should have property of "parent vDPG", to be used for vDPG reconfig task (need to add vDPG property to returnfromGet-VNVDTrafficFilterPolicyConfig,Get-VNVDTrafficRuleSet, and Get-VNVDTrafficRule)
# --> VDTrafficFilterPolicyConfig.VDTrafficRule: Key, Description, Sequence, Qualifier, Action, Direction
143
-
# --> VDTrafficFilterPolicyConfig.VDTrafficRule.VDTrafficRuleQualifier: VMware.Vim.DvsSystemTrafficNetworkRuleQualifier or VMware.Vim.DvsIpNetworkRuleQualifier or one other
# --> VDTrafficFilterPolicyConfig.VDTrafficRule: Key, Description, Sequence, Qualifier, Action, Direction
89
+
# --> VDTrafficFilterPolicyConfig.VDTrafficRule.VDTrafficRuleQualifier: VMware.Vim.DvsSystemTrafficNetworkRuleQualifier or VMware.Vim.DvsIpNetworkRuleQualifier or one other
0 commit comments