927 Commits

Author SHA1 Message Date
Yuta HIGUCHI
fbd9ae9cdf Various small fixes
Change-Id: I83802169d0d968f7b88d4be2cedba74b15fdd7da
2018-01-25 22:17:25 +00:00
Jonathan Hart
34a14f71f0 Add more logs to help debug packet processing issues
Change-Id: Ia9e36bff44b6bad018305725ebb0fc2a47c86376
2018-01-25 22:13:44 +00:00
Ray Milkey
06297ed618 SONAR suggestion - Synchronize initialization of static fields
Change-Id: I2ddf8220bda49f235ddfc5713174c11a147df354
2018-01-25 00:49:28 +00:00
Yi Tseng
9539082d93 [ONOS-7393] Allows TableEntryEncoder decode action profile group and member id
Change-Id: Iffac08f2d0929144d438dcb61d381fbc2f6393ea
2018-01-24 09:48:29 -08:00
Andrea Campanella
bf9e5ce3f5 [ONOS-7137] Interfaces Discovery through gNMI
Also, bumped version of gNMI proto as supported by PI

Change-Id: If2903b2dc483f545893daae77f993cc7dadee468
2018-01-24 16:54:21 +00:00
Yi Tseng
02c4c579f4 [ONOS-7392] Fix P4Runtime priority bug
Change-Id: I97aabb25ebf4f2d16c3c7f17f369a7744ef03994
2018-01-23 07:50:31 +00:00
Saurav Das
45f4815be0 Take down edge ports on a leaf switch when all uplinks are gone
- Bug fix for case when all uplinks are gone, but dual-homed host continues to send packets to switch;
  We now administratively take down the host port to force the host to use the other leaf in the pair.
- Restructured SR manager by creating a LinkHandler
- fixed/added some log messages

Change-Id: I3722cd364dc8798b16891519bec165627e92bd87
2018-01-19 18:30:10 +00:00
Ray Milkey
7b332f168f SONAR suggestion - possible NPE if date is not set
Change-Id: I35a58ad7a5f82250fa56f49cdca4a22b437ea202
2018-01-19 18:23:04 +00:00
Ray Milkey
fe0e085ed2 SONAR suggestions - boolean expressions that are known to be 'true' or 'false'
Change-Id: I4e089cb606ecf43444b4d567ad63d622f37506ce
2018-01-19 08:59:46 -08:00
Ray Milkey
74e5913ec3 Sonar suggestions - fixes to potential null pointer dereferences
Change-Id: I4e350a9d72a9322971d5d4f831f1bdf167986b87
2018-01-18 19:01:54 +00:00
Laszlo Papp
8596fde581 Fix the JIRA ticket number in a comment
Also, abstract is implicit.

Change-Id: Ia3122058a9ff988dfa71214c922be67eb430e65c
2018-01-17 10:08:14 +00:00
jaegonkim
7b77f71246 [ONOS-7374] OvsdbBridges obtained by DefaultOvsdbClient.getBridges() do not have controller information
Change-Id: I74640e991940e1b63e34c95512466e0807d33271
2018-01-17 00:22:19 +00:00
Ray Milkey
9c9cde4d4d SONAR Suggestion - protected members in final classes are pointless
Change-Id: Ie34d86aecf181e73867a14864d75e0db8a8f48f3
2018-01-17 00:18:50 +00:00
Ray Milkey
d6c4280f5e Sonar suggestion - don't lock on a field that is being modified
This code could also throw an NPE if called at the wrong time.
Fixed by saving the value to lock on before saving the new value.

Change-Id: I6a7570c00135d7cff31f3429af1067f4228e5189
2018-01-16 21:11:23 +00:00
Manjunath Vanaraj
59ad65730a [ONOS-7334] Using Cache Loader to remove stale entries in p4runtime
Change-Id: Ieead6e199faf23f5fa316516adab659d3e192950
2018-01-13 02:05:59 +00:00
Saurav Das
bd071d8227 Bug fix in routing logic - should let routing process continue
if a particular route-path is ignored. Also added info logging for port-status
messages to clearly identify messages coming from the switch as opposed
to possibly fake updates generated by ONOS.

Change-Id: Ib03dfe0e2dcdcfb046d58657473fa4122ec15190
2018-01-10 17:38:52 +00:00
ONOS Jenkins User
45d340c839 Starting snapshot 1.13.0-SNAPSHOT 2018-01-09 01:56:13 +00:00
ONOS Jenkins User
32ebb5add8 Tagging 1.13.0-b8 2018-01-09 01:54:28 +00:00
Thomas Vachuska
d75684aa58 Setting dispatcher to null to pre-empt potential for duplicate
invocations of showdownNow method.

Change-Id: I492e18a38979fa8772039b0e0bac32d6146a2041
2018-01-09 00:54:40 +00:00
Carmelo Cascone
47a853baad ONOS-6680 Clean up implementation of gRPC controller
Change-Id: If84172d0a2dd64090557542af8ae12920260229f
2018-01-05 23:14:37 +00:00
Laszlo Papp
edadbe2574 Do not send table stats request if unsupported
Change-Id: Ia66447aad1eeb0a01577215e4c5985526dadd274
2017-12-20 09:33:44 +00:00
Ray Milkey
b68bbbc5ac Sonar suggestion - use a secure random number generator
Change-Id: I28075845555bcbc384a49e07353b3192c413b8f7
2017-12-19 17:58:54 +00:00
Ray Milkey
9922d5cd64 Sonar suggestions - comparison logic
- make members private
- use Integer.compare()
- use and operation to be sure both pointers are not null in if comparisons
  in compare() method

