830 Commits (6fd5155fe55f18baf7eb0c268c7c6d8bac61ce84)

Author SHA1 Message Date
Digimer 7df405afcb * Created the manifest database table and Database->insert_or_update_manifests(). 5 years ago
Digimer 76e9352717 * Added a flag that tells anvil-daemon when a node is having it's network mapped. When this happens, open ssh connections are closed each loop and only tasks related to mapping the network run. This improves responsiveness in Striker when reporting which network links have come up or gone down. 5 years ago
Digimer 4cf9d6215c * Removed the table host_mail_servers. 5 years ago
Digimer e764eccf6e * Started work on Email->check_alert_recipients(). 5 years ago
Digimer 9e16cdf504 * Created Validate->is_email() to validate email addresses, using Mail::RFC822::Address. 5 years ago
Digimer eb0481bcb0 * Created Database->insert_or_update_recipients() (and did general cleanup of the database module). 5 years ago
Digimer d4a5882bb4 * Created Validate->is_port() to validate TCP/UDP ports 5 years ago
Digimer c3869a2ff6 * Started adding in front-end support for managing email servers and alert recipients. Added the new 'Email' module to (later) habdle all email-related tasks. 5 years ago
Digimer 2f81275551 * Updated the kickstart template/script to now add the local striker to the installed system's dnf repo list. 5 years ago
Digimer c2ef156e2d * Did work on adding better offline support for installing DHCP/PXE targets on RHEL 8.1 5 years ago
Digimer 974d3c3411 * Fixed the order or table creations in anvil.sql (as well as fixed a missing comma) 5 years ago
Digimer c34f56f2c8 * Disabled firewalld for now. 5 years ago
Digimer a16e86dc7c * Finished tools/anvil-configure-host! More notably, it can now update the network without a reboot, and it cleanly handles losing and reconnecting to dashboards. 5 years ago
Digimer 414bf81f25 * Fixed a bug where the BOOTPROTO="x" was set to dhcp for a bond interface that is connected to a bridge and should have been set to 'none'. 5 years ago
Digimer e9ee74553a * Fixed a comment bug in Network->reconfigure_network() indicating that MAC lookup was using the wrong hash key. 5 years ago
Digimer 9bcad1c4bf * Did more work on adapting tools/anvil-configure-host to work on nodes and DR hosts. 5 years ago
Digimer 6d81e03fb2 * Created Network->match_gateway() to check if a gateway applies to a given network. 5 years ago
Digimer 86af67ecda * Created a cachine mechanism for anvil-update-states so that it can record network interface link state changes when it loses contact with all databases, as can happen when cycling NICs to map a newly build DR host or node. 5 years ago
Digimer 530d379f59 * Started work on caching network state change in tools/anvil-update-states. 5 years ago
Digimer e8d15112da * Fixed a bug in anvil.js where the state of a link always said 'up', even when it was down. 5 years ago
Digimer 90f5bf49d5 * Updated Network->load_interfces() to only assign a 'changed_order' to real interfaces. 5 years ago
Digimer 0dfd2ddbf0 * Renamed 'ip' to 'ip_address' in Striker->parse_all_status_json() and related functions. 5 years ago
Digimer 0b2439edc3 * Finished the jquery/css stuff for showing the list of hosts that can have their network configured. 5 years ago
Digimer c608ebb232 * Added bonds -> bond_bridge_uuid to track which bridge, if any, that a bond is connected to. Updated Network->load_interfces() to record this. 5 years ago
Digimer 0cf13b6387 * Worked out more of the logic in test.pl for displaying the JSON data. 5 years ago
Digimer 82bc25c78d * Adding the test.pl script. Even though it doesn't relate to the program, it's used to sort out logic and the code should be committed, until mainline development is done. 5 years ago
Digimer 54de5466cf * Renamed bond_active_slave to bond_active_interface. 5 years ago
Digimer 12b0cc28f0 * Renamed 'primary_slave' to 'primary_interface' for the bond table. 5 years ago
Digimer d5672e77eb * Standardized 'subnet_mask' over 'subnet' naming throughout. 5 years ago
Digimer b2ff4c4c53 * Created Network->get_company_from_mac() that converts a MAC address to the company name that owns it. 5 years ago
Digimer e3a8c1a01d * Created System->generate_state_json() that reads, parse and writes out the network status of all known machines on a given Striker database. 5 years ago
Digimer 387c03aa7d * Added more text for the pending JSON state file generation. 5 years ago
Digimer 7cf1db3b37 * Added strings for making size suffixes translatable and updated Convert->bytes_to_human_readable to use them. 5 years ago
Digimer d0006cc4d3 * Changed a bunch more variables to standardize on 'mac_address' instead of 'mac'. 5 years ago
Digimer 70776964d6 * Added packages needed to support offline machines to striker-manage-install-target. 5 years ago
Digimer ea27f88bcc * Removed the 'bridge_interfaces' table and related database methods. This was found to be duplicate, given that 'network_interfaces' has references to parent bonds and bridges. 5 years ago
Digimer 628f7faa45 * Updated the RPM spec file to generate '/etc/anvil/type.X' files to directly indicate the machine type. Updated System->get_host_type() to check for these files directly, falling back to parsing the host name if they don't exist. 5 years ago
Digimer 077977ad9c * Fixed tools/anvil-update-states so that it properly removed ip_addresses no longer assigned to a host. Also merged 'network::interfaces::by_name::${interface}' with 'network::local::interface::${interface}' for storing discovered interfaces.' 5 years ago
Digimer 517771594e * Updated to release -28 RPM. 5 years ago
Digimer b436500a54 * Started working on getting database archiving working. It's close to done, but needs testing/debugging and other finery. 5 years ago
Digimer b1a175baa0 * Finished Network->load_ips(). 5 years ago
Digimer af6e2c076d * Fixed a tricky deep recursion bug in Network->is_local when the passed in host was an empty string. Also created a cache system where a host name that has been checked before is immediately returned, without needing to run through the logic in 'is_local', which gets called quite frequently. 5 years ago
Digimer 32bcdbe6d3 * Removed Network->is_remote, standardized on Network->is_local, and flipped calls to it to be more sensible (is_local -> local call -> else remote call). Also fixed a deep recursion issue with ->is_local where, given that it logs (which calls Storage methods which have local/remote invocations), would loop. 5 years ago
Digimer a7f93c59ea * Reworked striker-parse-oui and striker-scan-network to always lower-case the MAC address. 5 years ago
Digimer 4d0a02ce74 * Fixed a bug in Database->get_local_uuid() where ->is_local() was being called incorrectly. 5 years ago
Digimer 1d13e669a7 * Created the new tools/striker-scan-network tool that ping scans a network range and records the discovered hosts in the new 'mac_to_ip' table. Also created Database->insert_or_update_mac_to_ip() to handle the new table. 5 years ago
Digimer 7e960f1632 * Created the 'oui' database table that stores the parsed OUI data, as processed by the new 'tools/striker-parse-oui' tool. Also created Database->insert_or_update_oui() to handle inserts and updates. 5 years ago
Digimer 7cdd2f60e9 * Created Network->download() to handle downloading a file on the local system. Created ->bridge_info() to parse 'bridge' output. Created ->load_ips() to load IP address information from the database (as opposed to ->get_ips() which queries a system). 5 years ago
Digimer 183d2d9cce * Updated Storage->backup to append a short UUID to the timestamp to prevent issues if the same file is backed up twice in the same clock second. Also fixed a bug with remote_user parameter not having a default. 5 years ago
Digimer 65a27ba2f8 * Created Network->check_internet() that, well, checks to see if a machine has access to the Internet or not. 5 years ago