seneca-cdot / anvil Goto Github PK
View Code? Open in Web Editor NEWThis project forked from clusterlabs/anvil
The Anvil! Intelligent Availability™ Platform, mark 3
Home Page: anvil.vercel.app
This project forked from clusterlabs/anvil
The Anvil! Intelligent Availability™ Platform, mark 3
Home Page: anvil.vercel.app
After selecting all servers in the server panel ticking the All
box, deselecting one of more of the servers doesn't untick the All
box.
Folder and file structure must be finalized to conform to existing Anvil v3 schema.
Add definitions for scan results tables in anvil.sql, so they're built on DB initialization and ready to be used.
The search bar needs a dropdown displaying links to other pages in desktop mode, and to not-in-viewport panels in mobile mode.
Missing Perl modules must be added to install/update scripts.
SNMP
Extract the message_xxxx
portion from the response's message property and use the extracted portion as the key to the map to get the actual message string.
Map <code, message>:
const NODE_STATUS_MESSAGE_MAP = new ReadonlyMap<string, string>([
[ "message_0222", "The node is in an unknown state." ],
[ "message_0223", "The node is a full cluster member." ],
[ "message_0224", "The node is coming online; the cluster resource manager is running (step 2/3)." ],
[ "message_0225", "The node is coming online; the node is a consensus cluster member (step 1/3)."],
[ "message_0226", "The node has booted, but it is not (yet) joining the cluster." ]
]);
/usr/sbin/striker-configure-device --test_serial_devices
returns "Unknown option" as reported by @nummysquee @digimerFolder and file structure must be finalized to conform to existing Anvil v3 schema.
Components to add:
get_networks
is fully available.
Note that
nodes[i].bonds[j].links[k].link_state
is now type "optimal" | "degraded" | "down" (instead of "optimal" | "degraded").
All links optimal = blue decorator,
1 or more links degraded = purple decorator,
1 or more links down = purple decorator,
All links down = red decorator
Scan results must be sent to the ScanCore database.
Target table: bcn_scan_results
Table desc:
Column | Type | Modifiers | Storage | Stats target | Description
------------------------+--------------------------+-----------+----------+--------------+-------------
bcn_scan_result_uuid | uuid | not null | plain | |
bcn_scan_result_mac | macaddr | not null | plain | |
bcn_scan_result_ip | inet | not null | main | |
bcn_scan_result_vendor | text | | extended | |
modified_date | timestamp with time zone | not null | plain | |
Example insert: INSERT INTO bcn_scan_results VALUES ('a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11','00:00:00:00:00:00','10.0.1.15','Proteus Labs','1999-01-08 04:05:06 -8:00');
Device::SerialPort
Net::Telnet
If at lease 1 node is ON, then the anvil is ON; otherwise it's OFF
Missing a comma at line 294.
Error output:
[cc452@alteeve-cdot-tester ~]$ ./serial-functions
Backslash found where operator expected at ./serial-functions line 294, near "'gateway=s' "
(Missing operator before ?)
syntax error at ./serial-functions line 294, near "'gateway=s' "
Execution of ./serial-functions aborted due to compilation errors.
Folder and file structure must be finalized to conform to existing Anvil v3 schema.
factoryReset
actions as suggested by @digimer and @nummysqueeThe server panel in the main page needs migration control to be able to migrate servers between nodes.
/usr/sbin/striker-configure-device --serial_device=/dev/ttyUSB0 --profile=apcUPS --action=checkSNMP --verbose
By including the endpoint specs along with the code, we can use modules like jsdoc-to-markdown to auto-generate a reader-friendly version of the specification.
Replace $conf with $anvil->data, as $conf is deprecated.
When clicking on bonds in the network panel, an individual panel should be displayed with more detailed information about that bond.
Net::SNMP
SNMP
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.