Tipos de notificação
Cada notificação enviada pelo Messaging Gateway tem um formato comum, dependendo do tipo de notificação. A estrutura da mensagem de notificação também é descrita na documentação da AsyncAPI.
Todas as mensagens enviadas pela Equinix têm os seguintes componentes:
{
"Task": {
"Header attribute 1": "",
"Header attribute 2": "",
"Header attribute 3": "",
...
"Body": {
"Body attribute 1": "",
"Body attribute 2": "",
"Body attribute 3": "",
...
}
},
"Signature": "Base 64 encrypted signature"
}
Esses atributos de cabeçalho são aplicáveis a todos os tipos de pedido .
ID-String(Guid)- The unique identifier of the message. Equinix will send a unique value for each message.Source-String(Guid)- A unique value to identify the message sender. This value will be shared with the customer during the onboarding process.Verb-String- Update. This indicates there is an update from Equinix.Resource-String- Equinix Product Name for which the notification is being sent.ContentType-String- "application/json"CreateTimeUTC-String- Indicates the date and time at which the notification is sent by Equinix.Version-String- The version of the notification schema.
Os atributos do corpo variam para cada tipo de notificação.
Notificações de cobrança
As notificações de faturamento são notificações quase em tempo real, acionadas quando o pedido do cliente é finalizado e A cobrança é iniciada pela Equinix. Essas notificações serão enviadas para todos os pedidos submetidos pelos clientes. por meio de canais offline e online.
Os revendedores também receberão notificações de cobrança quando a cobrança começar para pedidos feitos pelos clientes.
Notificação de amostra:
{
"Task": {
"Id": "la83ef18-5e36-4a2d-9d80-490ee217d004",
"Source": "3e095d30-40ff-11e9-8959-5be078353003",
"Verb": "Update",
"Resource": "CrossConnnect",
"ContentType": "application/json",
"CreationTimeUTC": "2021-06-16T19:57:21.326Z",
"Version": "1.0",
"Body": {
"RequestorId": "",
"ServicerId": "1-205346710865",
"State": "Closed",
"Description": "Order Number:1-205346710865 billing notification",
"LineDetails": [
{
"Id": "1-3N5W5LYZ",
"Ibx": "DC1",
"Status": "Billed",
"BilledLines": [
"1-2N5W4JAS",
"1-2N5W4K87",
"1-2N5W3M21",
"1-2N5235N2"
]
}
]
}
},
"Signature": "RWNobwp7CiAgIklkIjogIjM1MGFlZjcwLTc4MWItMTFlOSogIH0KfQ=="
}
As notificações de cobrança têm os seguintes atributos de corpo:
Body-Object- An object containing the details of the notification. The attributes within the object will vary based on the resource and verb.RequestorId-String- Customer reference number for the maintenance (if any).ServicerId-String- Indicates the unique id supplied by Equinix for the submitted order.State-String- Indicates the current state of Order. Supported Value - 'Closed'.Description-Object- Summary of the ticket from Billing System.LineDetails-Array- An array of object containing the details of the Billed Line Items and data center:Id- Unique Billing Line ID.Ibx- Name of the DataCenter/IBX.Status- Supported value "Billed".BilledLines-Array[String]List of Billed Line Items
Notificações de Fabric
O Messaging Gateway oferece suporte a notificações do Fabric para os fluxos de trabalho abaixo:
- Porta de Equinix Fabric para cima/baixo
- Conexão virtual do Equinix Fabric ativa/desativada
Notificação de amostra:
{
"Task": {
"Id": "bf9f2707-d612-4d63-9958-4c8b1fcf3cc0",
"Source": "3e095d30-40ff-11e9-8959-5be078353003",
"Verb": "Update",
"Resource": "DataCenter.Network.Port",
"ContentType": "application/json",
"Version": "1.0",
"Body": {
"timestamp":"2020-05-21T10:20:00Z",
"type":"PORT_OPSTATUS_NOTIFICATION",
"uuid":"11c954fb-8e8b-4515-97d7-cc80129a0985",
"description":"Port is not operational. Connections on this port might be affected.",
"data":{
"type":"XF_PORT",
"uuid":"a867f685-41b0-1b07-6de0-320a5c00abdd",
"name":"L2-DEV-USER01-DC5-CX-10G-SECONDARY-NOKIA-02",
"href":"https://api.equinix.com/fabric/v4/ports/a867f685-41b0-1b07-6de0-320a5c00abdd",
"operation":{
"operationalStatus":"DOWN",
"opStatusChangedAt":"2020-05-21T10:20:00Z",
"maintenanceMode":false
},
"embedded":{
"connections":{
"href":[
"https://api.equinix.com/fabric/v4/connections/8822de74-805f-4f63-b52d-93bcbf2a1d1b",
"https://api.equinix.com/fabric/v4/connections/8f20bea9-a5b9-47e5-88e6-a899584ebb90"
]
}
}
}
}
},
"Signature": "RWNobwp7CiAgIklkIjogIjM1MGFlZjcwLTc4MWItMTFlOSogIH0KfQ=="
}
As notificações de Fabric têm os seguintes atributos de corpo:
Body-Object- An object containing the details of the notification. The attributes within the object will vary based on the resource and verb.type-String- Indicates type of notification.PORT_OPSTATUS_NOTIFICATIONindicates Fabric Port is currently under maintenance.CONNECTION_OPSTATUS_NOTIFICATIONindicated Fabric Virtual Connection is currently under maintenance.uuid-String- Indicates the unique id supplied by Equinix for the maintenance.description-String- Summary of the ticket from an Equinix Technician.data-Object- An object containing the details of the customer port.type-String- Indicates port type.XF_PORTindicates Equinix Fabric Port.EVPL_VCindicates Equinix Fabric Virtual Connection.uuid-String- Indicates the unique id of the customer port.name-String- Indicates name of the customer port.href-String- Link to get more details of the customer port.operation-Object- An object containing the details related to the status of the customer port.operationalStatus-String- Indicates the current status of the customer port.opStatusChangedAt-String- Indicates the date and time at which the status of the customer port last monitored.maintenanceMode-Boolean- Indicates if its a planned or unplanned maintenance.
embedded-Object- An object containing the details of the virtual connections active on this customer port.connections-Object- An object containing the list of the virtual connections active on this customer port.href-Array[String]- An array containing the list of the virtual connections active on this customer port.
Notificações IBX
As notificações do IBX são notificações quase em tempo real para qualquer evento planejado ou não planejado no data center Equinix IBX. manutenção. Essas notificações também são acionadas para quaisquer incidentes no data center Equinix IBX e consultivo.
O Messaging Gateway suporta as seguintes variantes de notificações IBX:
- Notificações de manutenção do IBX
- Notificações de incidentes do IBX
- Notificações de consultoria do IBX
- Notificações de incidentes de segurança IBX
Notificação de amostra:
{
"Task": {
"Id": "370da978-b9bd-4030-b012-9dc97e2fdf98",
"Source": "3e095d30-40ff-11e9-8959-5be078353003",
"Verb": "Update",
"Resource": "DataCenter.Maintenance",
"ContentType": "application/json",
"CreationTimeUTC": "2021-06-09T07:42:45.396Z",
"Version": "1.0",
"Body": {
"RequestorId": "97ae4427-70cb-4162-bf52-c3c7f9d7b2d8",
"ServicerId": "5-204454471282",
"State": "CONFIRMED",
"Description": "Equinix Test Maintenance",
"Sequence": "2",
"StartDateTime": "2021-03-29T17:33:00",
"EndDateTime": "2021-03-31T18:00:00",
"AccountNumber": "123456",
"Impact": "NON_SERVICE_IMPACTING",
"ProdID": "DataCenter Notification https://developer.equinix.com",
"Organizer": "Global Service Desk:mailto:cs@equinix.com",
"Assets": []
}
},
"Signature": "RWNobwp7CiAgIklkIjogIjM1MGFlZjcwLTc4MWItMTFlOSogIH0KfQ==
"
}
As notificações IBX têm os seguintes atributos de corpo:
Body-Object- An object containing the details of the notification. The attributes within the object will vary based on the resource and verb.RequestorId-String- Customer reference number for the maintenance (if any).ServicerId-String- Indicates the unique id supplied by Equinix for the datacenter maintenance/incident.State-String- Current State of the ticket Supported Values:CONFIRMED- DataCenter Maintenance/Incident is Confirmed.IN-PROCESS- DataCenter Maintenance/Incident currently in progress.COMPLETED- DataCenter Maintenance/Incident is Completed.CANCELLED- DataCenter Maintenance/Incident has been Cancelled.
Description-Object- Summary of the ticket from an Equinix Technician.Sequence-Number- Incrementing number for the related notifications. The number starts from 0.StartDateTime-String- Indicates the Start Date and Time of maintenance.EndDateTime-String- Indicates the End Date and Time of maintenance. This value will always be populated for Resource of Type"DataCenter. Maintenance" This value will only be populated for State asCOMPLETEDfor the Resource Types -DataCenter.Incident,DataCenter.SecurityIncidentandDataCenter.Advisory.AccountNumber-String- Indicates the Customer's Account Number related to the maintenance activity.Impact-String- Indicates the level/severity of impact to the customer due to the maintenance activity or incident. Supported Values:SERVICE_IMPACTING- indicates the activity or incident that affects your services.NON_SERVICE_IMPACTING- indicates the activity or incident that does not disrupt your services, like when backup servers keep things running despite repairs.
ProdID-String- Indicates the link to refer the more information on the maintenance activity.Organizer-String- Indicates the name of maintenance organizer with Email Id. Global Service Desk: cs@equinix.com.Assets-Object- This value will be populated for Resource of Types "DataCenter.Maintenance" and "DataCenter.Incident". An object containing the details of the impacted customer assets with the attributes:IBXCageCabinetSerial NumberCircuit Type
Notificações de rede
As notificações de rede são notificações quase em tempo real para qualquer produto Equinix planejado ou não planejado. Manutenção da rede de serviços. Essas notificações também são acionadas para qualquer produto ou serviço da Equinix. Incidentes de rede.
O Messaging Gateway oferece suporte às variantes de Notificações de Rede abaixo
- Notificações de manutenção de rede
- Notificações de incidentes de rede
Notificação de amostra:
{
"Task": {
"Id": "370da978-b9bd-4030-b012-9dc97e2fdf98",
"Source": "3e095d30-40ff-11e9-8959-5be078353003",
"Verb": "Update",
"Resource": "Network.Maintenance",
"ContentType": "application/json",
"CreationTimeUTC": "2021-06-09T07:42:45.396Z",
"Version": "1.0",
"Body": {
"RequestorId": "97ae4427-70cb-4162-bf52-c3c7f9d7b2d8",
"ServicerId": "5-204454471282",
"State": "CONFIRMED",
"Description": "Equinix Test Maintenance",
"Sequence": "2",
"StartDateTime": "2021-03-29T17:33:00",
"EndDateTime": "2021-03-31T18:00:00",
"AccountNumber": "123456",
"Impact": "NON_SERVICE_IMPACTING",
"ProdID": "Network Notification https://developer.equinix.com",
"Organizer": "Global Service Desk:mailto:cs@equinix.com",
"Assets": []
}
},
"Signature": "RWNobwp7CiAgIklkIjogIjM1MGFlZjcwLTc4MWItMTFlOSogIH0KfQ=="
}
As notificações de rede têm os seguintes atributos de corpo:
-
Body-Object- An object containing the details of the notification. The attributes within the object will vary based on the resource and verb.RequestorId-String- Customer reference number for the maintenance (if any).ServicerId-String- Indicates the unique id supplied by Equinix for the Network maintenance/incident.State-String- Current State of the ticket Supported Values:CONFIRMED- DataCenter Maintenance/Incident is Confirmed.IN-PROCESS- DataCenter Maintenance/Incident currently in progress.COMPLETED- DataCenter Maintenance/Incident is Completed.CANCELLED- DataCenter Maintenance/Incident has been Cancelled.
Description-Object- Summary of the ticket from an Equinix Technician.Sequence-Number- Incrementing number for the related notifications. The number starts from 0.StartDateTime-String- Indicates the Start Date and Time of maintenance.EndDateTime-String- Indicates the End Date and Time of maintenance. This value will always be populated for Resource of Type "Network.Maintenance" This value will only be populated for State asCOMPLETEDfor Resource of TypeNetwork.Incident.AccountNumber-String- Indicates the Customer's Account Number related to the maintenance activity.Impact-String- Indicates the level/severity of impact to the customer due to the maintenance activity or incident. Supported Values:SERVICE_IMPACTING- indicates the activity or incident that affects your services.NON_SERVICE_IMPACTING- indicates the activity or incident that does not disrupt your services, like when backup servers keep things running despite repairs.
ProdID-String- Indicates the link to refer the more information on the maintenance activity.Organizer-String- Indicates the name of maintenance organizer with Email Id. Global Service Desk: cs@equinix.com.Assets-Object- This value will be populated for Resource of Types "Network.Maintenance" and "Network.Incident". An object containing the details of the impacted customer assets with the attributes:IBXCageCabinetSerial NumberCircuit Type
Notificações de pedidos
As notificações de pedidos são notificações quase em tempo real para pedidos feitos através do Portal do Cliente, APIs ou EMG. Essas notificações fornecem atualizações sobre o status dos seus pedidos à medida que eles progridem por várias etapas, incluindo criação, agendamento, atualizações e conclusão.
As notificações de pedidos estão disponíveis para os seguintes tipos de pedidos:
- Pedidos de conexão cruzada
- Pedidos da Smart Hands
- Ordens de visita de trabalho
- pedidos de envio
- Pedidos de suporte técnico
Exemplo de Notificação de Pedido:
{
"Task": {
"Id": "a4f3d7e2-1a6c-4b8d-9e2f-3c5a8b7d9e1f",
"Source": "3e095d30-40ff-11e9-8959-5be078353003",
"Verb": "Update",
"Resource": "SmartHands",
"ContentType": "application/json",
"CreationTimeUTC": "2021-06-16T19:57:21.326Z",
"Version": "1.0",
"Body": {
"RequestorId": "CUSTOMER-REF-001",
"ServicerId": "1-205346710865",
"ActivityId": "1-3N5W5LYZ",
"State": "InProgress",
"Description": "Smart Hands order in progress - technician assigned",
"CustomerContact": "customer.contact@example.com",
"Location": "DC1",
"ServiceDetails": {
"scopeOfWork": "Equipment installation and cable management",
"startDateTime": "2021-06-17T09:00:00Z",
"endDateTime": "2021-06-17T11:00:00Z"
},
"Attachments": []
}
},
"Signature": "RWNobwp7CiAgIklkIjogIjM1MGFlZjcwLTc4MWItMTFlOSogIH0KfQ=="
}
As notificações de pedidos possuem os seguintes atributos de corpo:
Body-Object- An object containing the details of the order notification. The attributes within the object will vary based on the resource and state.RequestorId-String- Customer reference number for the order. This is the unique identifier you can provide when placing orders.ServicerId-String- The unique order number supplied by Equinix for the submitted order. Also referred to as the Order Number.ActivityId-String- The unique activity identifier for specific line items or sub-tasks within an order.State-String- The current state of the order. Common states include:Open- Order has been received and is being reviewedInProgress- Work is currently being performed on the orderCompleted- Order has been successfully completedCancelled- Order has been cancelledPending Customer Input- Equinix requires additional information or approval from the customerOn Hold- Order is temporarily paused
Description-String- A detailed description of the current order status or any messages from Equinix technicians.CustomerContact-String- The primary customer contact email associated with the order.Location-String- The IBX data center location where the order is being fulfilled.ServiceDetails-Object- Details specific to the type of order being performed. Contents vary by order type:- Para Smart Hands: escopo do trabalho, data e hora de início, data e hora de término, detalhes do equipamento.
- Para Cross Connect: informações sobre painéis de conexão, detalhes do circuito, tipos de conectores
- Para visitas a trabalho: informações para visitantes, finalidade, duração.
- Para envios: informações da transportadora, números de rastreamento, instruções de entrega.
- Para chamados de suporte: descrição do problema, gravidade, serviços afetados
Attachments-Array- An array of file attachments related to the order. Each attachment includes:Id- Unique identifier for the attachmentName- Filename of the attachmentUrl- Download URL for the attachment (when available)