Commit graph

907 commits

Author SHA1 Message Date
Blake J. Harnden
cd77875e64 switched pnodes to check commands ran for configuration 2018-03-02 09:36:29 -08:00
Blake J. Harnden
513bb7e263 fixed issue with refactored mute_detach 2018-03-02 09:20:50 -08:00
Blake J. Harnden
00b3c97448 further removal and refactoring of methods used within misc/utils.py 2018-03-02 09:15:52 -08:00
kevlar
d3c78c3a7a Added jenkinsfile describing build and test pipeline 2018-03-01 17:21:20 -08:00
Blake J. Harnden
6211b09585 further cleanup in regards the commands that are being used within core 2018-03-01 16:23:58 -08:00
Blake J. Harnden
870d87804b updated commands that return output to strip it before returning 2018-03-01 13:46:09 -08:00
Blake J. Harnden
d3bd61ddcf updates to consolidate commands that need to be defined by a new node type 2018-03-01 13:21:25 -08:00
Blake J. Harnden
0b8ee7760d reverted refactoring method name until xen/bsd nodes are cleared out 2018-03-01 09:26:28 -08:00
Blake J. Harnden
908fb777de updated to vnode on how commands are ran, updated all functions to capture output and raise exceptions when commands fail 2018-03-01 09:17:58 -08:00
Blake J. Harnden
719670c895 further cleanup to vnode.py and corrections to function docs 2018-02-27 16:28:28 -08:00
Blake J. Harnden
01060c50ff Merge branch '5.1_shell_cleanup' of git-ssh.web.boeing.com:Boeing-CORE/CORE into 5.1_shell_cleanup 2018-02-27 14:56:18 -08:00
Blake J. Harnden
59f22b12cf minor refactoring to vnode.py 2018-02-27 14:56:13 -08:00
Blake J. Harnden
78537d8e95 fixed some shell command usage in example files 2018-02-27 12:39:12 -08:00
Jeff Ahrenholz
f328cdae3b
Merge pull request #144 from TinCanTech/patch-1
Update core.conf
2018-02-24 11:00:18 -08:00
TinCanTech
edc1a92022
Update core.conf
Fix typ0s
2018-02-24 18:44:44 +00:00
Jeff Ahrenholz
d0c946ff86
Merge pull request #138 from gsomlo/gls-ns-umount-v2
Gls ns umount v2
2018-02-22 07:57:25 -08:00
Jeff Ahrenholz
467d168383
Merge pull request #139 from gsomlo/gls-v5-cleanup
Cleanup for building/installing v5 (and building RPMs of v5)
2018-02-22 07:56:13 -08:00
Jeff Ahrenholz
5e56138869
Merge pull request #143 from gsomlo/gls-gui-getmyip
gui: exec.tcl: cache local IP address across calls to getMyIP
2018-02-22 07:55:27 -08:00
Gabriel Somlo
e8ad324d3a gui: exec.tcl: cache local IP address across calls to getMyIP
Modify getMyIP to cache the local machine's IP address, and
return it without further accessing of the underlying resolver
libraries during subsequent invocations.

getMyIP is called roughly once a second from within monitor_loop
when refreshing CPU utilization in the bottom-right corner of
the GUI window. Other, dedicated CPU usage windows might also
call getMyIP at regular intervals.

