-
Notifications
You must be signed in to change notification settings - Fork 4
/
Constants.kt
37 lines (30 loc) · 921 Bytes
/
Constants.kt
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
/*
* Copyright (c) 2018 Juniper Networks, Inc. All rights reserved.
*/
@file:JvmName("Constants")
package net.juniper.contrail.vro.config.constants
val Contrail = "Contrail"
val basePackageName = "net.juniper.contrail"
val apiPackageName = "$basePackageName.api"
val apiTypesPackageName = "$basePackageName.api.types"
val VC = "VC"
val VirtualMachine = "VirtualMachine"
val Configuration = "Configuration"
val Connection = "Connection"
val parent = "parent"
val child = "child"
val item = "item"
val name = "name"
val id = "id"
val ingress = "ingress"
val egress = "egress"
val subnet = "subnet"
val maxOtherInterfacesSupported = 8
val supportedOtherInterfaces = (0 until maxOtherInterfacesSupported).map { "other$it" }
val supportedInterfaceNames = listOf(
"left",
"right",
"management"
) + supportedOtherInterfaces
val maxInterfacesSupported = supportedInterfaceNames.size
val VxLANMaxID = 16777215