BUCK
3.52 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
osgi_feature (
name="onos-thirdparty-base",
title="ONOS 3rd party dependencies",
required_features = [],
included_bundles = [
'//lib:commons-lang',
'//lib:commons-lang3',
'//lib:commons-configuration',
'//lib:guava',
'//lib:netty',
'//lib:netty-common',
'//lib:netty-buffer',
'//lib:netty-transport',
'//lib:netty-handler',
'//lib:netty-codec',
'//lib:netty-transport-native-epoll',
'//lib:commons-pool',
'//lib:commons-math3',
'//lib:joda-time',
'//lib:metrics-core',
'//lib:metrics-json',
'//lib:minimal-json',
'//lib:kryo',
'//lib:reflectasm',
'//lib:asm',
'//lib:minlog',
'//lib:objenesis',
'//lib:jackson-core',
'//lib:jackson-annotations',
'//lib:jackson-databind',
'//lib:commons-collections',
'//lib:typesafe-config',
'//lib:concurrent-trees',
'//lib:commons-io',
'//lib:onos-atomix',
'//lib:jersey-client',
'//lib:mapdb',
]
)
osgi_feature (
name="onos-thirdparty-web",
title="ONOS 3rd party dependencies for web apps",
required_features = [ 'war', 'onos-thirdparty-base' ],
included_bundles = [
'//lib:jersey-common',
'//lib:javax.annotation-api',
'//lib:javax.ws.rs-api',
'//lib:hk2-api',
'//lib:hk2-locator',
'//lib:hk2-osgi-resource-locator',
'//lib:javax.inject',
'//lib:jersey-guava',
'//lib:jersey-server',
'//lib:aopalliance-repackaged',
'//lib:hk2-utils',
'//lib:validation-api',
'//lib:javassist',
'//lib:jersey-container-servlet',
'//lib:jersey-container-servlet-core',
'//lib:jersey-media-multipart',
'//lib:mimepull',
]
)
osgi_feature (
name = 'onos-api',
title = 'ONOS services and model API',
required_features = ['scr', 'onos-thirdparty-base'],
included_bundles =[
'//utils/misc:onlab-misc',
'//utils/osgi:onlab-osgi',
'//core/api:onos-api',
'//incubator/api:onos-incubator-api',
]
)
osgi_feature (
name='onos-core',
title='ONOS core components',
required_features = ['onos-api'],
included_bundles = [
'//core/net:onos-core-net',
'//core/common:onos-core-common',
'//core/store/dist:onos-core-dist',
'//core/store/primitives:onos-core-primitives',
'//core/store/persistence:onos-core-persistence',
'//core/store/serializers:onos-core-serializers',
]
)
osgi_feature (
name='onos-incubator',
title='ONOS core incubator components',
required_features = ['onos-core'],
included_bundles = [
'//incubator/net:onos-incubator-net',
'//incubator/core:onos-incubator-core',
'//incubator/store:onos-incubator-store',
'//incubator/rpc:onos-incubator-rpc',
]
)
osgi_feature (
name="onos-rest",
title="ONOS REST API components",
required_features = ['onos-api', 'onos-thirdparty-web'],
included_bundles = [
'//utils/rest:onlab-rest',
'//web/api:onos-rest',
]
)
osgi_feature (
name = 'onos-gui',
title = 'ONOS GUI console components',
required_features = ['onos-api', 'onos-thirdparty-web'],
included_bundles = [
'//lib:jetty-websocket',
'//utils/rest:onlab-rest',
'//web/gui:onos-gui',
]
)
osgi_feature (
name = 'onos-cli',
title="ONOS admin command console components",
required_features = ['onos-api'],
included_bundles = [
'//cli:onos-cli',
]
)
#FIXME
# osgi_feature (
# name = 'onos-security',
# title="Security-Mode ONOS",
# required_features = ['onos-api'],
# included_bundles = [
# 'org.onosproject/org.apache.felix.framework.security/2.2.0.onos',
# 'org.onosproject/onos-security/@ONOS-VERSION',
# ]
# )