Skip to content

jvmoreira/multiservice-networks

Repository files navigation

Network Functions Framework

Parameters

Policing

Token Bucket
{
  "function": "token-bucket",
  "category": "policing",

  "rate": 50,
  "bucket_size": 100,
  "bucket_max_size": 200,
  "interval": 0.5,
  "client_interface": " ",
  "server_interface": " ",
  "debug": 1
}
One Rate Three Colors
{
  "function": "one-rate-three-color",
  "category": "policing",

  "rate": 100,
  "bucketF_size": 1000,
  "bucketF_max_size": 2000,
  "bucketS_size": 2000,
  "bucketS_max_size": 4000,
  "interval": 1,
  "client_interface": " ",
  "server_interface": " ",
  "debug": 1,
}

if color-aware mode add:

{
  "color_aware": 1,
  "ca_bucketF_size": 500,
  "ca_bucketF_max_size": 1000,
  "ca_bucketS_size": 800,
  "ca_bucketS_max_size": 1200,
  "ca_rate": 100
}
Two Rate Three Color
{
  "function": "two-rate-three-color",
  "category": "policing",

  "rateF": 150,
  "rateS": 200,
  "bucketF_size": 2000,
  "bucketF_max_size": 2500,
  "bucketS_size": 1500,
  "bucketS_max_size": 3000,
  "interval": 1.0,
  "client_interface": " ",
  "server_interface": " ",
  "debug": 1,
}

if color-aware mode add:

{
  "color_aware": 1,
  "ca_bucketF_size": 1000,
  "ca_bucketF_max_size": 1500,
  "ca_bucketS_size": 1500,
  "ca_bucketS_max_size": 3000,
  "ca_rateF": 200,
  "ca_rateS": 100
}

Shaping

Token Bucket
{
  "function": "token-bucket",
  "category": "shaping",

  "rate": 50,
  "bucket_size": 100,
  "bucket_max_size": 200,
  "interval": 0.5,
  "queue_max_size": 25,
  "client_interface": " ",
  "server_interface": " ",
  "debug": 1
}
Leaky Bucket
{
  "function": "leaky-bucket",
  "category": "shaping",

  "packets_to_release": 3,
  "bucket_max_size": 30,
  "interval": 0.3,
  "client_interface": " ",
  "server_interface": " ",
  "debug": 1
}

About

Multiservice Networks implementation for OSv

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published