25 Commits

Author SHA1 Message Date
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
Ray Milkey
2b4958a463 SONAR suggestion - don't use generic exceptions
Change-Id: I77c4325281e94e189b7f1212a932f7e912b56b51
2018-02-06 18:59:06 -08:00
Ray Milkey
094a135ef5 Removed the setServiceDirectory() method from the base web resource
This is a testing only API and potentially dangerous to allow to be public.
I modified the tests that use it to set the value using TestUtils.setField()

Change-Id: Ic590f4641f4e3de208dffa16b3df9a9a2106114b
2018-01-25 01:16:03 +00:00
Jovana Vuleta
c884b69abc ONOS-6825: added OFAgent tracer
Change-Id: Ib04184b5fe108c636f8fb9c4b721a1004b72c0a7
2017-12-01 18:19:22 +00:00
Claudine Chiu
6cbce02de2 ONOS-7276 OFAgent - fix ItemNotFoundException when processing FLOW_MOD message
Change-Id: I43c21b871dbf128ba97969987311a1c51a1820ae
2017-11-30 20:47:45 +00:00
Rodrigo Duarte Sousa
e37d129c0d FlowEntryBuilder: optmize calls to DriverService
The "FlowEntryBuilder" object calls "getDriver()" twice during a
"build()". These are very expensive calls, they can represent most of the
CPU time from an OF event. Since every instance from "FlowEntryBuilder"
has an unique "DeviceId", move the creation of the DriverHandler to
"OpenFlowRuleProvider".

Change-Id: I378f840b1e971d3b141c1a4fcbcbed62e956b578
2017-11-10 15:00:22 -08:00
Claudine Chiu
e92efeaa97 ONOS-7170 OFAgent - handle PORT_MOD; issue PORT_STATUS messages when virtual port state changes
Change-Id: Ibc4b91ca057e411311baaeb4a769fa967013d304
2017-11-01 18:18:50 +00:00
Claudine Chiu
b211b87829 ONOS-5457 OFAgent - handle GROUP_MOD and METER_MOD controller to switch command message
Change-Id: Ib34f22581d8f4a89fcf2fbfc8ab66306d87137a5
2017-10-30 15:19:20 +00:00
Claudine Chiu
20cbd45fec ONOS-5457 OFAgent - handle FLOW_MOD controller to switch command message
Change-Id: I6c5328f9cb32cf77a4e8dfa7aea6ede518602af6
2017-09-26 22:17:27 +00:00
Claudine Chiu
ce8ccc604f ONOS-5475 OFAgent - Handle OFFlowStatsRequest, OFTableDescStatsRequest, OFGroupStatsRequest, OFGroupDescStatsRequest
Change-Id: I67734951a756ea61d8aaf9d520b3101141e3d73c
2017-08-17 14:12:41 +00:00
Claudine Chiu
5c184e10d3 ONOS-5463 OFAgent - handle LLDP (based on OVX's handling of LLDP)
Change-Id: Ie1f78ba0e4f632b9566a007aa63fcc16d0976f4d
2017-08-15 18:28:53 +00:00
Claudine Chiu
2729ffd77c ONOS-5475 OFAgent - handle PortStatsRequest
Change-Id: I6fe87bd2d390dffffde0ccb8c72892bdf23e5198
2017-08-15 18:28:45 +00:00
Brian O'Connor
a09fe5b0b7 Updating Copyright line to Open Networking Foundation
Change-Id: Icba96d7f39a065b53f34a6aeb71afd1f7d51f774
2017-08-03 21:12:30 -07:00
Claudine Chiu
785ef2d7b8 ONOS-6626 OFAgent - return port info in PortDescStatsReply and PortStatus messages
Change-Id: I79201784f533dae34d8274fe2fb54e259e8a4a48
2017-07-11 00:28:00 +00:00
Eric Tang
df833c888d ONOS-6546 Fix NullPointerException.
Change-Id: Ib3fd45fe957d3f17b096b7b8c2fa8d760fbe9f24
2017-06-29 05:10:51 +00:00
Claudine Chiu
7c6d51c82f ONOS-6626 OFAgent - handle RoleRequest
Change-Id: I31b2f701a566a06126fa47fb5dd726779e625184
2017-06-18 14:21:05 +00:00
Claudine Chiu
e2d5acc54a ONOS-6626 OFAgent - handle StatsRequest, GetConfigRequest and SetConfigMessage
Change-Id: Ie6744c7846c41024173049d2094260ea571844b3
2017-06-14 00:03:07 +00:00
Jian Li
242ce52420 Fix: resolve address conflict issue by extending ResourceTest
Change-Id: Ia1bdbefc715c1c4f120136e5cb21fdbb3cc54617
2017-05-23 11:49:42 +09:00
Jovana Vuleta
fe32db7d4c ONOS-5504: Added REST API for administering OFAgent.
Change-Id: Idc9a18fc82ec23fbb8348fe213f8007e362253ac
2017-05-19 22:25:57 +00:00
Jian Li
997fda6688 Fix checkstyle error to resolve maven build problem
Change-Id: I46c7283b2bd2d93bd987bfad74b38e50d3f2e522
2017-05-15 22:59:38 +09:00
Hyunsun Moon
0bfc04abbd Removed delays from unit tests
Change-Id: I10679f09d4c533bad26b37419ca2ac8f821b08f6
2017-05-10 18:46:24 +00:00
Hyunsun Moon
53381e8283 ONOS-5503 Added CLIs for administering OFAgent
Change-Id: I58256316e2054952da9dce04bf927901761807e5
2017-03-31 17:48:46 +00:00
Hyunsun Moon
f4ba44f7fc ONOS-5450 Initial implementation of OFAgent
- Refactored OFAgent immutable
- Added OFAgentStore and OFAgentEvent
- Implemented OFAgentManager and OFSwitchManager
- Added unit tests

Change-Id: Ie39ad2db9e6bd6259a062371b3ffe116b8c8cc52
2017-03-27 06:06:48 +00:00
Daniel Park
be6b67328d [ONOS-5451] Implement virtual switch and controller connection handler
- ONOS-5453 that implement OF message encoder/decoder is also covered
- When OFConnectionHandler.connect() is called, it connects to the tenant controller with given vSwitch
- OpenFlow sesstion establishment will covered with ONOS-5452

Change-Id: I0c69d0ceac5aa04590d41f5b26170939ef6f5268
2017-03-08 01:03:15 +00:00
Hyunsun Moon
90163bab47 ONOS-5449 Implemented skeleton of OFAgent application
Change-Id: Ie6c719872549a004471e466a43a2b531bc48b231
2017-01-31 05:26:11 +00:00