adpllc / altruistic-angelshark Goto Github PK
View Code? Open in Web Editor NEWThis project makes automating over one or more Communication Managers easier via OSSI over SSH.
License: BSD 3-Clause "New" or "Revised" License
This project makes automating over one or more Communication Managers easier via OSSI over SSH.
License: BSD 3-Clause "New" or "Revised" License
Having the option to use a system's ssh-agent
would be a nice way of handling other key exchange algorithms, key-based authentication, and interactive passwords. It would also allow users to forbid keeping their passwords in plaintext.
Angelshark Daemon is expecting datas to be arrays of arrays of strings instead of arrays of strings as written in the docs and used internally.
This was caused by a typo in the request DTO during refactoring.
I am able to use the fields array in the commands to filter everything so far, except for the display alarms command. If I sent the command string:
[{"acms": ["CM01"],"fields": ["0002ff00", "0004ff00", "0005ff00"],"command": "display alarm"}]
I get back
[{
"acm": "CM01",
"command": "display alarm",
"error": "",
"fields": ["0001ff00", "0002ff00", "0003ff00", "0004ff00", "0005ff00", "000cff00", "000dff00", "4e21ff00", "000eff00", "0006ff00", "0007ff00", "0008ff00", "000fff00", "0009ff00", "000aff00", "000bff00"],
"datas": [
["S000775", "DIG-IP-S", "n", "5428", "WARNING", "OUT", "", "", "06", "14", "17", "20", "00", "00", "00", "00"]
]
}]
I have tried other display commands and they seem to work just fine.
I have also tried the variant:
[{"acms": ["CM01"],"fields": ["0001ff00"],"command": "display alarm"}]
just to test, but I got back the same data set.
Thoughts on what I am missing here?
This will allow for additional, domain-specific functionality to be added to the daemon easily. For example, if a user wants to be able to perform a station search, instead of just running a command, they can add the relevant warp filter to route traffic to that endpoint and execute their own code. These should be opt-in with feature flags.
This line is the culprit. The format string should include the provided error. This should also apply to the runner eprintln a few lines above.
The monitor bcms skill command seems to dump all of the output as a single record in JSON format. Is this due to the formatting of the output, or something internal in the JSON parser?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.