/
model_find_bgp_config_by_project_200_response.go
52 lines (36 loc) · 2.05 KB
/
model_find_bgp_config_by_project_200_response.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
41
42
43
44
45
46
47
48
49
50
51
52
/*
* Metal API
*
* This is the API for Equinix Metal. The API allows you to programmatically interact with all of your Equinix Metal resources, including devices, networks, addresses, organizations, projects, and your user account. The official API docs are hosted at <https://metal.equinix.com/developers/api>.
*
* API version: 1.0.0
* Contact: support@equinixmetal.com
* Generated by: OpenAPI Generator (https://openapi-generator.tech)
*/
package startapi
import (
"time"
)
type FindBgpConfigByProject200Response struct {
// Autonomous System Number. ASN is required with Global BGP. With Local BGP the private ASN, 65000, is assigned.
Asn int32 `json:"asn,omitempty"`
CreatedAt time.Time `json:"created_at,omitempty"`
// In a Local BGP deployment, a customer uses an internal ASN to control routes within a single Equinix Metal datacenter. This means that the routes are never advertised to the global Internet. Global BGP, on the other hand, requires a customer to have a registered ASN and IP space.
DeploymentType string `json:"deployment_type,omitempty"`
Href string `json:"href,omitempty"`
Id string `json:"id,omitempty"`
// The maximum number of route filters allowed per server
MaxPrefix int32 `json:"max_prefix,omitempty"`
// (Optional) Password for BGP session in plaintext (not a checksum)
Md5 *string `json:"md5,omitempty"`
Project FindBatchById200ResponseDevicesInner `json:"project,omitempty"`
// The IP block ranges associated to the ASN (Populated in Global BGP only)
Ranges []FindBgpConfigByProject200ResponseRangesInner `json:"ranges,omitempty"`
RequestedAt time.Time `json:"requested_at,omitempty"`
// Specifies AS-MACRO (aka AS-SET) to use when building client route filters
RouteObject string `json:"route_object,omitempty"`
// The direct connections between neighboring routers that want to exchange routing information.
Sessions []FindBgpSessionById200Response `json:"sessions,omitempty"`
// Status of the BGP Config. Status \"requested\" is valid only with the \"global\" deployment_type.
Status string `json:"status,omitempty"`
}