912 Commits

Author SHA1 Message Date
FrankWang
ea70de3094 [ONOS-7602]Implement support for P4Data in PI framework and P4Runtime southbound
Change-Id: I9c0c76fb29b8c3aa36f39bde62e825f0f0094253
2018-06-08 09:04:50 +00:00
Andrea Campanella
1e5734480f [ONOS-7584] Adding Capability of re-connecting to a P4Runtime Device.
Also addresses ONOS-7359

Change-Id: I47ec4ed429af82feb225ab5ac180b94c91366a53
2018-06-08 02:14:33 +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
Yuta HIGUCHI
eee1e82746 Align artifactId naming to buck
Change-Id: I16507dbfa23b9a1f45b6c2df92bfc0284cb91715
2018-06-06 17:08:07 +00:00
Kamal Krishna Bhatt
dbef16fcd4 Fix for ONOS-7708 java.lang.ClassCastException while calling the API to get OvsdbQueue.
Change-Id: Ib67f33483f870a775d8fa73fe7aa531b97c8e1e6
2018-06-06 08:22:17 +00:00
Ray Milkey
12ceb7acdb Fix ErrorProne reported problems with null checks on primitive types
Change-Id: I0e930370743be30cfb1e149535e53caf62947683
2018-06-05 22:21:04 +00:00
Laszlo Papp
9655b18147 ONOS-5917 SNMP Alarm Provider
Change-Id: I9eb39021584f3b1a5baed9dfa638569818901197
2018-06-05 08:02:46 +00:00
Ray Milkey
3275ae800b Implement OSGI wrappers for proto jar files
Change-Id: Ic30d162093c383edc4abf5e9e9b96df669d804c8
2018-06-04 17:46:51 +00: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
472d839809 Start bazel support for protobuf models and p4runtime build
Change-Id: Ib3beb70c1b401854444b106b4af3723cd40635e4
2018-05-29 21:26:37 +00:00
Laszlo Papp
d17154d0fb ONOS-5554 Remove the BTI driver
Change-Id: I631fd8a84941b5d364d4120e17fbd2e0ac10d47b
2018-05-24 09:10:37 -07:00
Sean Condon
e4042d3486 Modifying allowed Mime Types for RESTCONF
Change-Id: Idf96164a23aeaf81dedb55b1de198b2a06f33c15
2018-05-24 14:31:55 +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
Yi Tseng
8d355132da [ONOS-7605] Unable to modify groups on BMV2
Change-Id: I797366ac152dccac75f8ed82b62abe6e5da6dd3e
2018-05-22 18:57:19 +00:00
Andrea Campanella
a74bdba108 Bug Fixes and improvements to P4Runtime subsystem
Change-Id: Ib18b08e5e4b4d552949b119d7b1201dd4ca616f6
2018-05-16 17:05:41 +00:00
Yuta HIGUCHI
cf03a0fafd Fix call passing arrays to hash
- http://errorprone.info/bugpattern/ArrayHashCode

Change-Id: Ic2ffb201de6ba2973f41868b4ed99c86ba78c359
2018-05-16 15:56:57 +00:00
Brian O'Connor
1bd4a9f12f Adding netcfg listener to disconnect switches when certificate is
updated or removed.

Change-Id: I04b170aec328b4c91a6d699ff128347d9a148736
2018-05-15 23:04:21 +00:00
Brian O'Connor
f7215b8ec7 Updating Openflow controller properties
- Moving TLS related config to separate config object
- Added support for adding/removing OF ports without restarting channel group

Change-Id: I79552334519434780d9174a1a9ff4eebc0d17194
2018-05-15 20:16:28 +00:00
kdarapu
fce5abbc5d [ONOS-7667] Code clean-up in compliance with Java8
Change-Id: Ieb17110357d8fa13705ebe9c86559b0863e77751
2018-05-15 16:06:04 +00:00
Yuta HIGUCHI
f733373baf Bug fixes
- Netconf get family should return from <data
- adapt ODTN driver to that behavior

