ndndpdk-svc

command
v0.0.0-...-c2e30b8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 26, 2021 License: NIST-PD-fallback Imports: 27 Imported by: 0

README

ndndpdk-svc

This program executes the NDN-DPDK service. It is intended to be controlled by a service manager, which should automatically restart the process if it exits.

Initially, the program only provides an HTTP GraphQL server at http://127.0.0.1:3030/. The listening endpoint may be overridden via --gqlserver command line flag. You can connect to this GraphQL server and use introspection to discover its schema.

To activate as a forwarder, invoke the activate mutation with forwarder argument. The argument is a JSON object that conforms to ActivateFwArgs in TypeScript or build/share/ndn-dpdk/forwarder.schema.json JSON schema.

To activate as a traffic generator, invoke the activate mutation with trafficgen argument. The argument is a JSON object that conforms to ActivateGenArgs in TypeScript or build/share/ndn-dpdk/trafficgen.schema.json JSON schema.

Usage

sudo ndndpdk-svc
node forwarder.config.js | ndndpdk-ctrl activate-forwarder
node trafficgen.config.js | ndndpdk-ctrl activate-trafficgen

Documentation

Overview

Command ndndpdk-svc executes the NDN-DPDK service. It may be activated as a forwarder or a traffic generator.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL