query site ( $cloudInterconnectPhysicalConnectionInput:CloudInterconnectPhysicalConnectionInput! $cloudInterconnectPhysicalConnectionIdInput:CloudInterconnectPhysicalConnectionIdInput! $cloudInterconnectConnectionConnectivityInput:CloudInterconnectConnectionConnectivityInput! $bgpPeerRefInput:BgpPeerRefInput! $bgpPeerListInput:BgpPeerListInput! $siteBgpStatusInput:SiteBgpStatusInput! $availableVersionListInput:AvailableVersionListInput! ) {
	site ( ) {
		cloudInterconnectPhysicalConnection ( input:$cloudInterconnectPhysicalConnectionInput  )  {
			id
			site {
				id
				name
			}
			haRole
			popLocation {
				id
				name
			}
			serviceProviderName
			encapsulationMethod
			subnet
			privateCatoIp
			privateSiteIp
			upstreamBwLimit
			downstreamBwLimit
			vlan
			sVlan
			cVlan
		}

		cloudInterconnectPhysicalConnectionId ( input:$cloudInterconnectPhysicalConnectionIdInput  )  {
			id
		}

		cloudInterconnectConnectionConnectivity ( input:$cloudInterconnectConnectionConnectivityInput  )  {
			success
		}

		bgpPeer ( input:$bgpPeerRefInput  )  {
			site {
				id
				name
			}
			id
			name
			peerAsn
			catoAsn
			peerIp
			catoIp
			advertiseDefaultRoute
			advertiseAllRoutes
			advertiseSummaryRoutes
			summaryRoute {
				id
				route
				bgpCommunityCommunity: community {
					from
					to
				}

			}
			defaultAction
			defaultActionExclusion {
				bgpRouteExactFilterRuleBgpRouteExactFilterRule: bgpRouteExactFilterRule {
					id
					globalIpRange {
						id
						name
					}
					networkSubnet
				}

				bgpRouteExactAndInclusiveFilterRuleBgpRouteExactAndInclusiveFilterRule: bgpRouteExactAndInclusiveFilterRule {
					id
					globalIpRange {
						id
						name
					}
					globalIpRangeException {
						id
						name
					}
					networkSubnet
					networkSubnetException
					le
					ge
				}

				bgpCommunityFilterRuleCommunityFilterRule: communityFilterRule {
					id
					predicate
					community {
						from
						to
					}
				}

			}
			performNat
			md5AuthKey
			metric
			holdTime
			keepaliveInterval
			bfdEnabled
			bfdSettings {
				transmitInterval
				receiveInterval
				multiplier
			}
			tracking {
				id
				enabled
				alertFrequency
				subscriptionId
			}
		}

		bgpPeerList ( input:$bgpPeerListInput  )  {
			bgpPeer {
				siteRefSite: site {
					id
					name
				}

				id
				name
				peerAsn
				catoAsn
				peerIp
				catoIp
				advertiseDefaultRoute
				advertiseAllRoutes
				advertiseSummaryRoutes
				bgpSummaryRouteSummaryRoute: summaryRoute {
					id
					route
					bgpCommunityCommunity: community {
						from
						to
					}
				}

				bgpDefaultActionDefaultAction: defaultAction
				bgpFilterRuleDefaultActionExclusion: defaultActionExclusion {
					bgpRouteExactFilterRuleBgpRouteExactFilterRule: bgpRouteExactFilterRule {
						id
						globalIpRange {
							id
							name
						}

						networkSubnet
					}
					bgpRouteExactAndInclusiveFilterRuleBgpRouteExactAndInclusiveFilterRule: bgpRouteExactAndInclusiveFilterRule {
						id
						globalIpRange {
							id
							name
						}

						globalIpRangeException {
							id
							name
						}

						networkSubnet
						networkSubnetException
						le
						ge
					}
					bgpCommunityFilterRuleCommunityFilterRule: communityFilterRule {
						id
						predicate
						community {
							from
							to
						}

					}
				}

				performNat
				md5AuthKey
				metric
				holdTime
				keepaliveInterval
				bfdEnabled
				bfdSettingsBfdSettings: bfdSettings {
					transmitInterval
					receiveInterval
					multiplier
				}

				bgpTrackingTracking: tracking {
					id
					enabled
					alertFrequency
					subscriptionId
				}

			}
			total
		}

		siteBgpStatus ( input:$siteBgpStatusInput  )  {
			status {
				remoteIp
				bgpSession
				bfdSession
				routesFromPeer
				routesToPeer
				bgpRejectedRoutesFromPeerRejectedRoutesFromPeer: rejectedRoutesFromPeer {
					subnet
					type
					bgpCommunityCommunity: community {
						from
						to
					}
					rule
					lastPublishAttempt
				}

			}
			rawStatus
		}

		availableVersionList ( input:$availableVersionListInput  )  {
			items {
				platform
				versions
			}
		}

	}	
}