902 Commits

Author SHA1 Message Date
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
Yuta HIGUCHI
ad7116e3b8 missing link for gNMI stub
Change-Id: I86b106f59414b528b027c5b55173915106f99dd0
2018-03-06 21:35:55 -08:00
Yuta HIGUCHI
165afdd619 pom fix around gNMI
Change-Id: I6cd5190e7a9daa3d9050893d7b6195a01e549090
2018-03-06 20:28:45 -08:00
Yuta HIGUCHI
8c0c8eff52 Fix xmpp project structure problem
+ error-prone bug fix

Change-Id: I5098f1052a3b287b0990959d4d9d83ab7477cdad
2018-03-07 03:51:29 +00:00
Ray Milkey
8124ac9bb5 Fix SONAR problems
Change-Id: I5c84f1b0879a9aecef5baeee8fe26601d7bde18e
2018-03-06 17:56:03 -08:00
Tomek Osiński
e9ccf4196d XMPP as SBI support: implementation of core XMPP and Xmpp Device Provider
State machine handled by XmppSession interface, most of tests implemented

XmppDeviceFactory re-designed, tests updated

pom and BUCK files updated

Change-Id: I4c6955e091169c945415084cbb000c61b474c0fc
2018-03-06 21:01:53 +00:00
Yuta HIGUCHI
b31c4c54f9 Cleanup netconf-api pom
Change-Id: I0a37a7247586ee33fa4af9115ba93ca82662305e
2018-02-26 20:40:11 +00:00
Jian Li
5d505f2466 Bump up Jersey from 2.25.1 to 2.26 with corresponding deps updated
Change-Id: I0f9f6795187f78a777852678ab1a7d1442a49986
2018-02-26 19:09:52 +00:00
rohitsharan
a127ba895c Adding openflow protocol set support in onos for device
Change-Id: Id796e54b536eda19d511a1978657abd6e149f117
2018-02-16 18:05:26 +00:00
Ray Milkey
0e814b38f0 Remove deprecated static factories
Change-Id: I69a21b769ea6dc07597618330ba06ce7a11d392d
2018-02-15 13:53:20 -08:00
Ray Milkey
505d4e31a1 Remove deprecated static factories
Change-Id: If6490f504582c05a88b812547b7ede2b5d46b247
2018-02-15 13:34:13 -08:00