blob: 3336d39d1eec5664738035e665db91b0c8be3519 [file] [log] [blame]
CORE = [
'//utils/osgi:onlab-osgi',
'//utils/junit:onlab-junit',
'//utils/misc:onlab-misc',
'//utils/rest:onlab-rest',
'//core/api:onos-api',
'//core/net:onos-core-net',
'//core/common:onos-core-common',
'//core/store/primitives:onos-core-primitives',
'//core/store/serializers:onos-core-serializers',
'//core/store/dist:onos-core-dist',
'//core/security:onos-security',
'//core/store/persistence:onos-core-persistence',
'//incubator/api:onos-incubator-api',
'//incubator/net:onos-incubator-net',
'//incubator/core:onos-incubator-core',
'//incubator/store:onos-incubator-store',
'//incubator/rpc:onos-incubator-rpc',
'//cli:onos-cli',
'//protocols/rest/api:onos-restsb-api',
'//protocols/rest/ctl:onos-restsb-ctl',
'//protocols/bgp/bgpio:onos-bgpio',
'//protocols/bgp/api:onos-bgp-api',
'//protocols/bgp/ctl:onos-bgp-ctl',
'//protocols/netconf/api:onos-protocols-netconf-api',
'//protocols/netconf/ctl:onos-protocols-netconf-ctl',
'//protocols/openflow/api:onos-of-api',
'//protocols/openflow/ctl:onos-of-ctl',
'//protocols/ospf/api:onos-ospf-api',
'//protocols/ospf/protocol:onos-ospf-protocol',
'//protocols/ospf/ctl:onos-ospf-ctl',
'//protocols/ovsdb/rfc:onos-ovsdb-rfc',
'//protocols/ovsdb/api:onos-ovsdb-api',
'//protocols/ovsdb/ctl:onos-ovsdb-ctl',
'//protocols/pcep/pcepio:onos-pcep-pcepio',
'//protocols/pcep/api:onos-pcep-controller-api',
'//protocols/pcep/ctl:onos-pcep-ctl',
'//protocols/snmp/api:onos-snmp-api',
'//protocols/snmp/ctl:onos-snmp-ctl',
'//protocols/isis:onos-isis-api',
'//protocols/isis:onos-isis-isisio',
'//drivers/utilities:onos-drivers-utilities',
'//drivers/bti:onos-drivers-bti',
'//drivers/ciena:onos-drivers-ciena',
'//drivers/cisco:onos-drivers-cisco',
'//drivers/default:onos-drivers-default',
'//drivers/fujitsu:onos-drivers-fujitsu',
'//drivers/lumentum:onos-drivers-lumentum',
'//drivers/netconf:onos-drivers-netconf',
'//drivers/ovsdb:onos-drivers-ovsdb',
'//providers/netconf/device:onos-providers-netconf-device',
'//providers/openflow/device:onos-providers-openflow-device',
'//providers/openflow/packet:onos-providers-openflow-packet',
'//providers/openflow/flow:onos-providers-openflow-flow',
'//providers/openflow/group:onos-providers-openflow-group',
'//providers/openflow/meter:onos-providers-openflow-meter',
'//providers/ovsdb/device:onos-ovsdb-provider-device',
'//providers/ovsdb/tunnel:onos-ovsdb-provider-tunnel',
'//providers/rest/device:onos-restsb-provider-device',
'//providers/snmp/device:onos-snmp-provider-device',
'//web/api:onos-rest',
'//web/gui:onos-gui',
]
APPS = [
# Providers
'//providers/bgp:onos-providers-bgp-oar',
'//providers/host:onos-providers-host-oar',
'//providers/lldp:onos-providers-lldp-oar',
'//providers/netcfghost:onos-providers-netcfghost-oar',
'//providers/netcfglinks:onos-providers-netcfglinks-oar',
'//providers/netconf:onos-providers-netconf-oar',
'//providers/openflow/message:onos-providers-openflow-message-oar',
'//providers/ovsdb:onos-providers-ovsdb-oar',
'//providers/pcep:onos-providers-pcep-oar',
'//providers/null:onos-providers-null-oar',
'//providers/openflow/base:onos-providers-openflow-base-oar',
# Apps
'//apps/dhcp:onos-apps-dhcp-oar',
'//apps/fwd:onos-apps-fwd-oar',
'//apps/aaa:onos-apps-aaa-oar',
'//apps/acl:onos-apps-acl-oar',
'//apps/bgprouter:onos-apps-bgprouter-oar',
'//apps/proxyarp:onos-apps-proxyarp-oar',
'//apps/segmentrouting:onos-apps-segmentrouting-oar',
'//apps/gangliametrics:onos-apps-gangliametrics-oar',
'//apps/graphitemetrics:onos-apps-graphitemetrics-oar',
'//apps/igmp:onos-apps-igmp-oar',
'//apps/cordmcast:onos-apps-cordmcast-oar',
'//apps/olt:onos-apps-olt-oar',
'//apps/influxdbmetrics:onos-apps-influxdbmetrics-oar',
'//apps/metrics:onos-apps-metrics-oar',
'//apps/mfwd:onos-apps-mfwd-oar',
'//apps/mlb:onos-apps-mlb-oar',
'//apps/openstackinterface:onos-apps-openstackinterface-oar',
'//apps/openstacknetworking:onos-apps-openstacknetworking-oar',
'//apps/openstacknetworking/openstackrouting:onos-apps-openstacknetworking-openstackrouting-oar',
'//apps/openstacknetworking/openstackswitching:onos-apps-openstacknetworking-openstackswitching-oar',
'//apps/mobility:onos-apps-mobility-oar',
'//apps/optical:onos-apps-optical-oar',
'//apps/pathpainter:onos-apps-pathpainter-oar',
'//apps/pcep-api:onos-apps-pcep-api-oar',
'//apps/pim:onos-apps-pim-oar',
'//apps/reactive-routing:onos-apps-reactive-routing-oar',
'//apps/sdnip:onos-apps-sdnip-oar',
'//apps/virtualbng:onos-apps-virtualbng-oar',
'//apps/cordvtn:onos-apps-cordvtn-oar',
'//apps/vpls:onos-apps-vpls-oar',
'//apps/vrouter:onos-apps-vrouter-oar',
'//apps/vtn:onos-apps-vtn-oar',
'//apps/faultmanagement:onos-apps-faultmanagement-oar',
'//apps/openstacknode:onos-apps-openstacknode-oar',
'//apps/cpman/app:onos-apps-cpman-app-oar',
]
APP_JARS = [
'//apps/cpman/api:onos-apps-cpman-api',
'//apps/routing-api:onos-apps-routing-api',
'//apps/cip:onos-app-cip',
'//apps/dhcp/api:onos-apps-dhcp-api',
'//apps/dhcp/app:onos-apps-dhcp-app',
'//apps/drivermatrix:onos-app-drivermatrix',
'//apps/events:onos-app-events',
'//apps/flowanalyzer:onos-app-flowanalyzer',
'//apps/fwd:onos-apps-fwd',
'//apps/olt:onos-apps-olt-api',
'//apps/iptopology-api:onos-apps-iptopology-api',
'//apps/openstacknode:onos-apps-openstacknode',
'//apps/routing:onos-apps-routing',
'//apps/test:onos-app-test',
'//apps/vtn/vtnrsc:onos-apps-vtn-vtnrsc',
'//apps/vtn/sfcmgr:onos-apps-vtn-sfcmgr',
'//apps/vtn/vtnmgr:onos-apps-vtn-vtnmgr',
'//apps/vtn/vtnweb:onos-apps-vtn-vtnweb',
]
java_library(
name = 'core',
visibility = ['PUBLIC'],
deps = CORE,
)
java_library(
name = 'apps',
visibility = ['PUBLIC'],
deps = APPS + APP_JARS,
)
java_library(
name = 'onos',
visibility = ['PUBLIC'],
deps = [ ':core', ':apps' ]
)
INSTALL = [
'//utils/misc:onlab-misc-install',
'//utils/osgi:onlab-osgi-install',
'//utils/rest:onlab-rest-install',
'//core/api:onos-api-install',
'//incubator/api:onos-incubator-api-install',
'//core/net:onos-core-net-install',
'//core/common:onos-core-common-install',
'//core/store/dist:onos-core-dist-install',
'//core/store/primitives:onos-core-primitives-install',
'//core/store/persistence:onos-core-persistence-install',
'//core/store/serializers:onos-core-serializers-install',
'//incubator/net:onos-incubator-net-install',
'//incubator/core:onos-incubator-core-install',
'//incubator/store:onos-incubator-store-install',
'//incubator/rpc:onos-incubator-rpc-install',
'//core/security:onos-security-install',
'//web/api:onos-rest-install',
'//web/gui:onos-gui-install',
'//cli:onos-cli-install',
]
java_library(
name = 'install',
visibility = ['PUBLIC'],
deps = INSTALL
)