Blake Harnden
|
c76bc2ee8a
|
daemon: updates for docker nodes to read and use the environ file for the launched process for all nsenter commands
|
2023-06-12 16:30:02 -07:00 |
|
Blake Harnden
|
81230edac3
|
daemon: updated utils.cmd to use returncode instead of wait(), removed redundant default encoding value for calls to decode/encode
|
2023-06-08 14:34:24 -07:00 |
|
Blake Harnden
|
7f58224f43
|
daemon: updated core.nodes to avoid using deprecated type hinting
|
2023-04-13 13:32:23 -07:00 |
|
Blake Harnden
|
3c28ea373a
|
daemon: adjustments to fix terminal command string generation for docker/lxd nodes to account for being on a distributed server
|
2022-06-10 14:53:49 -07:00 |
|
Blake Harnden
|
9c69881aad
|
daemon: updates to expose node.create_cmd and not be private, added utility functions for running multiple commands on multiple nodes more efficiently
|
2022-06-10 14:23:06 -07:00 |
|
Blake Harnden
|
9c265ab283
|
daemon: updates to change hostname settings to replace _ to - due to _ being an invalid character
|
2022-06-10 10:01:48 -07:00 |
|
Blake Harnden
|
9fa3e77d12
|
daemon: added further python docs to docker.py
|
2022-05-31 14:25:49 -07:00 |
|
Blake Harnden
|
2e3e085522
|
daemon: adjustments to revamp how core nodes are created in session.add_node, nodes now provide a create_options function for node specific options that are type hinted
|
2022-05-25 10:51:42 -07:00 |
|
Blake Harnden
|
03e646031c
|
daemon: updated docker nodes to start using tail to keep alive, adjustments to support more robust volume mounting and adding symlinks to the nodes directory for bind/volume mounts
|
2022-05-18 14:50:08 -07:00 |
|
Blake Harnden
|
fd3be57f57
|
daemon: added initial support to docker nodes for setting up volumes and bind mounts
|
2022-05-11 13:51:02 -07:00 |
|
Blake Harnden
|
2094694ca3
|
daemon: cleaned up docker node code, updates to use nsenter in most cases
|
2022-05-05 21:54:08 -07:00 |
|
Blake Harnden
|
443c0e708f
|
daemon: removed linktype and apitype from node classes, as they are no longer needed, made adjustments where needed to compensate
|
2022-04-05 15:22:01 -07:00 |
|
Blake Harnden
|
7b16f9cb74
|
daemon: moved node cmd to base, allowing interface config to not need a node parameter
|
2022-03-17 16:31:03 -07:00 |
|
Blake Harnden
|
0e2219f6c8
|
daemon: fixed issue creating directory for files when needed, within node
|
2022-02-05 12:19:24 -08:00 |
|
Blake Harnden
|
bd896d1336
|
daemon: added capability to config services to shadow directory structures, from a given path, or from a local source, files may be templates or a straight copy and can be sourced from node named unique paths for node specific files, also refactored and renamed file creation related functions for nodes
|
2021-09-17 14:34:37 -07:00 |
|
Blake Harnden
|
69652ac577
|
updates to python based logging to use module named loggers, updated logging config file to align with these changes
|
2021-04-21 21:09:35 -07:00 |
|
Blake Harnden
|
be0e0175a2
|
daemon: refactored node.nodedir to node.directory
|
2021-03-19 17:01:22 -07:00 |
|
Blake Harnden
|
1c970bbe00
|
daemon: refactoring to remove usage of os.path where possible and pathlib.Path instead
|
2021-03-19 16:54:24 -07:00 |
|
Blake Harnden
|
80194b3e38
|
moved python black configuration to pyproject.toml and fixed bad exclude
|
2020-07-14 13:33:40 -07:00 |
|
Blake Harnden
|
0725199d6d
|
initial sweeping changes to call all usages of various interface related variables and functions (netif, interface, if, ifc, etc) to use a consistent name iface
|
2020-06-16 09:30:16 -07:00 |
|
Blake Harnden
|
c4c667bb74
|
daemon: removed node.startup from inside constructor, session is now responsible, providing more control and avoiding issues when using super calls where you dont want to start just yet
|
2020-06-14 09:37:58 -07:00 |
|
Blake Harnden
|
6ee9590bdc
|
daemon: finished class variable type hinting for core.nodes
|
2020-06-10 08:52:51 -07:00 |
|
Blake Harnden
|
fe09b37819
|
removed bootsh from CoreNode types as it was not being used
|
2020-05-21 22:41:03 -07:00 |
|
Blake Harnden
|
56fbc0e3c5
|
docker changes to avoid issues running commands without mount and running containers as prvileged to allow changing files in /sys
|
2020-05-21 22:26:54 -07:00 |
|
Blake Harnden
|
95d3a6ca8c
|
updates to force CoreCommandError to contain string values for stderr and stdout, couple bugfixes in handling bad commands when using execute commands from tlv based api or coresendmsg, also updates to coresendmsg to display everything in lowercase to mimic previous look and feel, however coresendmg will now work regardless of casing to avoid breaking things again
|
2020-05-13 12:01:28 -07:00 |
|
Blake Harnden
|
5cdfd8d8b9
|
updated NodeTypes to be used directly
|
2020-03-10 23:11:37 -07:00 |
|
Blake Harnden
|
b8ded52a66
|
fixed formatting in docs due
|
2020-01-16 16:12:01 -08:00 |
|
Blake Harnden
|
f4ddf310a8
|
removed rtype and param typing from doc strings to help avoid maintaining duplicate information provided by type hints
|
2020-01-16 11:00:57 -08:00 |
|
Blake Harnden
|
dcabd8d6f8
|
updates to add type hinting to uses of Callable
|
2020-01-15 11:56:23 -08:00 |
|
Blake Harnden
|
c0fcc91d10
|
added type hinting for core.nodes
|
2020-01-13 14:08:49 -08:00 |
|
Blake Harnden
|
95c57bbad6
|
changes to allow node container commands to leverage shell parameter when needed
|
2019-12-20 09:57:34 -08:00 |
|
bharnden
|
68be311c7a
|
updated usages of super to use python3 variation
|
2019-10-23 09:51:52 -07:00 |
|
bharnden
|
6a0a9e7698
|
updated all classes to be created without using (object), in python3 all classes are new style classes
|
2019-10-23 09:31:34 -07:00 |
|
Blake Harnden
|
78f981463d
|
renamed utils.check_cmd to utils.cmd, updated host_cmd to allow for shell commands for output redirection
|
2019-10-21 10:32:42 -07:00 |
|
bharnden
|
6006710c32
|
changed net_cmd to host_cmd and node_net_cmd to cmd, for simpler more logical naming
|
2019-10-18 23:28:09 -07:00 |
|
Blake Harnden
|
5633d4d18b
|
converted format strings to f strings
|
2019-10-18 12:55:35 -07:00 |
|
Blake Harnden
|
c9326b6a97
|
initial changes to use f strings
|
2019-10-17 18:59:50 -07:00 |
|
Blake Harnden
|
b7dd8ddb66
|
fix for docker/lxd based nodes to use remote servers and example for lxd
|
2019-10-17 09:09:03 -07:00 |
|
Blake Harnden
|
61a4e228a1
|
updated ctrlnets to assign unique addresses per server, fixed ovs command issue for interface specific commands
|
2019-10-16 10:14:36 -07:00 |
|
Blake Harnden
|
6570f22ccf
|
refactor fabric distributed to use a class and update sessions to create and provide these to nodes
|
2019-10-14 15:43:57 -07:00 |
|
Blake Harnden
|
5f282bb695
|
updates to lxd/docker to work with net_cmd/node_net_cmd
|
2019-10-14 14:28:18 -07:00 |
|
Blake Harnden
|
02ef91242e
|
initial changes to convert all commands to be string based for consistency
|
2019-10-11 16:36:57 -07:00 |
|
Blake Harnden
|
fc7a161221
|
updated utils.check_cmd to accept the same parameters as other commands and be leveraged for node cmds
|
2019-10-11 13:15:57 -07:00 |
|
Blake Harnden
|
d326f246a7
|
removed node based check_cmd, updated to use appropriate function
|
2019-10-11 12:57:37 -07:00 |
|
Blake Harnden
|
4a6d69bb09
|
removing cmd_output function from utils and nodes
|
2019-10-11 09:34:49 -07:00 |
|
Blake Harnden
|
c3d27eb8a5
|
removed utils.cmd and related node functions
|
2019-10-10 23:01:16 -07:00 |
|
bharnden
|
0fe8bea25b
|
added net_cmd to NodeBase for encapsulating network configuration commands
|
2019-10-01 21:06:11 -07:00 |
|
bharnden
|
af7faa85df
|
removed redircmd, shcmd, shcmd_result, getaddr, netifstats from VnodeClient
|
2019-10-01 14:40:24 -07:00 |
|
bharnden
|
d3d70ecc54
|
removed getaddr from node clients, since it was not being used
|
2019-10-01 12:30:32 -07:00 |
|
bharnden
|
503fa754a9
|
updates to fail early for required executables that are not in PATH
|
2019-09-27 23:29:15 -07:00 |
|