Documentation ¶
Overview ¶
QoS policy rules unit tests
Index ¶
Constants ¶
const BandwidthLimitRulesCreateRequest = `
{
"bandwidth_limit_rule": {
"max_kbps": 2000,
"max_burst_kbps": 200
}
}
`
BandwidthLimitRulesCreateRequest represents a raw body of a Create BandwidthLimitRule call.
const BandwidthLimitRulesCreateResult = `` /* 151-byte string literal not displayed */
BandwidthLimitRulesCreateResult represents a raw result of a Create BandwidthLimitRule call.
const BandwidthLimitRulesGetResult = `` /* 182-byte string literal not displayed */
BandwidthLimitRulesGetResult represents a raw result of a Get call to a specific BandwidthLimitRule.
const BandwidthLimitRulesListResult = `` /* 219-byte string literal not displayed */
BandwidthLimitRulesListResult represents a raw result of a List call to BandwidthLimitRules.
const BandwidthLimitRulesUpdateRequest = `
{
"bandwidth_limit_rule": {
"max_kbps": 500,
"max_burst_kbps": 0
}
}
`
BandwidthLimitRulesUpdateRequest represents a raw body of a Update BandwidthLimitRule call.
const BandwidthLimitRulesUpdateResult = `` /* 148-byte string literal not displayed */
BandwidthLimitRulesUpdateResult represents a raw result of a Update BandwidthLimitRule call.
const DSCPMarkingRuleCreateRequest = `
{
"dscp_marking_rule": {
"dscp_mark": 20
}
}
`
DSCPMarkingRuleCreateRequest represents a raw body of a Create DSCPMarkingRule call.
const DSCPMarkingRuleCreateResult = `
{
"dscp_marking_rule": {
"id": "30a57f4a-336b-4382-8275-d708babd2241",
"dscp_mark": 20
}
}
`
DSCPMarkingRuleCreateResult represents a raw result of a Update DSCPMarkingRule call.
const DSCPMarkingRuleGetResult = `
{
"dscp_marking_rule": {
"id": "30a57f4a-336b-4382-8275-d708babd2241",
"dscp_mark": 26
}
}
`
DSCPMarkingRuleGetResult represents a raw result of a Get DSCPMarkingRule call.
const DSCPMarkingRuleUpdateRequest = `
{
"dscp_marking_rule": {
"dscp_mark": 26
}
}
`
DSCPMarkingRuleUpdateRequest represents a raw body of a Update DSCPMarkingRule call.
const DSCPMarkingRuleUpdateResult = `
{
"dscp_marking_rule": {
"id": "30a57f4a-336b-4382-8275-d708babd2241",
"dscp_mark": 26
}
}
`
DSCPMarkingRuleUpdateResult represents a raw result of a Update DSCPMarkingRule call.
const DSCPMarkingRulesListResult = `` /* 145-byte string literal not displayed */
DSCPMarkingRulesListResult represents a raw result of a List call to DSCPMarkingRules.
const MinimumBandwidthRulesCreateRequest = `
{
"minimum_bandwidth_rule": {
"min_kbps": 2000
}
}
`
MinimumBandwidthRulesCreateRequest represents a raw body of a Create MinimumBandwidthRule call.
const MinimumBandwidthRulesCreateResult = `
{
"minimum_bandwidth_rule": {
"min_kbps": 2000,
"id": "30a57f4a-336b-4382-8275-d708babd2241"
}
}
`
MinimumBandwidthRulesCreateResult represents a raw result of a Create MinimumBandwidthRule call.
const MinimumBandwidthRulesGetResult = `` /* 153-byte string literal not displayed */
MinimumBandwidthRulesGetResult represents a raw result of a Get call to a specific MinimumBandwidthRule.
const MinimumBandwidthRulesListResult = `` /* 186-byte string literal not displayed */
MinimumBandwidthRulesListResult represents a raw result of a List call to MinimumBandwidthRules.
const MinimumBandwidthRulesUpdateRequest = `
{
"minimum_bandwidth_rule": {
"min_kbps": 500
}
}
`
MinimumBandwidthRulesUpdateRequest represents a raw body of a Update MinimumBandwidthRule call.
const MinimumBandwidthRulesUpdateResult = `
{
"minimum_bandwidth_rule": {
"min_kbps": 500,
"id": "30a57f4a-336b-4382-8275-d708babd2241"
}
}
`
MinimumBandwidthRulesUpdateResult represents a raw result of a Update MinimumBandwidthRule call.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
This section is empty.