Change-Id: I25508518354914fdd239beab3a9951eff3586e41
2018-05-15 00:01:53 +00:00
Brian O'Connor
f69e3e3409 Fix for CVE-2018-1000155
Denial of Service, Improper Authentication and Authorization,
and Covert Channel in the OpenFlow 1.0+ handshake

Change-Id: Ifd285208266a1f331f3b802cb656349aad1782a9
2018-05-10 20:52:35 -07:00
Thomas Vachuska
164ecf6019 Adding mechanism for device subsystem & providers to trigger device
reconnect in support of ONOS-7645 (device driver change)

- added device listener to OpenFlowDeviceProvider to properly disconnect switch
- removed device listener from OpenFlowControllerImpl
- augmented DriverManager to consult NetworkConfigService as a primary source

Change-Id: I1aa8e9cc7e81ff3af7a72145f4e51f3e32022806
2018-05-09 17:51:20 +00:00
Jian Li
eaf3103e7e Configure OVSDB to either run as hybrid mode or client mode
With current implementation, OVSDB is always running as hybrid
mode which is running both server and client.
In case, ONOS and OVS run in the same machine, we encounter
port conflict issues. To resolve this issue, we would like to
add a configurable parameter to enforce ONOS only runs as OVSDB
client without listening port 6640. Note that, by default ONOS
will be still running as hybrid mode.

Change-Id: I8c1d310335c0a0a661e9011905c00456baec309f
2018-05-04 21:12:38 +00:00
Yuta HIGUCHI
7847227140 Fix artifactId
- bgp, bgpcep, general provider
- onos-app- => onos-apps-

Change-Id: I49fd905a0765d21f7cc329a7f7a5593c78dd3d28
2018-05-04 16:23:00 +00:00
Yuta HIGUCHI
5233decc2a Remove deprecated NetconfSessionImpl
Change-Id: I92d9407ff4bc0c25ca7b998cc4f387c3f40f9ace
2018-05-03 16:01:08 +00:00
Ray Milkey
0225791756 Fix maven build - ONOS artifact version numbers were wrong
Change-Id: Iafbcb86067336e8dae94eec9220ccee57aeedd5e
2018-04-26 12:58:37 -07:00
Tomek Osiński
7a1db1814b Initial implementation of XMPP Publish/Subscribe
Change-Id: I9930056b83004fa7a085f72f63ba973f9ec2d95b
2018-04-26 08:22:38 +00:00
tanbangcheng
62cd4490ad Remove unnecessary code of DefaultOvsdbClient.
Change-Id: Icad49d7b7a352b6cf29d97ec217c2cc9e85ce5b2
2018-04-19 21:37:07 +00:00
tanbangcheng
e8d0439f6a Fix OvsdbControllerImpl memory leak. Fix dispatch NodeRemoved Event twice.
Change-Id: I3ddf48858549195e43f91fa23322d6b264349e6b
2018-04-18 19:11:48 +00:00
FrankWang
9ea7276ed9 minor fix for P4Runtime meter
Change-Id: Ieaf843f0fb86e9ea42c906940d4733c8733f399a
2018-04-17 15:36:49 +08:00
Ray Milkey
bca9049101 Starting snapshot 1.14.0-SNAPSHOT
Change-Id: I97bab4e31d2b701f015289eae29d0c58a4937685
2018-04-13 12:47:31 -07:00
Carmelo Cascone
384a93aada Updated pom.xml for P4Runtime proto build
Change-Id: I07a7c84c7b39be0c3777293cb3fd307e9f2f634e
2018-04-12 17:52:38 +00:00
Carmelo Cascone
81929aa0cf Bumped supported commit of P4Runtime and BMv2
Includes fixes for:
- ONOS-7593: Support for indirect resource Index type
- ONOS-7595: Removed ID from direct resources
- P4Runtime requires unset bits to be 0 in ternary field matches
- Incorrect parsing of flow rule byte counters
- Full entity names in P4Info with top-level control block (fixed only
	for basic.p4, other programs need to be re-compiled and PI IDs in
	respective pipeconf changed)

