-
-
Notifications
You must be signed in to change notification settings - Fork 21
/
constants.go
35 lines (27 loc) · 812 Bytes
/
constants.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
package junos
const (
idSeparator = "_-_"
defaultW = "default"
setW = "set"
setLS = setW + " " // set line start
deleteW = "delete"
deleteLS = deleteW + " " // delete line start
cmdShowConfig = "show configuration "
pipeDisplaySet = " | display set"
pipeDisplaySetRelative = pipeDisplaySet + " relative"
routingInstancesWS = "routing-instances " // routing-instances word + space
setRoutingInstances = setLS + routingInstancesWS
delRoutingInstances = deleteLS + routingInstancesWS
emptyW = "empty"
permitW = "permit"
discardW = "discard"
disableW = "disable"
st0Word = "st0"
evpnW = "evpn"
inetW = "inet"
inet6W = "inet6"
mplsW = "mpls"
ospfV2 = "ospf"
ospfV3 = "ospf3"
failedConvAtoiError = "failed to convert value from '%s' to integer: %w"
)