Ray Milkey
a51656db71
Jenkins STC scripts require OCC to be set
...
Change-Id: I65e512af86560dd4fd16c6d5e61f573c764dd776
2018-07-06 21:35:05 +00:00
Jon Hall
bde4f370c1
Slight fix for when help/usage is displayed for onos-power
...
Change-Id: Ic4186823ffeed77244e8f745b115fd14cd4b7628
(cherry picked from commit 78c098dcb93d3ba68749773a37b781df1a3dec6c)
2018-07-06 17:47:02 +00:00
Thomas Vachuska
2582fc2a95
Adding support for enhanced cell spec, e.g. 5+3+1
...
Change-Id: I9d23eb766eb72e559366f974afc2ec0838f82270
2018-07-02 21:57:55 +00:00
Ray Milkey
c5e2f43a8a
Upgrade ONOS to yang tools version 2.5
...
Change-Id: I2a8f9ca6637185522023123f8e0b68cbe750d3fd
2018-07-02 13:15:15 -07:00
Jordan Halterman
15f3371bdf
Refactor multimap streams to avoid blocking iteration on initialization
...
Change-Id: I6a357b37e85808972267ef2daf5328fd5035aac4
2018-07-02 18:16:32 +00:00
Ray Milkey
dbd3821cf0
Checkstyle rule to prevent throwing the generic RuntimeException
...
This is a frequent cause of sonar breakage.
Change-Id: I54e0044447633a61bab560b020b57ed0a6875ebe
2018-07-02 18:03:00 +00:00
Thomas Vachuska
510419f90a
Fixing few issues in feature generation and local run capability for Bazel build.
...
Change-Id: Ifd72aff1c56cceadd0bde93c94bdaf4a9a7dfbd2
2018-06-29 22:04:31 +00:00
Carmelo Cascone
f02872d834
Allow to build P4 tools without debug flags to improve BMv2 performance
...
If the env variable DEBUG_FLAGS is set to false, build tools without
debug features to improve throughput of BMv2 and reduce CPU/memory
footprint.
Debug features include BMv2 logging, debugger, nanomsg, etc.
With DEBUG_FLAGS=true, when running 20 BMv2 instances, it requires 4 CPU
cores 100%. With DEBUG_FLAGS=false, when running 50 BMv2 instances,
overall CPU usage is only 1%.
Change-Id: Ifdd8ea976940b440797beb0e2300a749a55907dd
2018-06-29 14:36:05 +00:00
Esin Karaman
971fb7fd1f
ONOS-7251 - Initial implementation of fabric.p4 L2 broadcast feature.
...
Thrift client cherry-picked from the commit dd5792ac9ee38a702c3128a34224852b5c284687
Change-Id: I989f2b2074485a892195889a7c976b518510da88
2018-06-28 13:34:47 +00:00
Thomas Vachuska
41c652c6ef
Adding APPS as sources to the Bazel package build rule.
...
Change-Id: I9444d255d0ec2d6680ab8fd98567ed44d9a0c53f
2018-06-27 23:53:04 +00:00
Carmelo Cascone
44448a52cc
Allow re-creating clients for the same P4Runtime addr-port
...
Change-Id: Ib3de10d047f52dd28511e71385773d4b4a9ad74f
2018-06-26 12:23:29 +00:00
Yi Tseng
13c27f180b
Update onos-gen-p4-constant script for new P4Runtime version
...
Change-Id: I6db9b826e743da70945903cdd934f47f18ba5a7b
2018-06-23 09:32:37 +00:00
Carmelo Cascone
3c216fa4f4
Fixed bmv2.py assigning gRPC/Thrift port already in use
...
Also handle Mininet exceptions by shutting down all BMv2 instances
Change-Id: I5a8d1a06441daa57c5dd3b0861f1b7484828174a
2018-06-22 14:52:15 +02:00
Ray Milkey
b7949e7a98
Generate a test rule to run checkstyle for an onos jar file
...
Change-Id: I21da8d353d592de847cc019875baa59786500cfe
2018-06-21 02:50:51 +00:00
Ray Milkey
275af2c8ff
Implement bazel rules for generation of swagger files
...
Change-Id: I0e5d33174898cc6a1bbca475f2e1696c4fdda1ca
2018-06-20 09:41:24 -07:00
Carmelo Cascone
df32beae1e
Fixed AttributeError when logging bmv2 crash in bmv2.py
...
Change-Id: Ia899a0e5090d3f27694b65f2a75f06500a0b6fec
2018-06-19 21:03:34 +00:00
Eder Ollora
319b9bfe3e
Fixed URL for p4.vim in tutorial script
...
Change-Id: Ia7a174edfd63ba677fce81fc91b4463cfc62d813
2018-06-19 15:06:39 +00:00
Ray Milkey
1bbe4615a6
Fix bazel build of p4 runtime protos
...
Change-Id: I72f8dc332fe1cfff879a7378d0953cd872ee37ac
2018-06-15 14:14:39 -07:00
Carmelo Cascone
6af4e17c53
Bumped supported revisions of P4 tools
...
Includes:
- Use new P4Runtime "v1" package names
- Removed VALID match
- New table entry priority spec (1 is min priority, not 0)
- Fixed p4c-bm2-ss to include arch flag
- Re-compiled P4 programs with more recent p4c (with updated p4info)
Change-Id: I05908f40eda0f0c755009268fd261fb8bcc9be35
2018-06-15 19:04:30 +00:00
Ray Milkey
25747d88f7
Implement bazel support for web context
...
- add web context to OSGI rules
- build ACL app
- build DHCP app
Change-Id: I03687d109eb44621458ad7269a435e03eec47495
2018-06-15 09:01:35 -07:00
Yuta HIGUCHI
59cf0c877c
Update dependencies
...
- commons-lang3 3.7
https://commons.apache.org/proper/commons-lang/release-notes/RELEASE-NOTES-3.7.txt
- commons-text 1.3
https://commons.apache.org/proper/commons-text/release-notes/RELEASE-NOTES-1.3.txt
- commons-io 2.6
http://commons.apache.org/proper/commons-io/upgradeto2_6.html
http://commons.apache.org/proper/commons-io/upgradeto2_5.html
- error_prone_annotations 2.0.18
Change-Id: I119306662ab945f876ff3832f550a5e84e40fa76
2018-06-14 16:04:29 +00:00
Yuta HIGUCHI
99a2eab49d
Workaround for rsync v6 literal handling issue
...
Change-Id: Iee6bac555e27e6350a2e378099e4e18c9c442627
2018-06-13 18:27:55 -07:00
Jordan Halterman
8f0021b0d9
Fix incorrect path after version change in onos-fetch-db
...
Change-Id: Ibbd1b79664c042ad5b16a831718012b932f0ffbc
2018-06-13 14:21:22 -07:00
Ray Milkey
47b9b450c3
Remove debug output
...
Change-Id: I57211fb1920a484b5c3d67c4e8e83c3e71e136f8
2018-06-13 13:40:16 -07:00
Ray Milkey
15053f0fca
buildifier formatting of bazel files
...
Change-Id: I8196aa52ee640d1c500307a50a0ab4921138b69b
2018-06-13 17:57:14 +00:00
Ray Milkey
02a658bb4a
Build segment routing app with bazel
...
- add support for apps depending on other apps
- build files for route-service and segment routing
Change-Id: I4850aacfe050f802072e2d59a6a21bcefd784e67
2018-06-13 16:23:14 +00:00
Ray Milkey
0fe0cdb66d
Fixes to make bazel test //... operate properly
...
Change-Id: I452ede6a6b7046c139a5db043ca643dbb86658a3
2018-06-12 18:13:55 -07:00
Ray Milkey
1ccab71e32
Bazel support for apps with more than one included artifact
...
Change-Id: I2972772517a9b5f7f1fac52b9c00123689c0881c
2018-06-12 17:58:45 -07:00
Thomas Vachuska
f5d1720a86
Consolidating BUILD files for clarity and ease of maintenance.
...
- module definitions extracted to modules.bzl
- all packaging done from top BUILD file
- removed all BUILD files from under tools tree
Change-Id: I0f45eb77c809c48d1446ce86f62be6f5baf40ded
2018-06-13 00:53:18 +00:00
Thomas Vachuska
e8f06893f7
Fixing Maven coordinates for Bazel and adding feature artifact bundle.
...
Change-Id: Ic6a3120e5316afa2c394a1c904cf848bb7ed3c76
2018-06-12 16:01:59 -07:00
Thomas Vachuska
f25c248723
Moved /features to /tools/package/features.
...
Change-Id: I6b52c92b688a833b9e3813416b785533cb4dd829
2018-06-12 13:18:45 -07:00
Thomas Vachuska
8fcd204151
Fixing bazel-based packaging of the CLI branding
...
Change-Id: I2a275a99d9a59ac4ac297e7cd445b11de63ca47b
2018-06-12 12:00:16 -07:00
Ray Milkey
25b785a91e
OSGI artifacts now carry Java compilation information
...
- java provider information produced for OSGI jar files
- osgi jar rule can now be used as a Java dependency
- osgi artifact is the public artifact for a given rule
Change-Id: I4c0a080537f712a3579b02e82e8da9238cb0ac44
2018-06-12 18:44:17 +00:00
Thomas Vachuska
0f95603f6e
Adding Bazel packaging of admin tools and test tools.
...
Change-Id: I321c79264cf5f3ca0d6c7a52e300c916acbe463a
2018-06-12 18:33:44 +00:00
Ray Milkey
12ae6cae9f
Start on implementation of apps with multiple included bundles
...
Change-Id: I8fc8474d5f2ff1b45e0dccfbe3fc20e27cc9000b
2018-06-12 02:09:35 +00:00
Jordan Halterman
156ee8a995
Upgrade to Atomix 2.0.22
...
Change-Id: Ie7bf8146e7fab99fd052daf91676069b9ba80808
2018-06-11 16:59:10 -07:00
Thomas Vachuska
a8e1bd4d7d
Sketching out packaging via Bazel
...
- modified onos-gen-lib to generate http_file properly
- fixed deps.json entries for apache-karaf & patches .tar.gz files
- sketching tools/package/BUILD file
Change-Id: I311d66095e8d744b8f61a2f3b53a635a2a42732e
2018-06-11 15:45:11 -07:00
Ray Milkey
1d52dddd41
Bazel support for ONOS applications and OAR files
...
Change-Id: Ic938dded82a68aa75d5f5df18363f3127a36d1ef
2018-06-11 22:33:56 +00:00
Yi Tseng
43ee7e8ea8
Add P4 info to java constant tool
...
Change-Id: I73a451404e8b657845bfc9b6a37abd824a10910e
2018-06-08 02:17:09 +00:00
Ray Milkey
a8cf59e03a
move osgi_feature() and wrapped_osgi_jar() out of the bazel prelude
...
Change-Id: I0266ab4dbf0d0845ccbd940f2d0d3b230bd55260
2018-06-07 16:35:10 +00:00
Ray Milkey
32ea35cd0c
Refactor of the OSGI bazel rules
...
- renamed the .bzl file to match the accepted snake case naming standard
- removed an uneccesary veneer method inside the rule implementation
Change-Id: I1e0f5aecf1d4b7b73e7376c1bb4c296960aaa5fc
2018-06-06 15:28:07 -07:00
Ray Milkey
32d99ba799
Formatting changes based on bazel style tool buildifier
...
Change-Id: I2f1536d47f6fd6c80cba45e08b715cd5a14fe5fd
2018-06-06 14:15:00 -07:00
Thomas Vachuska
aab45d17c7
Adding feature file generation via Bazel
...
Change-Id: Ifa9cdf01c3129e5cd6cb7b8f4aee956eef9055f8
2018-06-06 12:02:54 -07:00
Ray Milkey
170d7fb9f5
Add an API to determine the maven coordinates for an external artifact
...
Change-Id: Ief747497e2d02353aeb8515597f722aaf23cdf2e
2018-06-06 18:13:59 +00:00
Ray Milkey
ad83ef9912
import Python scripts into bazel
...
Change-Id: Ide26371f903356aae829d3235fe5d4bf789c1151
2018-06-05 11:33:21 -07:00
Ray Milkey
deb79f83c4
Quiet maven download messages during builds
...
Change-Id: I7471f8050217d98f3581052529bf1679a54ad001
2018-06-04 20:08:36 +00:00
Ray Milkey
3275ae800b
Implement OSGI wrappers for proto jar files
...
Change-Id: Ic30d162093c383edc4abf5e9e9b96df669d804c8
2018-06-04 17:46:51 +00:00
Andrea Campanella
4f9085e2d7
Adding an STC scenario for fabric.p4
...
Change-Id: I3457ab67c2c97eab73623500ba3f6a75b9ed33a3
2018-06-04 10:24:55 +00:00
Ray Milkey
75bd9e09e5
Improvements to Bazel workspace generator
...
- Format generatated workspace file to match bazel build file style guidelines
- Automatically generate bazel and buck versions from onos-lib-gen
Change-Id: Iaa879e4e6356e42382b0c9ba82d7ae82e87dac9a
2018-05-31 09:27:19 -07:00
Ray Milkey
816db1086a
Add modules to Bazel build
...
cli
core
incubator/rpc
pipelines/basic
protocols/netconf
protocols/openflow
protocols/rest
Change-Id: I165b94a04ba893d97d944e5deb2746f54566503b
2018-05-31 15:44:36 +00:00