vent.core.network_tap.ncontrol package

Submodules

vent.core.network_tap.ncontrol.ncontrol module

vent.core.network_tap.ncontrol.paths module

class vent.core.network_tap.ncontrol.paths.CreateR[source]

Bases: object

This endpoint is for creating a new filter

on_post(req, resp)[source]

Send a POST request with id/nic/interval/filter/iters and it will start a container for collection with those specifications

class vent.core.network_tap.ncontrol.paths.DeleteR[source]

Bases: object

This endpoint is for deleting a network tap filter container

on_post(req, resp)[source]

Send a POST request with a docker container ID and it will be deleted.

Example input: {‘id’: “12345”}, {‘id’: [“123”, “456”]}

class vent.core.network_tap.ncontrol.paths.InfoR[source]

Bases: object

This endpoint is for returning info about this service

on_get(req, resp)[source]
class vent.core.network_tap.ncontrol.paths.ListR[source]

Bases: object

This endpoint is for listing all filter containers

on_get(req, resp)[source]

Send a GET request to get the list of all of the filter containers

class vent.core.network_tap.ncontrol.paths.NICsR[source]

Bases: object

This endpoint is for listing all available network interfaces

on_get(req, resp)[source]

Send a GET request to get the list of all available network interfaces

class vent.core.network_tap.ncontrol.paths.StartR[source]

Bases: object

This endpoint is for starting a network tap filter container

on_post(req, resp)[source]

Send a POST request with a docker container ID and it will be started.

Example input: {‘id’: “12345”}, {‘id’: [“123”, “456”]}

class vent.core.network_tap.ncontrol.paths.StopR[source]

Bases: object

This endpoint is for stopping a network tap filter container

on_post(req, resp)[source]

Send a POST request with a docker container ID and it will be stopped.

Example input: {‘id’: “12345”}, {‘id’: [“123”, “456”]

class vent.core.network_tap.ncontrol.paths.UpdateR[source]

Bases: object

This endpoint is for updating a filter

on_post(req, resp)[source]

Send a POST request with id and metadata and it will update the existing filter metadata with those specifications

vent.core.network_tap.ncontrol.prestart module

vent.core.network_tap.ncontrol.prestart.pull_ncapture()[source]

vent.core.network_tap.ncontrol.routes module

vent.core.network_tap.ncontrol.routes.paths()[source]
vent.core.network_tap.ncontrol.routes.routes()[source]

Module contents