/
const.go
40 lines (35 loc) · 979 Bytes
/
const.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
package aggregate
// Valid values for Origin.
const (
OriginIgp = "igp"
OriginEgp = "egp"
OriginIncomplete = "incomplete"
)
// Valid values for CommunityType.
const (
CommunityTypeNone = "none"
CommunityTypeRemoveAll = "remove-all"
CommunityTypeRemoveRegex = "remove-regex"
CommunityTypeAppend = "append"
CommunityTypeOverwrite = "overwrite"
)
// Valid values for CommunityValue when CommunityType is "append" or
// "overwrite".
const (
AppendNoExport = "no-export"
AppendNoAdvertise = "no-advertise"
AppendLocalAs = "local-as"
AppendNoPeer = "nopeer"
)
// Valid values for AsPathType. As of PAN-OS 8.1, "prepend" and
// "remove-and-prepend" are disabled.
const (
AsPathTypeNone = "none"
AsPathTypeRemove = "remove"
AsPathTypePrepend = "prepend"
AsPathTypeRemoveAndPrepend = "remove-and-prepend"
)
const (
singular = "bgp aggregation policy"
plural = "bgp aggregation policies"
)