2024-03-26 12:14:28 +00:00
{
"description" : "BGPPeer is the Schema for the peers API." ,
"properties" : {
"apiVersion" : {
2024-03-26 19:44:01 +00:00
"description" : "APIVersion defines the versioned schema of this representation of an object.\nServers should convert recognized schemas to the latest internal value, and\nmay reject unrecognized values.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources" ,
2024-03-26 12:14:28 +00:00
"type" : "string"
} ,
"kind" : {
2024-03-26 19:44:01 +00:00
"description" : "Kind is a string value representing the REST resource this object represents.\nServers may infer this from the endpoint the client submits requests to.\nCannot be updated.\nIn CamelCase.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds" ,
2024-03-26 12:14:28 +00:00
"type" : "string"
} ,
"metadata" : {
"type" : "object"
} ,
"spec" : {
"description" : "BGPPeerSpec defines the desired state of Peer." ,
"properties" : {
"bfdProfile" : {
"type" : "string"
} ,
"ebgpMultiHop" : {
"description" : "EBGP peer is multi-hops away" ,
"type" : "boolean"
} ,
"holdTime" : {
"description" : "Requested BGP hold time, per RFC4271." ,
"type" : "string"
} ,
"keepaliveTime" : {
"description" : "Requested BGP keepalive time, per RFC4271." ,
"type" : "string"
} ,
"myASN" : {
"description" : "AS number to use for the local end of the session." ,
"format" : "int32" ,
"maximum" : 4294967295 ,
"minimum" : 0 ,
"type" : "integer"
} ,
"nodeSelectors" : {
2024-03-26 19:44:01 +00:00
"description" : "Only connect to this peer on nodes that match one of these\nselectors." ,
2024-03-26 12:14:28 +00:00
"items" : {
"properties" : {
"matchExpressions" : {
"items" : {
"properties" : {
"key" : {
"type" : "string"
} ,
"operator" : {
"type" : "string"
} ,
"values" : {
"items" : {
"type" : "string"
} ,
"minItems" : 1 ,
"type" : "array"
}
} ,
"required" : [
"key" ,
"operator" ,
"values"
] ,
"type" : "object" ,
"additionalProperties" : false
} ,
"type" : "array"
} ,
"matchLabels" : {
"additionalProperties" : {
"type" : "string"
} ,
"type" : "object"
}
} ,
"type" : "object" ,
"additionalProperties" : false
} ,
"type" : "array"
} ,
"password" : {
"description" : "Authentication password for routers enforcing TCP MD5 authenticated sessions" ,
"type" : "string"
} ,
"peerASN" : {
"description" : "AS number to expect from the remote end of the session." ,
"format" : "int32" ,
"maximum" : 4294967295 ,
"minimum" : 0 ,
"type" : "integer"
} ,
"peerAddress" : {
"description" : "Address to dial when establishing the session." ,
"type" : "string"
} ,
"peerPort" : {
"description" : "Port to dial when establishing the session." ,
"maximum" : 16384 ,
"minimum" : 0 ,
"type" : "integer"
} ,
"routerID" : {
"description" : "BGP router ID to advertise to the peer" ,
"type" : "string"
} ,
"sourceAddress" : {
"description" : "Source address to use when establishing the session." ,
"type" : "string"
}
} ,
"required" : [
"myASN" ,
"peerASN" ,
"peerAddress"
] ,
"type" : "object" ,
"additionalProperties" : false
} ,
"status" : {
"description" : "BGPPeerStatus defines the observed state of Peer." ,
"type" : "object"
}
} ,
"type" : "object"
}