Coder Social home page Coder Social logo

seneca-cdot / anvil Goto Github PK

View Code? Open in Web Editor NEW

This project forked from clusterlabs/anvil

1.0 1.0 1.0 21.15 MB

The Anvil! Intelligent Availability™ Platform, mark 3

Home Page: anvil.vercel.app

Perl 84.19% HTML 4.94% CSS 0.18% JavaScript 0.50% PLpgSQL 2.94% Makefile 0.26% Shell 0.16% M4 0.53% TypeScript 6.31%

anvil's People

Contributors

cc452 avatar deezzir avatar dependabot[bot] avatar digimer avatar digimer-bot avatar fabbione avatar knet-ci-bot avatar manekenpix avatar ylei-tsubame avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Forkers

jsilver99

anvil's Issues

Display appropriate error message when receiving state_message from the back-end

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." ]
]);

Add server page

Components to add:

  • CPU
  • Memory
  • Display
  • Domain Settings
  • Resource

Update Network component to use latest changes in the back-end

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

Send NetworkScan.pl results to DB

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');

Typo in serial-devices

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.