Page tree

Have questions? Stuck? Please check our FAQ for some common questions and answers.

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

The following is a summary of the organization of the ONOS source tree. This section is not intended to be comprehensive list of all packages and files, but rather an overview to provide developers with a general idea of how ONOS is organized (think man hier on UNIX).

POM Hierarchy

ONOS is organized as multiple projects, each with its own pom.xml file so that it can be built with Maven. The pom.xml files are organized in a hierarchy, so that projects with shared dependencies and configurations can be built from a parent pom.xml file defined closer to the root.The root of the source tree contains the top-level pom file that builds all of the projects comprising ONOS.

Since the POM hierarchy reflects the logical organization of ONOS, it is used as the reference for this page. 

Project Layout

  • onos-next
    • apps
      • calendar
      • config
      • demo
      • foo
      • fwd
      • ifwd
      • metrics
      • mobility
      • oecfg
      • optical
      • proxyarp
      • sdnip
      • tvue
    • cli
    • core
      • api
      • json
      • net
      • store
      • trivial
    • docs
    • features
    • net
      • api
      • core
    • of
      • api
      • ctl
      • drivers
    • openflow
      • api
      • ctl
      • drivers
    • providers
      • host
      • lldp
      • of
      • openflow
    • tools
      • build
      • dev
      • package
      • test
    • utils
      • junit
      • misc
      • netty
      • nio
      • osgi
      • rest
      • thirdparty
    • web
      • api
      • gui

 

The project root directory
Domain-agnostic and third-party utilities
Unit testing
ONOS data types, graph representations, etc.
Asynchronous messaging 
I/O loop handling
Wrappers for leveraging OSGi
Basis for JAX-RS web resources
API, network model, clustering, etc. 
North- and south-bound API definitions
Managers
Distributed Stores
Single-instance Stores
GUI & REST API
REST API resources
ONOS GUI reosurces
Karaf CLI extensions for ONOS commands
Protocol-specific providers
Applications - demos, samples, and use cases
OpenFlow libraries & IO loop 
OpenFlow provider/switch - related APIs
Controller and switch object implementations
Developer/test utilities and configuration files
Developer utilities - IDE settings, bash aliases, etc.
Build tools and configurations for Jenkins, Sonar, etc.
Configurations used for packaging
ONOS scripts, cell definitions, Mininet topologies, etc. 
target directory for Javadocs

  • -
  • onos-apps
  • onos-app-calendar
  • onos-app-config
  • onos-app-demo
  • onos-app-foo
  • onos-app-fwd
  • onos-app-ifwd
  • onos-app-metrics
  • onos-app-mobility
  • onos-app-oecfg
  • onos-app-optical
  • onos-app-proxyarp
  • onos-app-sdnip
  • onos-app-tvue
  • onos-cli
  • onos-core
  • onos-api
  • onos-json
  • onos-core-net
  • onos-core-store
  • -
  • onos-docs
  • onos-features
  • -
  • -
  • -
  • -
  • -
  • -
  • -
  • onos-of
  • onos-of-api
  • onos-of-ctl
  • onos-of-drivers
  • onos-providers
  • onos-host-provider
  • onos-lldp-provider
  • -
  • onos-of-providers
  • -
  • -
  • -
  • -
  • -
  • onlab-utils
  • onlab-junit
  • onlab-misc
  • onlab-netty
  • onlab-nio
  • onlab-osgi
  • onlab-rest
  • onlab-thirdparty
  • onos-web
  • onos-rest
  • onos-gui
  • No labels