Versions Compared

Key

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

...

To ensure the TL1 provider and protocol are loaded on activation of your driver, you will need to specify this in your driver BUCK file as follows (note the required_apps section):

Code Block
titleBUCK file
onos_app (
    app_name = 'org.onosproject.drivers.lumentum',
    title = 'Lumentum Device Drivers',
    category = 'Drivers',
    url = 'http://onosproject.org',
    description = 'ONOS Lumentum Device Drivers application.',
    required_apps = [ 'org.onosproject.snmp', 'org.onosproject.faultmanagement', 'org.onosproject.optical-model',
     'org.onosproject.tl1'],
)
Code Block
titleMaven pom.xml
<project xmlns="http://maven.apache.org/POM/4.0.0"
         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
...
    <properties>
        <onos.app.name>org.onosproject.drivers.lumentum</onos.app.name>
        <onos.app.category>Drivers</onos.app.category>
        <onos.app.title>Lumentum Device Drivers</onos.app.title>
        <onos.app.requires>
            org.onosproject.snmp,
            org.onosproject.faultmanagement,
            org.onosproject.optical-model,
            org.onosproject.tl1
        </onos.app.requires>
    </properties>
...
 

Missing features / Help wanted

...