1663 Commits

Author SHA1 Message Date
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
Ray Milkey
95c9e0fdea Upgrage EasyMock to version 3.6
Change-Id: Ib87cf414ca849cb19dc68a416de1e236d917aa8c
2018-05-30 15:37:37 -07:00
Ray Milkey
cd3e6927c4 Remove duplicated library in deps.json
Change-Id: I74dcfa4778d3debe265b0fec53ee378fec3d4ead
2018-05-30 14:31:54 -07:00
Ray Milkey
a6bb73be12 quagga is now part of the base image
Change-Id: Id3360860f1b5513c17d443c2f91fe0a24b139d02
2018-05-29 22:20:36 -07:00
DongRyeol Cha
5c0a9f0d0a Supports IPv6 address for scp and rsync
ONOS-7680

Change-Id: Ica7466715c64765310bfc7bf34126ed02d1818b7
2018-05-30 04:17:10 +00:00
Ray Milkey
64c093649b update SNAPSHOT check exclusions
Change-Id: Ia00129925a77c90c6c8af5f7fb83f6d7ddbe3db9
2018-05-29 15:40:15 -07:00
Ray Milkey
df6722181e BTI driver was removed
Change-Id: Id104ef5a23eddcf500f222024d85f71b6a59a268
2018-05-29 22:22:49 +00:00
Ray Milkey
472d839809 Start bazel support for protobuf models and p4runtime build
Change-Id: Ib3beb70c1b401854444b106b4af3723cd40635e4
2018-05-29 21:26:37 +00:00
Ray Milkey
0bcdfd1e59 reformat bazel files to use Google coding standards
Change-Id: I320f0ca7ccb1b2247ccdd9fa58fefca7dad8a16f
2018-05-23 14:07:19 -07:00
Ray Milkey
7dac7dadf5 Initial builds using bazel
Change-Id: I38123b396a2ffda5f36cdca43f3ad1fa67a7ab52
2018-05-23 20:38:54 +00:00
Yuta HIGUCHI
42cc140568 Sync plugin versions for build-conf
- apply checkstyle to self

Change-Id: Ib2b429bfbef0a273fe949f312875e8906d2b0310
2018-05-22 19:15:50 +00:00
Ray Milkey
b32da8553c Increase Felix lock acquisition timeout
Change-Id: I4b2f49c270d6f6f7ac3ed21b5a6ffb9a849b7319
2018-05-22 02:48:39 +00:00
Ray Milkey
edb02ce519 STC scenario for device removal
Change-Id: I75500d12406b4c23d58d3e02222443cc93bc377d
2018-05-22 02:48:23 +00:00