With systemd commit cda458a54 (between v232 and v233), the
implementation of gethostbyname4_r() was updated to a more
intransigently standard-compliant error reporting convention,
which in turn causes glibc to retry in a more labor intensive
way (see https://github.com/systemd/systemd/pull/5359).

Under certain circumstances depending on the local hostname
and IP configuration, the glibc/systemd back-end resolver
routines triggered by getMyIP's call to [socket ...] and
[fconfigure ...] end up taking long enough to noticeably slow
down refreshing the main core-gui window, to the point where
interaction with the GUI becomes difficult.

Signed-off-by: Gabriel Somlo <glsomlo@cert.org>
2018-02-12 18:16:07 -05:00
Blake J. Harnden
127d0b0666 added a shell command with result, leveraged it usage to get output for failures during addfile and mounting within nodes 2018-02-07 19:13:51 -08:00
Blake J. Harnden
e35b4a0a4b fixed bug with loading emane models in tests, after changing how emane models are loaded 2018-02-07 16:55:53 -08:00
Blake J. Harnden
ceb2e54679 small updates after verifying vcmd return values 2018-02-27 10:55:57 -08:00
Blake J. Harnden
6b8ee13f5d initial changes to try and cleanup shell commands used within core 2018-02-27 10:48:01 -08:00
Kevin
49a2f77f45 Added code to not query sdn information when node is offline 2018-02-26 10:52:08 -08:00
Blake J. Harnden
c4a61b269b updates to support dynamic loading of emane models from a custom emane directory 2018-02-05 11:22:01 -08:00
Blake J. Harnden
45e82f05b2 attempt to better support dynamic emane models 2018-02-05 09:01:49 -08:00
Blake J. Harnden
6f4ef0e193 removed unused import and update sonar config to scan different components separately 2018-01-15 10:50:14 -08:00
Blake J. Harnden
f4f5c9f5d8 fix #137 2018-01-15 02:20:11 -08:00
Blake J. Harnden
a166c162f7 fixed #136, added check for sphinx-apidoc to configure.ac 2018-01-15 01:30:31 -08:00
Blake J. Harnden
17d5503fb2 removed daemon addons directory and refereces 2018-01-12 09:50:56 -08:00
Blake J. Harnden
5344d62a7a Merge branch '5.1' of git-ssh.web.boeing.com:Boeing-CORE/CORE into 5.1 2018-01-12 09:12:55 -08:00
Blake J. Harnden
4fdae0f4b3 removed eric ide project file 2018-01-12 09:12:46 -08:00
Blake J. Harnden
0ee07f89f0 removed unused import in core-daemon 2018-01-11 16:54:12 -08:00
Blake Harnden
27192e1800 Update README.md 2018-01-11 13:21:08 -07:00
Blake Harnden
438204743e Update README.md 2018-01-11 13:19:57 -07:00
Blake J. Harnden
9187b50361 made readme a markdown file 2018-01-11 12:03:55 -08:00
Blake J. Harnden
5a246159f8 updates to readme to leverage code blocks markdown 2018-01-11 11:29:06 -08:00
Blake J. Harnden
26b1b01505 updated to readme for building packages, update to makefile to install and build gui with one command 2018-01-11 11:21:56 -08:00
Blake J. Harnden
3ba8371282 updates to doc regarding changes 2018-01-10 15:59:46 -08:00
Blake J. Harnden
14312db02d updated versions to 5.1 2018-01-10 15:22:54 -08:00
Blake J. Harnden
7dff4f3987 added examples and man pages to core packages 2018-01-10 11:03:20 -08:00
Blake J. Harnden
3ce416b610 updated test cases to fix old broken code 2018-01-09 15:52:29 -08:00
Blake J. Harnden
77be7f5c30 moved ns3 from under daemon to the root of the project and updated references 2018-01-04 16:34:22 -08:00
Blake J. Harnden
3da4c32825 updated rpm/deb files to be built for both sysv and systemd 2018-01-04 14:33:25 -08:00
Blake J. Harnden
d799390c4a moved netns code from daemon/src to netns at the top level, updated files to account for location change 2018-01-04 12:03:14 -08:00
Blake J. Harnden
e4a0069bc3 updated configuration to define the core bin dir within constants, updated code to use the core bin dir for vnoded and vcmd, based on using the fpm build system 2018-01-04 10:09:35 -08:00
Blake J. Harnden
42bcb1c79d add default node map configuration, to avoid the need to set this up every time 2018-01-04 08:19:34 -08:00
Blake J. Harnden
afb6af5f87 removed old olog format line 2018-01-03 14:40:45 -08:00
Blake J. Harnden
e4c3d9d13a updated daemon setup.py to leverage find_packages 2018-01-03 13:45:19 -08:00
Blake J. Harnden
742ad0e3a2 removed the usage of logzero, added a formal logging configuration file using json 2018-01-03 10:53:34 -08:00