testing

package
v0.23.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 15, 2021 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Overview

QoS policy rules unit tests

Index

Constants

View Source
const BandwidthLimitRulesCreateRequest = `
{
    "bandwidth_limit_rule": {
        "max_kbps": 2000,
        "max_burst_kbps": 200
    }
}
`

BandwidthLimitRulesCreateRequest represents a raw body of a Create BandwidthLimitRule call.

View Source
const BandwidthLimitRulesCreateResult = `` /* 151-byte string literal not displayed */

BandwidthLimitRulesCreateResult represents a raw result of a Create BandwidthLimitRule call.

View Source
const BandwidthLimitRulesGetResult = `` /* 182-byte string literal not displayed */

BandwidthLimitRulesGetResult represents a raw result of a Get call to a specific BandwidthLimitRule.

View Source
const BandwidthLimitRulesListResult = `` /* 219-byte string literal not displayed */

BandwidthLimitRulesListResult represents a raw result of a List call to BandwidthLimitRules.

View Source
const BandwidthLimitRulesUpdateRequest = `
{
    "bandwidth_limit_rule": {
        "max_kbps": 500,
        "max_burst_kbps": 0
    }
}
`

BandwidthLimitRulesUpdateRequest represents a raw body of a Update BandwidthLimitRule call.

View Source
const BandwidthLimitRulesUpdateResult = `` /* 148-byte string literal not displayed */

BandwidthLimitRulesUpdateResult represents a raw result of a Update BandwidthLimitRule call.

View Source
const DSCPMarkingRuleCreateRequest = `
{
    "dscp_marking_rule": {
        "dscp_mark": 20
    }
}
`

DSCPMarkingRuleCreateRequest represents a raw body of a Create DSCPMarkingRule call.

View Source
const DSCPMarkingRuleCreateResult = `
{
    "dscp_marking_rule": {
        "id": "30a57f4a-336b-4382-8275-d708babd2241",
        "dscp_mark": 20
    }
}
`

DSCPMarkingRuleCreateResult represents a raw result of a Update DSCPMarkingRule call.

View Source
const DSCPMarkingRuleGetResult = `
{
    "dscp_marking_rule": {
        "id": "30a57f4a-336b-4382-8275-d708babd2241",
        "dscp_mark": 26
    }
}
`

DSCPMarkingRuleGetResult represents a raw result of a Get DSCPMarkingRule call.

View Source
const DSCPMarkingRuleUpdateRequest = `
{
    "dscp_marking_rule": {
        "dscp_mark": 26
    }
}
`

DSCPMarkingRuleUpdateRequest represents a raw body of a Update DSCPMarkingRule call.

View Source
const DSCPMarkingRuleUpdateResult = `
{
    "dscp_marking_rule": {
        "id": "30a57f4a-336b-4382-8275-d708babd2241",
        "dscp_mark": 26
    }
}
`

DSCPMarkingRuleUpdateResult represents a raw result of a Update DSCPMarkingRule call.

View Source
const DSCPMarkingRulesListResult = `` /* 145-byte string literal not displayed */

DSCPMarkingRulesListResult represents a raw result of a List call to DSCPMarkingRules.

View Source
const MinimumBandwidthRulesCreateRequest = `
{
    "minimum_bandwidth_rule": {
        "min_kbps": 2000
    }
}
`

MinimumBandwidthRulesCreateRequest represents a raw body of a Create MinimumBandwidthRule call.

View Source
const MinimumBandwidthRulesCreateResult = `
{
    "minimum_bandwidth_rule": {
        "min_kbps": 2000,
        "id": "30a57f4a-336b-4382-8275-d708babd2241"
    }
}
`

MinimumBandwidthRulesCreateResult represents a raw result of a Create MinimumBandwidthRule call.

View Source
const MinimumBandwidthRulesGetResult = `` /* 153-byte string literal not displayed */

MinimumBandwidthRulesGetResult represents a raw result of a Get call to a specific MinimumBandwidthRule.

View Source
const MinimumBandwidthRulesListResult = `` /* 186-byte string literal not displayed */

MinimumBandwidthRulesListResult represents a raw result of a List call to MinimumBandwidthRules.

View Source
const MinimumBandwidthRulesUpdateRequest = `
{
    "minimum_bandwidth_rule": {
        "min_kbps": 500
    }
}
`

MinimumBandwidthRulesUpdateRequest represents a raw body of a Update MinimumBandwidthRule call.

View Source
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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL