Commit b72457a4 authored by Philip Carns's avatar Philip Carns

Merge branch 'commit_f2' into 'master'

Commit function

The ROSS API has changed to add a commit function (see [d3bdc07](https://github.com/carothersc/ROSS/commit/d3bdc077a0c4d1481dc06c4b4d4f1eb8e4e6fbf6)).

This merge request updates the various CODES models to the latest ROSS API. All  test pass. It also updates the documentation to CODES v 0.5.2 and ROSS v d3bdc07. 

See merge request !5
parents 78745f23 00475389
......@@ -3,12 +3,12 @@ machines.
0 - Checkout, build, and install the trunk version of ROSS
(https://github.com/carothersc/ROSS). At the time of
release (0.5.0), ROSS's latest commit hash was d9cef53, so this revision is
release (0.5.2), ROSS's latest commit hash was d3bdc07, so this revision is
"safe" in the unlikely case incompatible changes come along in the future. If
working from the CODES master branches, use the ROSS master branch.
git clone http://github.com/carothersc/ROSS.git
# if using 0.5.0 release: git checkout d9cef53
# if using 0.5.2 release: git checkout d3bdc07
cd ROSS
mkdir build
cd build
......
0.5.2 (July 13, 2016)
Summer of CODES was another huge success!
This update adds the commit function to the CODES models, representing an
update to the latest version of ROSS (d3bdc07)
0.5.1 (June 09, 2016)
network:
......
......@@ -107,6 +107,7 @@ tw_lptype svr_lp = {
(pre_run_f) NULL,
(event_f) svr_event,
(revent_f) svr_rev_event,
(commit_f) NULL,
(final_f) svr_finalize,
(map_f) codes_mapping,
sizeof(svr_state),
......
......@@ -223,6 +223,7 @@ static tw_lptype node_lp = {
(pre_run_f) NULL,
(event_f) node_event_handler,
(revent_f) NULL,
(commit_f) NULL,
(final_f) node_finalize,
(map_f) codes_mapping,
sizeof(node_state),
......@@ -354,6 +355,7 @@ static tw_lptype forwarder_lp = {
(pre_run_f) NULL,
(event_f) forwarder_event_handler,
(revent_f) NULL,
(commit_f) NULL,
(final_f) forwarder_finalize,
(map_f) codes_mapping,
sizeof(forwarder_state),
......
......@@ -1494,6 +1494,7 @@ tw_lptype nw_lp = {
(pre_run_f) NULL,
(event_f) nw_test_event_handler,
(revent_f) nw_test_event_handler_rc,
(commit_f) NULL,
(final_f) nw_test_finalize,
(map_f) codes_mapping,
sizeof(nw_state)
......
......@@ -99,6 +99,7 @@ tw_lptype svr_lp = {
(pre_run_f) NULL,
(event_f) svr_event,
(revent_f) svr_rev_event,
(commit_f) NULL,
(final_f) svr_finalize,
(map_f) codes_mapping,
sizeof(svr_state),
......
......@@ -3185,6 +3185,7 @@ tw_lptype dragonfly_lps[] =
(pre_run_f) NULL,
(event_f) terminal_event,
(revent_f) terminal_rc_event_handler,
(commit_f) NULL,
(final_f) dragonfly_terminal_final,
(map_f) codes_mapping,
sizeof(terminal_state)
......@@ -3194,6 +3195,7 @@ tw_lptype dragonfly_lps[] =
(pre_run_f) NULL,
(event_f) router_event,
(revent_f) router_rc_event_handler,
(commit_f) NULL,
(final_f) dragonfly_router_final,
(map_f) codes_mapping,
sizeof(router_state),
......
......@@ -185,6 +185,7 @@ tw_lptype loggp_lp = {
(pre_run_f) NULL,
(event_f) loggp_event,
(revent_f) loggp_rev_event,
(commit_f) NULL,
(final_f) loggp_finalize,
(map_f) codes_mapping,
sizeof(loggp_state),
......
......@@ -107,6 +107,7 @@ tw_lptype model_net_base_lp = {
(pre_run_f) NULL,
(event_f) model_net_base_event,
(revent_f) model_net_base_event_rc,
(commit_f) NULL,
(final_f) model_net_base_finalize,
(map_f) codes_mapping,
sizeof(model_net_base_state),
......
......@@ -150,6 +150,7 @@ tw_lptype sn_lp = {
(pre_run_f) NULL,
(event_f) sn_event,
(revent_f) sn_rev_event,
(commit_f) NULL,
(final_f) sn_finalize,
(map_f) codes_mapping,
sizeof(sn_state),
......
......@@ -180,6 +180,7 @@ tw_lptype sp_lp = {
(pre_run_f) NULL,
(event_f) sp_event,
(revent_f) sp_rev_event,
(commit_f) NULL,
(final_f) sp_finalize,
(map_f) codes_mapping,
sizeof(sp_state),
......
......@@ -3333,6 +3333,7 @@ tw_lptype slimfly_lps[] =
(pre_run_f) NULL,
(event_f) slim_terminal_event,
(revent_f) slim_terminal_rc_event_handler,
(commit_f) NULL,
(final_f) slimfly_terminal_final,
(map_f) codes_mapping,
sizeof(terminal_state)
......@@ -3342,11 +3343,12 @@ tw_lptype slimfly_lps[] =
(pre_run_f) NULL,
(event_f) slim_router_event,
(revent_f) slim_router_rc_event_handler,
(commit_f) NULL,
(final_f) slimfly_router_final,
(map_f) codes_mapping,
sizeof(router_state),
},
{NULL, NULL, NULL, NULL, NULL, NULL, 0},
{NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0},
};
/* returns the slimfly lp type for lp registration */
......
......@@ -1975,6 +1975,7 @@ tw_lptype torus_lp =
(pre_run_f) NULL,
(event_f) event_handler,
(revent_f) node_rc_handler,
(commit_f) NULL,
(final_f) final,
(map_f) codes_mapping,
sizeof(nodes_state),
......
......@@ -175,6 +175,7 @@ tw_lptype lsm_lp =
(pre_run_f) NULL,
(event_f) lsm_event,
(revent_f) lsm_rev_event,
(commit_f) NULL,
(final_f) lsm_finalize,
(map_f) codes_mapping,
sizeof(lsm_state_t)
......
......@@ -108,6 +108,7 @@ static tw_lptype resource_lp = {
(pre_run_f) NULL,
(event_f) resource_event_handler,
(revent_f) resource_rev_handler,
(commit_f) NULL,
(final_f) resource_finalize,
(map_f) codes_mapping,
sizeof(resource_state),
......
......@@ -85,6 +85,7 @@ tw_lptype template_lp = {
(pre_run_f) NULL,
(event_f) template_event_handler,
(revent_f) template_rev_handler,
(commit_f) NULL,
(final_f) template_finalize,
(map_f) codes_mapping,
sizeof(template_state),
......
......@@ -121,6 +121,7 @@ tw_lptype testsvr_lp = {
(pre_run_f) NULL,
(event_f) testsvr_event_handler,
(revent_f) testsvr_rev_handler,
(commit_f) NULL,
(final_f) testsvr_finalize,
(map_f) codes_mapping,
sizeof(testsvr_state),
......
......@@ -84,6 +84,7 @@ tw_lptype svr_lp = {
(pre_run_f) NULL,
(event_f) svr_event,
(revent_f) svr_rev_event,
(commit_f) NULL,
(final_f) svr_finalize,
(map_f) svr_node_mapping,
sizeof(svr_state),
......
......@@ -67,6 +67,7 @@ tw_lptype svr_lp = {
(pre_run_f) NULL,
(event_f) svr_event,
(revent_f) svr_rev_event,
(commit_f) NULL,
(final_f) svr_finalize,
(map_f) svr_node_mapping,
sizeof(svr_state),
......
......@@ -90,6 +90,7 @@ tw_lptype a_lp = {
(pre_run_f) NULL,
(event_f) NULL,
(revent_f) NULL,
(commit_f) NULL,
(final_f) NULL,
(map_f) codes_mapping,
sizeof(state),
......@@ -99,6 +100,7 @@ tw_lptype b_lp = {
(pre_run_f) NULL,
(event_f) NULL,
(revent_f) NULL,
(commit_f) NULL,
(final_f) NULL,
(map_f) codes_mapping,
sizeof(state),
......@@ -108,6 +110,7 @@ tw_lptype c_lp = {
(pre_run_f) NULL,
(event_f) NULL,
(revent_f) NULL,
(commit_f) NULL,
(final_f) NULL,
(map_f) codes_mapping,
sizeof(state),
......
......@@ -90,6 +90,7 @@ tw_lptype svr_lp = {
(pre_run_f) NULL,
(event_f) svr_event,
(revent_f) svr_rev_event,
(commit_f) NULL,
(final_f) svr_finalize,
(map_f) codes_mapping,
sizeof(svr_state),
......
......@@ -76,6 +76,7 @@ tw_lptype svr_lp = {
(pre_run_f) NULL,
(event_f) svr_event,
(revent_f) svr_rev_event,
(commit_f) NULL,
(final_f) svr_finalize,
(map_f) codes_mapping,
sizeof(svr_state),
......
......@@ -83,6 +83,7 @@ tw_lptype svr_lp = {
(pre_run_f) NULL,
(event_f) svr_event,
(revent_f) svr_rev_event,
(commit_f) NULL,
(final_f) svr_finalize,
(map_f) codes_mapping,
sizeof(svr_state),
......
......@@ -93,6 +93,7 @@ tw_lptype svr_lp = {
(pre_run_f) NULL,
(event_f) svr_event,
(revent_f) svr_rev_event,
(commit_f) NULL,
(final_f) svr_finalize,
(map_f) codes_mapping,
sizeof(svr_state),
......
......@@ -105,6 +105,7 @@ tw_lptype svr_lp = {
(pre_run_f) NULL,
(event_f) svr_event,
(revent_f) svr_rev_event,
(commit_f) NULL,
(final_f) svr_finalize,
(map_f) codes_mapping,
sizeof(svr_state),
......
......@@ -96,6 +96,7 @@ tw_lptype svr_lp = {
(pre_run_f) NULL,
(event_f) svr_event,
(revent_f) svr_rev_event,
(commit_f) NULL,
(final_f) svr_finalize,
(map_f) codes_mapping,
sizeof(svr_state),
......
......@@ -116,6 +116,7 @@ static tw_lptype s_lp = {
(pre_run_f) NULL,
(event_f) s_event,
(revent_f) s_event_rc,
(commit_f) NULL,
(final_f) s_finalize,
(map_f) codes_mapping,
sizeof(s_state),
......
......@@ -95,6 +95,7 @@ tw_lptype client_lp = {
(pre_run_f) NULL,
(event_f) client_event,
(revent_f) client_rev_event,
(commit_f) NULL,
(final_f) client_finalize,
(map_f) node_mapping,
sizeof(client_state),
......
......@@ -61,6 +61,7 @@ tw_lptype svr_lp = {
(pre_run_f) NULL,
(event_f) svr_event,
(revent_f) svr_rev_event,
(commit_f) NULL,
(final_f) svr_finalize,
(map_f) node_mapping,
sizeof(svr_state),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment