-
Notifications
You must be signed in to change notification settings - Fork 0
Event test #22
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
Merged
Merged
Event test #22
Changes from 6 commits
Commits
Show all changes
10 commits
Select commit
Hold shift + click to select a range
0499407
add md test
xbai-equinix 482f687
update laterncy md files
xbai-equinix e61febe
add upgrade-bw-primary-connection-email.md file
xbai-equinix 9bcf09a
fix minor error in upgrade-bw-primary-connection-email.md
xbai-equinix 0e0375c
remove get cloudevent step
xbai-equinix 671ff7b
update metro-latency-notify.md
xbai-equinix 3aea12b
Merge branch 'main' into event-test
RafaelAnsay 8a393f3
Auto commit generated client synchronization changes for Agent Factor…
248b44f
Revise title for metro latency notification skill
xbai-equinix 09d5f68
Auto commit generated client synchronization changes for Agent Factor…
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
32 changes: 32 additions & 0 deletions
32
agent_factory_schema/equinix/fabric/v1/event_driven/metro-latency-notify.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,32 @@ | ||
| # Collect connection and email | ||
|
|
||
| ## Overview | ||
| This skill sets up and activate an Equinix agent that automatically email a list of connections that are over the metros where latency spike. | ||
|
|
||
| ## Prerequisites | ||
| Connections should be in PROVISIONED state | ||
|
|
||
| ## Capabilities | ||
| - Detect metro latency alerts | ||
| - Identify the source and destination metros | ||
| - Identify the active connections over the metros | ||
| - Email notification with the connections list | ||
| - Log all actions and decisions | ||
|
|
||
| ## Follow the action step by step below: | ||
| 1. Once the cloud event is received, look at the metro latency alert, from type extract source and destination metro codes | ||
| 2. Search for the active connections, using the source metro code as aside and destination metro code as aside | ||
| 3. Next, send an email notification to the designated email address, using the outcome of the search connection command as the email body so the recipient is clearly informed of the connections list to follow up. | ||
|
|
||
| ## Available Tools | ||
| This skill can use the following tools: | ||
| * **`search_connection`**: Searches for active connections with aside and zside metro codes | ||
| * **`send_email_notification`**: Sends an email notification given an email address and email body. | ||
|
|
||
| ## Guidelines | ||
| * **Prioritize Clarity**: Ensure all parameters for the MCP tools are clearly identified from the user's request before making the tool call. | ||
| * **Error Handling**: If parameters are invalid or operations fail, log errors and stop the process. | ||
| * **Token Efficiency**: Only call the tools when all necessary information is present, avoiding unnecessary context loading. | ||
| * **Required Parameters** User should specify source and destination metro code. | ||
| * **Required Parameters** User should specify an email address. | ||
|
|
||
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we make the title more specific about Metro Latency?