SDN: Developer Guide

Write your application

In order to improve the features available at the controller, or to extend the capabilities provided by INTER-IoT Application, all code is distributed under Open Source License, thus, could be accessed and modified as desired.


API Reference

The N2N solution provides an API to access information regarding virtual network and its components. This API is included in INTER-API together with the different access interfaces provided by other layers.

The API is composed by the following calls in REST that can be accessed through the INTER-Layer unified API which URL base is:

http://www.inter-iot-project.eu

  • GET

    • /n2n/switches/{switchId}
    • /n2n/switches/{switchId}/tables/{tableId}/flows
    • /n2n/switches/{switchId}/tables
    • /n2n/switches/{switchId}/ports
    • /n2n/switches/{switchId}/queues
    • /n2n/switches/{switchId}/rules
    • /n2n/switch/{switchId}/meters
  • POST

    • /n2n/switches/{switchId}/tables/{tableId}/flows
    • /n2n/switches/{switchId}/tables/{tableId}/flows/{flowId}
    • /n2n/switches/{switchId}/tables/{tableId}/flows/{flowId}
    • /n2n/switches/{switchId}/ports/{portId}
    • /n2n/switches/{switchId}/port/{portId}/queues
    • /n2n/switches/{switchId}/rules
    • /n2n/switch/{switchId}/meters
  • DELETE

    • /n2n/switches/{switchId}/queue/{queueId}
    • /n2n/switches/{switchId}/rules/{ruleId}
    • /n2n/switches/{switchId}/rules/{meterId}

Network to Network (N2N): Other References

Here you can find a summary of N2N-related resources:

INTER-IoT Documentation

Other interesting External Documentation