aboutsummaryrefslogtreecommitdiffstats
path: root/docker/healthcheck/Dockerfile
blob: 21b46ef9791e2cbccb08125bc99519d296e86115 (plain)
1
2
3
4
FROM opnfv/functest-core

COPY testcases.yaml /usr/lib/python2.7/site-packages/functest/ci/testcases.yaml
CMD ["run_tests", "-t", "all"]
cm">// // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. */ #include "app.h" #include <civetweb.h> static struct app_params app; extern void rest_api_vfw_init(struct mg_context *ctx, struct app_params *app); int main(int argc, char **argv) { struct mg_context *ctx = NULL; rte_openlog_stream(stderr); /* Config */ app_config_init(&app); app_config_args(&app, argc, argv); if (is_rest_support()) { /* initialize the rest api */ set_vnf_type("VFW"); ctx = rest_api_init(&app); } app_config_preproc(&app); app_config_parse(&app, app.parser_file); app_config_check(&app); /* Timer subsystem init*/ rte_timer_subsystem_init(); /* Init */ app_init(&app); if (is_rest_support() && (ctx != NULL)) { /* rest api's for cgnapt */ rest_api_vfw_init(ctx, &app); } /* Run-time */ rte_eal_mp_remote_launch( app_thread, (void *) &app, CALL_MASTER); if (is_rest_support() && (ctx != NULL)) { mg_stop(ctx); printf("Civet server stopped.\n"); } return 0; }