Change-Id: Iab9da32a28a49bc258ab5f600feff5c155c59a91
2017-12-19 17:58:54 +00:00
Yuta HIGUCHI
f83c8cfdf6 Maintain OFPortDesc up-to-date
- OFPortDesc cache managed by AbstractOpenFlowSwitch was not always maintained properly.
  reorganized data structure to maintain per OFPortDesc, last known instance

Change-Id: I1b26d7ca284e44bf9744c30374394c581653d78f
2017-12-18 14:58:22 -08:00
fahadnaeemkhan
2675a271cb OAuth2 authentication support for patch API, (HttpSbController)
Change-Id: I4b0ae5d0ab60db968812eb5d26b277a1975e8098
2017-12-18 19:52:04 +00:00
Mehmed Mustafa
3e269df520 Initial P4Runtime unit tests
Change-Id: I167fdd005f20ac8df00dd6e252f928896a4809c4
2017-12-17 10:59:23 -08:00
Ekber Aziz
123ad5d560 P4Runtime unit tests for api, ctl, model modules
Change-Id: Iac1b1ef6e274c355ce3a26cffbd8adcb39694f69
2017-12-17 08:09:22 -08:00
Ray Milkey
06e51b3e22 Fix protobuf compiler commit number dependency
Change-Id: I35c500a8d3a25496a1898b39fe21836da27feeff
2017-12-13 11:30:13 -08:00
Andrea Campanella
23e1663656 Fix for gRPC version in GNMI stubs
Change-Id: I416455aeca5ccbcf8a6b638e2643152545082e16
2017-12-13 12:59:31 +01:00
Carmelo Cascone
b1936bd93f Bumped version of gRPC to 1.3.1
Change-Id: I7798476bd443a796e0e6a6e149ab8f66435ba4fa
2017-12-13 03:24:50 +00:00
Carmelo Cascone
dd85ce8156 ONOS-7152 Buck build of gNMI auto-generated gRPC stubs
Change-Id: I214a1e28aaee456f2d48ddcda1af18619275e863
2017-12-12 23:14:38 +00:00
Andrea Campanella
8bcd5863ff [ONOS-7311] and [ONOS-7197] Update ONOS to support most recent version of BMv2 and PI
Change-Id: Ie69cfe1946f3c9241dc7f59a64bd40005a063931
2017-12-12 14:03:36 -08:00
ONOS Jenkins User
61881df1ee Starting snapshot 1.13.0-SNAPSHOT 2017-12-12 21:19:45 +00:00
ONOS Jenkins User
d22dccc27f Tagging 1.13.0-b7 2017-12-12 21:18:01 +00:00
ONOS Jenkins User
4bf9e3a520 Starting snapshot 1.13.0-SNAPSHOT 2017-12-12 18:46:22 +00:00
ONOS Jenkins User
168ac92b8d Tagging 1.13.0-b6 2017-12-12 18:44:15 +00:00
ONOS Jenkins User
0e78e27f0c Starting snapshot 1.13.0-SNAPSHOT 2017-12-12 03:27:00 +00:00
ONOS Jenkins User
2a7d833cab Tagging 1.13.0-b5 2017-12-12 03:25:23 +00:00
ONOS Jenkins User
c53a15f933 Starting snapshot 1.13.0-SNAPSHOT 2017-12-11 20:43:30 +00:00
ONOS Jenkins User
d06da9e33c Tagging 1.13.0-b3 2017-12-11 20:41:44 +00:00
ONOS Jenkins User
716484c58c Starting snapshot 1.13.0-SNAPSHOT 2017-12-09 03:41:19 +00:00
ONOS Jenkins User
6a6ac1d5a0 Tagging 1.13.0-b1 2017-12-09 03:39:39 +00:00
ONOS Jenkins User
a57a814230 Starting snapshot 1.13.0-SNAPSHOT 2017-12-09 00:57:30 +00:00
ONOS Jenkins User
8977cedde7 Tagging 1.13.0-b0 2017-12-09 00:55:39 +00:00
Yuta HIGUCHI
c2af9661ef sync javax.ws.rs-api version
Change-Id: I1a033c093d7cc63626387b712e5c3c7a8fdf116c
2017-12-08 18:58:06 +00:00
Dimitrios Mavrommatis
89e60d7688 Removed custom PATCH interface
With the new updated RS library the PATCH is already defined so there is no need for the interface.

Change-Id: I7c826dffc96e855efbf42b55130e903124bc29d1
2017-12-08 01:14:59 +00:00
Yuta HIGUCHI
fc66705fcb Step to rationalize rest SBI
- Only update device, which configuration changed,
  not walk everything everytime
- workaround to handle cases where username can be null or "".

Change-Id: Iaeda3dbe3cae20c3248735a1c318f4ace40e0c46
2017-12-06 18:28:29 +00:00
fahadnaeemkhan
02ffa7120d added OAuth2 authentication for REST protocol
Change-Id: I3b8f3943ea043587730870a0b861760a4d6f3aa7
2017-12-05 14:33:19 -08:00
Yuta HIGUCHI
e34c9c2989 minor netconf related fixes
Change-Id: Ie62c2c4f12cc672d1b5aec8feb4911e8393c6438
2017-12-05 18:30:24 +00:00
Jordan Halterman
a02bb6d9d3 [ONOS-7277] Use thread safe list for OF ports to avoid ConcurrentModificationException
Change-Id: Iada077126401ddb12e049b72890f82bf7948827b
2017-11-30 19:35:17 +00:00