bharnden
1e98175e35
refactored usages of iteritems, itervalues, and iterkeys to be 2/3 compliant
2019-05-05 21:23:43 -07:00
bharnden
8d6bf54a16
removed usage of longs, updated int instance checking and octal constants to be 2/3 compliant
2019-05-05 17:11:07 -07:00
bharnden
66e603906a
updates to layout core module packages in a more logical way, including renaming methods from objects to nodes and nodes.objid to nodes.id
2019-04-29 23:31:47 -07:00
bharnden
9517740704
initial refactor for all variables named objid
2019-04-26 22:07:51 -07:00
apwiggins
46e58ff187
Update frr.py
2019-04-10 16:17:44 -03:00
apwiggins
840a27632d
Update frr.py to use pimd
2019-04-10 09:23:11 -03:00
apwiggins
a3c3d0c18d
Add FRR service file
2019-04-09 18:07:00 -03:00
bharnden
7aee2b2ba7
updated logging usage, to use the library directly and avoid imposing a core config by default, allowing users of the core library to configure logging as desired
2019-02-16 09:50:19 -08:00
bharnden
03d0e90db5
Merge pull request #198 from coreemu/bugfix/reduce-default-core-daemon-logging
...
quiet core-daemon by replacing warn messages with debug
2018-11-14 15:26:50 -08:00
bharnden
a7bc7500fb
Merge branch 'master' into cleanup/codacy-cleanup
2018-10-18 16:21:05 -07:00
bharnden
f5da989eca
Merge pull request #203 from coreemu/bugfix/fix-dhcp-service-under-ubuntu1804
...
fix DHCP server service to work under Ubuntu 18.04
2018-10-16 11:26:31 -07:00
Jeff Ahrenholz
8f8ca04562
codacy: fix trailing whitespace
2018-10-16 10:15:04 -07:00
bharnden
12cc40d3d3
cleaned up core.emane, core.services, core.xml, fixed bug introduced in coreobj.py
2018-10-11 17:26:34 -07:00
bharnden
ca107a3207
#199 small tweaks to be consistent with rest of code
2018-10-10 14:49:51 -07:00
Jeff Ahrenholz
853ae94d52
fix DHCP server service to work under Ubuntu 18.04
2018-10-10 10:11:32 -07:00
Jeff Ahrenholz
366f63fb96
add a source NAT service using iptables masquerade
2018-10-09 15:19:14 -07:00
Jeff Ahrenholz
18d4908bf8
quiet core-daemon by replacing warn messages with debug
2018-10-09 10:13:12 -07:00
Blake J. Harnden
3d59a68299
refactored how getters for configurations worked, to avoid setting defaults and causing undesireable states
2018-07-11 21:34:21 -07:00
Blake J. Harnden
bfbee35a53
updates to support external transport configuration and an emane transport service to generate and run emanetransport for a configured external transport model
2018-07-11 09:19:06 -07:00
Blake J. Harnden
bb533406a6
refactored service methods to be shorter, updated some logging to debug, added some more service tests
2018-06-22 15:47:02 -07:00
Blake J. Harnden
37517c45f4
changed some logging from info to debug, removed startindex and depends from services
2018-06-22 08:16:59 -07:00
Blake J. Harnden
0aca9d7809
changes to remove the need to pass services separately, when the node has access to them directly, also made a couple CoreServices methods more consistent to have the node as first param and service second
2018-06-21 14:56:30 -07:00
Blake J. Harnden
b868454b5e
updates to use dependency based startup logic
2018-06-21 11:20:08 -07:00
Blake J. Harnden
ed4e6f0f00
removed startup service
2018-06-20 13:07:43 -07:00
Blake J. Harnden
37ce407460
added logic to help provide dependent service ordering
2018-06-19 18:36:53 -07:00
Blake J. Harnden
bf47e5fc0d
added service executable check, added error message to gui for service load errors
2018-06-19 09:19:49 -07:00
Blake J. Harnden
e80736061f
refactored service interaction use names with a _, and cleanup up some of the CoreServices methods
2018-06-15 14:03:27 -07:00
Blake J. Harnden
eb415aa4d4
merged session config/options together
2018-06-12 08:37:39 -07:00
Blake J. Harnden
c65baa9298
update to add a way to avoid loading parent service classes, that inherit from CoreService that should not be loaded on their own
2018-04-20 21:40:55 -07:00
Blake J. Harnden
64f501ac79
fixed issue with configuring a couple nrl services, fixed other issues with coresendmsg
2018-03-26 14:36:43 -07:00
Blake J. Harnden
bc1e3e70c9
initial pass at removing bsd and code related to using bsd nodes
2018-03-07 12:54:19 -08:00
Blake J. Harnden
974559843a
defined custom core command error that defaults to printing command output as well
2018-03-02 16:22:20 -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
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
f3863ead73
removed service load methids, since they are no longer used, added way for custom service load code to facilitate the unique docker service case
2017-08-07 16:40:39 -07:00
Blake J. Harnden
e4b280196b
switched to making use of logzero for logging, provides nicer color output, and an easier path to switch to rotating log files
2017-08-07 11:58:51 -07:00
Blake J. Harnden
850cc599c8
refactored how services are loaded to be more dynamic
2017-08-03 16:33:54 -07:00
Blake J. Harnden
05ce19b0c0
fixed refactoring issues in mobility.py, fixed issue with parsing config files in a tuple string format
2017-08-02 14:07:56 -07:00
Blake J. Harnden
dced47b588
fixed emane version checks, fixed emane config message handling, added initial emane test cases
2017-07-10 09:25:33 -07:00
Blake J. Harnden
613e550e8a
merged latest code from rodolfos merge from the latest github pull
2017-07-06 15:10:50 -07:00
Blake J. Harnden
6bfa81f3a8
small cleanup to sdn services, added loadservice line to daemon, and updated example service for how current services are coded
2017-07-05 13:32:16 -07:00
Rod A Santiago
55a6e2dcef
merged cleanup branch with master
2017-06-19 18:09:28 -07:00
cspiker
192b362ae6
cleaned up SDN services for release
2017-06-08 13:19:06 -07:00
cspiker
a1007e2391
Updated service files to support new format
2017-06-08 12:30:43 -07:00
cspiker
46baca85d9
Add OVS and Ryu Services to CORE for SDN support
2017-06-08 08:31:50 -07:00
cspiker
b37d1d52fa
added new OVS service file
2017-06-07 12:41:52 -07:00
Blake J. Harnden
00f4ebf5a9
initial commit after bringing over cleaned up code and testing some examples
2017-04-25 08:45:34 -07:00
Jeff Ahrenholz
0b0557e008
fix /var/run/quagga permissions for Ubuntu 16.04
2017-03-31 10:59:58 -07:00
Gabriel Somlo
b1ea0574e5
daemon: start Quagga with default user/group names
...
Allow native distribution packages to run with their default user
and group names by no longer forcing "-u root -g root" on any of
the Quagga daemons' command lines.
This should continue to allow hand-compiled and/or "side-loaded"
Quagga software to run as root, if configured to do so at build
time.
Signed-off-by: Gabriel Somlo <glsomlo@cert.org>
2017-02-02 11:25:53 -05:00
Gabriel Somlo
33906aae9f
daemon: remove Quagga 'vtysh' service
...
Since all Quagga daemons are configured from a consolidated
location (the 'zebra' service), there is nothing left to do
for a dedicated service such as 'vtysh'. This patch removes
the service, along with all references to it from the rest
of the source tree (sample *.imn files, examples, etc.)
Signed-off-by: Gabriel Somlo <glsomlo@cert.org>
2017-02-01 09:55:58 -05:00