Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Network Edge Events Published #12

Open
wants to merge 5 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 12 additions & 1 deletion DataLoader.json
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,18 @@
},
"network_edge": {
"cloudeventTypes": {
"released": [],
"released": [
"equinix.network_edge.acl.state.created",
"equinix.network_edge.acl.state.deleted",
"equinix.network_edge.device.acl.updated",
"equinix.network_edge.device.reboot.completed",
"equinix.network_edge.device.reboot.started",
"equinix.network_edge.device.state.cancelled",
"equinix.network_edge.device.state.created",
"equinix.network_edge.device.state.deleted",
"equinix.network_edge.device.state.provisioned",
"equinix.network_edge.device.state.provisioning"
],
Comment on lines -159 to +170
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please don't change DataLoader.json, catalog.json, and README.md manually. They will be generated automatically. Please make sure the github actions succeeded.l

"preview": []
},
"metricNames": {
Expand Down
17 changes: 17 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -565,6 +565,23 @@ The following data payloads are the supported events and formats for Equinix Int
#### Data Type
`equinix.network_edge.v1.ChangeEvent`
#### Supported Events, Metrics, and Alerts
#### Events

<details>
<summary>Released</summary>

`equinix.network_edge.acl.state.created` <br>
`equinix.network_edge.acl.state.deleted` <br>
`equinix.network_edge.device.acl.updated` <br>
`equinix.network_edge.device.reboot.completed` <br>
`equinix.network_edge.device.reboot.started` <br>
`equinix.network_edge.device.state.cancelled` <br>
`equinix.network_edge.device.state.created` <br>
`equinix.network_edge.device.state.deleted` <br>
`equinix.network_edge.device.state.provisioned` <br>
`equinix.network_edge.device.state.provisioning`

</details>



Expand Down
13 changes: 12 additions & 1 deletion jsonschema/catalog.json
Original file line number Diff line number Diff line change
Expand Up @@ -571,7 +571,18 @@
"description": "The data within all ChangeEvent events.",
"datatype": "equinix.network_edge.v1.ChangeEvent",
"cloudeventTypes": {
"released": [],
"released": [
"equinix.network_edge.acl.state.created",
"equinix.network_edge.acl.state.deleted",
"equinix.network_edge.device.acl.updated",
"equinix.network_edge.device.reboot.completed",
"equinix.network_edge.device.reboot.started",
"equinix.network_edge.device.state.cancelled",
"equinix.network_edge.device.state.created",
"equinix.network_edge.device.state.deleted",
"equinix.network_edge.device.state.provisioned",
"equinix.network_edge.device.state.provisioning"
],
"preview": []
},
"metricNames": {
Expand Down
70 changes: 69 additions & 1 deletion jsonschema/equinix/network_edge/v1/ChangeEvent.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,14 +26,82 @@
"description": "The data within all ChangeEvent events."
},
"Resource": {
"properties": {
"href": {
"type": "string",
"description": "Link to the resource that has generated the event"
},
"type": {
"type": "string",
"description": "Type of the resource generating the event"
},
"uuid": {
"type": "string",
"description": "Equinix assigned unique identifier of the resource generating the event"
},
"name": {
"type": "string",
"description": "Name of the resource generating the event"
},
"status": {
"type": "string",
"description": "Status of the resource generating the event"
},
"description": {
"type": "string",
"description": "Description of the resource generating the event"
}
},
"additionalProperties": true,
"type": "object",
"title": "Resource",
"description": "Schema of the resource that fired the event"
}
},
"cloudeventTypes": {
"released": [],
"released": [
{
"name": "equinix.network_edge.device.state.created",
"description": ""
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please add all descriptions. It can be similar to the corresponding message. The PR #17 has those values empty for placeholder purpose. We are working to add descriptions, as well.

},
{
"name": "equinix.network_edge.device.state.cancelled",
"description": ""
},
{
"name": "equinix.network_edge.device.state.deleted",
"description": ""
},
{
"name": "equinix.network_edge.device.state.provisioning",
"description": ""
},
{
"name": "equinix.network_edge.device.state.provisioned",
"description": ""
},
{
"name": "equinix.network_edge.acl.state.created",
"description": ""
},
{
"name": "equinix.network_edge.acl.state.deleted",
"description": ""
},
{
"name": "equinix.network_edge.device.acl.updated",
"description": ""
},
{
"name": "equinix.network_edge.device.reboot.started",
"description": ""
},
{
"name": "equinix.network_edge.device.reboot.completed"
"description": ""
}

],
"preview": []
},
"metricNames": {
Expand Down
Loading