Change-Id: Ia19aa949c02e363a550e692915c6d6516a2d13d7
2018-04-11 19:04:45 +00:00
Yuta HIGUCHI
03414bb169 pom fixes
Change-Id: I87381bc9759c9d94c10270b6e75953bc5243394d
2018-04-09 18:04:43 -07:00
Yuta HIGUCHI
d1c413ba8f netconf RPC message parsing utils
Change-Id: I23d0d1a95bff3f193601eaa792e7574b7cc621de
2018-04-09 13:09:58 -07:00
Jordan Halterman
400bbe5782 Add compatibility functions to AtomicValue/Topic
Change-Id: I4a597cfa3effe0a62714ab12440a2fc41ac58aa9
2018-04-09 17:30:21 +00:00
Carmelo Cascone
8a571af574 Support for bitwise AND/OR/XOR in ImmutableByteSequence
Also, minor refactoring of the fit() method to improve code readability

Change-Id: I826650c3fc45573c723d9d2dd8692da174d9ae08
2018-04-09 16:56:49 +00:00
Ray Milkey
76e33c6a84 Fix string format bug found by error prone
Change-Id: I2ede9a739be18bafd3c70c2d0e8023ae8209e57d
2018-04-05 15:08:23 -07:00
Yi Tseng
d28936e79d [ONOS-7500] Supports PiTableEntry with no action
Change-Id: I92a38b184d4ded539297f1d99e1405eea014bda0
2018-04-05 20:33:15 +00:00
Frank Wang
d7e3b4bc9d [ONOS-7051] Support for P4Runtime meters
Change-Id: Id71374af65aeb84b71636b4ec230dc6001a77a8b
2018-04-04 00:35:08 +00:00
Ray Milkey
86ee5e8711 Upgrade fasterXML libraries for OS-9
Upgrade fasterXML to version 2.9.5 to address security vulnerability
Wrap calls to treeRead(InputStream) to handle new behavior of null streams

Change-Id: Id199cfacd0cf9e5371dc33de9f1e058c2e72eaa5
2018-04-03 16:49:03 +00:00
Carmelo Cascone
5bc7e10bea [ONOS-7474] Fixed P4Runtime detailed error logging on write requests
Change-Id: I055a158a42508c0c7a72aa178aa12f9710c8a63d
2018-04-02 20:46:55 +00:00
Carmelo Cascone
4256bded84 Support for PI table entry with default action
Equivalent to a flow rule with empty selector

Change-Id: I5dcbc234e59e3d8647476ffa54d80f5861bad077
2018-04-02 20:37:59 +00:00
debanshur
b5cf6d2180 Fix IndexOutOfBoundsException
List Operation was accessed for invalid index

Change-Id: Ib0aaabf8a6dbbcd588e3eba028db4810728fde8d
2018-03-26 18:34:09 +00:00
Charles Chan
982d390e5a Protect channelIdle from NPE
Change-Id: I9a802f2686ee9ec70ddfd52d8df2a9a2293201b9
2018-03-22 14:42:15 -07:00
Ray Milkey
054e23d0cf Add uptimes to device and cluster REST APIs
Change-Id: I0ccdf4e33135be4bcfd1674a76ff4b39e992268b
2018-03-22 13:48:50 -07:00
Jian Li
c5cd66235a Fix: resolve REST Unit test failure caused by incorrect jersey deps
Change-Id: I50f8914aed34c9014033ddaf9f4f66d938d07ade
2018-03-08 17:24:20 +00:00
Ray Milkey
8a0f4dd734 Fix unsafe synchronization on parameter variable
Change-Id: I636aaf597b215812c626aee3e6607c11f3e41a82
2018-03-07 17:29:30 +00:00