Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Table of Contents

Note

This page is still under construction. Please come back later (smile)

Table of Contents

Introduction

Network Config Host Provider is a host provider that learns host information from network config subsystem rather than packet-in.
There are two main benefit that Network Config Host Provider can offer:

  1. Block unexpected hosts
    In some use cases such as CORD, the network orchestrator (XOS) knows all hosts that suppose to be in the system. We can easily avoid interference from unexpected hosts by explicitly specify which host hosts we want to allow in network config.
  2. Debugging
    We can easily mock up and inject a host through network config.

...

Network Config Host Provider is an application, which means it can also be enableenabled/disable disabled dynamically through ONOS CLI

...

Provide Host Information in Network Config

...

You can upload hosts network config by POSTing a JSON file to:

Code Block
http://<ip>:8181/onos/v1/network/configuration/hosts

Here is an JSON example:

Code Block
{
  "00:02:c9:1e:b1:20/None": {
    "basic": {
      "ips": ["10.0.1.1", "10.0.1.2"],
      "location": "of:0000000000000001/5"
    }
  },
  "00:02:c9:1e:b1:21/None": {
    "basic": {
      "ips": [],
      "location": "of:0000000000000001/13"
    }
  }
}