274 Commits

Author SHA1 Message Date
Sangsik Yoon
f0b3ad8447 [OpenTAM_DPIS] DPI Statistics Manager & dpis CLI
- Fixed Thomas Vachuska's comment
   .Removed DpiStatisticsJson.java and related codes for avoiding confusion within package because this does not need anymore.
   .Simplified execute() code and fixed comments in DpiListCommand
   .Added javadocs for public methods and fixed typos
 - Rebased from master 1.8.0-SNAPSHOT, 2016.10.14

 - Upgraded the function and performance.
   .changed List<DpiStatistics> to SortedMap<DpiStatistics>
   .added DpiStatisticsService interfaces to get DpiStatistics by receivedTime
   .added more options of dpis CLI: displays indivisual category by topn
   .and some bug fix

 - Fix javadocs and ONOS style method name.
 - Fix javadocs error.

Change-Id: I07a058e04f63bd9c547a5d605975b214eec0ce1f
2016-10-17 17:59:33 +00:00
Jon Hall
dbe4c53b85 Update map names to match naming convention
Change-Id: Ieea30b4531da468824e22af1679acfc556887a2a
2016-10-17 13:07:16 +00:00
Yoonseon Han
6c60389e14 In vnet CLI, separates virutal port creation and binding operations.
Original usage with specifiying a phyiscal port is also in supporting.

Changes.
1. vnet-create-port allow to create virtual port
   without a specific virtual port
2. vnet-bind-port command is added to newly bind or to update
3. Virtual binding point is changed from Port to ConnectPoint.

Change-Id: I4c8f9a2b9b2786ba519ead3559d7f005390fee86
2016-10-13 18:38:44 +00:00
Sithara Punnassery
589fac2283 ONOS-5318 Proprietary Config Store
Change-Id: Ic787d73d9d541a93f5e957a3369dbab4b5fa9a6c
2016-10-12 20:04:49 +00:00
Sho SHIMIZU
6e71804d63 Simplify catch clauses
Change-Id: Ib49ac1d8f7e42323d72a99d1c807f610f48b71ee
2016-10-06 19:04:14 -07:00
Luca Prete
e4a5e1af17 ONOS-5236 - Adapt SDN-IP to the new intent framework APIs
Change-Id: I89b60602247a25a1879e4394a60c57d480881f74
2016-10-06 07:21:06 +00:00
Jonathan Hart
2efe0c2465 NeighbourMessageContext: Change the name of the proxy API to forward.
Change-Id: Ica58c55d03c7e86ae259cc52a6c16ab9982d004f
2016-09-21 12:04:45 -07:00
Simon Hunt
b058249f17 Cleaning up Javadocs in core-ui classes.
Added common constants to AbstractCellFormatter.

Change-Id: Ie20ea62f059646e7d6c7f3660dd60a60c40532fe
2016-09-20 18:26:45 -07:00
tony-liu
684b2b85e3 ONOS-5270 Tunnel needs more specific states.
Change-Id: I18ddc67d55add27c970385a9048daff97f00d902
2016-09-21 00:27:51 +00:00
Pier Ventre
0ba98527a8 Fix NeighbourResolutionManager which always
sets the context as handled, updates learningswitch
version and fixes a checkstyle error.

Change-Id: I30a9abae60a808e3d610e5a7086cc7ee53720bb9
2016-09-20 16:50:27 +00:00
Brian O'Connor
bfc02ecd22 Bumping snapshot version to 1.8.0-SNAPSHOT
Change-Id: I4ca57b277d8ac814b8a10b107d995cb1cc4d499d
2016-09-16 17:41:55 +00:00
Brian O'Connor
b19fc86f82 Bumping version back to 1.7.0-SNAPSHOT
Change-Id: I1df9d0f12cd7ec7597499d41cacebdbe75899556
2016-09-16 00:12:21 -07:00
Brian O'Connor
338bc0cf19 Bumping pom versions to 1.7.0-rc2 and fixing some maven issues
Change-Id: I6169420328333d0916452aa92efbfa961d72e9c4
2016-09-16 00:11:45 -07:00
Brian O'Connor
0a4e6742b8 Copyright update
Change-Id: I534d938da3820f6fb814aed3bb4a0855fa41ddd5
2016-09-16 06:48:34 +00:00
Jonathan Hart
c004adf894 NeighbourMessageService: Don't push ARP flows when there are no handlers registered.
Fixes ONOS-5277

Change-Id: Ie7ff6ed10d14f4ec8f96327d323ace50c85c8a19
2016-09-16 00:35:03 +00:00
Madan Jampani
3b8101a304 Refactored IntentPartitionService as WorkPartitionService
Change-Id: Ic5cf1978b7fce55b34f84eae9b03c8f9ddcfb9c1
2016-09-15 21:09:32 +00:00
Jonathan Hart
1e393bbfa3 Rename some classes and methods of neighbour API
Change-Id: I77763adbd19b35fe9ad7efa2926751a68bf9a1ef
2016-09-14 21:46:46 +00:00
Jonathan Hart
c4f681c776 Reimplemented the ProxyArp app on top of the NeighbourResolutionService.
Also some small API changes to track app ID of handler registrations, and
improved interface matching in NeighbourPacketManager.

Added CLI to view handler registrations.

Change-Id: I8cd0b91a16d9ec60287b65f9d8fc5e3cd87560e8
2016-09-14 15:31:25 +00:00
Thomas Vachuska
eddce78fcc Temporarily disabling NeighbourPacketManager to fix STC tests.
Change-Id: I21a1bc612de08ef96972044f5612cfb292841b61
2016-08-30 21:58:55 +00:00
Jonathan Hart
9bdaaecaf0 Implementation of the NeighbourResolutionService.
Change-Id: I41fc48578df3027ec71ee7369171c8988ee7a85e
2016-08-30 17:43:44 +00:00
Yuta HIGUCHI
179af1eaa6 Bump gRPC version to 1.0.0 GA
Change-Id: If4220ab94394639e356ef7fca46936a28644cd73
2016-08-24 01:50:52 +00:00
Thomas Vachuska
d4955ae9e5 Preventing NPEs in stores via notifyDelegate
Change-Id: I1c4b83c6a03b1f69a3ea1329724a7208d47cefa4
2016-08-23 22:19:12 +00:00
Yuta HIGUCHI
3680fabba3 ONOS-4801 add default available field to gRPC model
- replace deprecated methods with new Protobuf 3 API
- cosmetic changes

Change-Id: I4655fc0fd76c8de83ea03615fc876c5aa9445367
2016-08-23 21:44:46 +00:00
Viswanath KSP
22774cd863 Addressing review comments of patch-3
Addressing review comments of patch-2
Fixing javadoc warnings
Pushing changes for onos-5146 - Added 2 new APIs in DeviceService.java to get port specific PortStatistics by specifying Device ID & Port Number. Also implemented the APIs in SimpleDeviceStore etc. This will be a very useful API for app developers who are intersted to query port specific port statistics

Change-Id: I8f3e5a443eb5b50237a679999311b48609e54a44
2016-08-22 20:00:07 +00:00
Jonathan Hart
f79ab48e2e Protect the RouteManagers threads from exceptions thrown by listeners
Change-Id: Ia260dcdcb83070939b96e4c7fb8d20baa0ae78a5
2016-08-22 16:51:45 +00:00
Jonathan Hart
06e890869d Abstraction to help applications write logic to handle ARP + NDP packets.
The idea is to allow applications to contribute NeighbourMessageHandlers to
handle ARP/NDP packets coming from a particular ConnectPoint, Interface or with
a particular traffic selector. Applications can contribute different handlers
for different ports, because they know how those ports will be used. Also,
multiple applications can contribute handlers for different ports/interfaces
without having to have one ARP handler for the entire network. The framework
provides actions that the handler can choose to take - flood, proxy, reply, drop.
The handler is free to implement some other action if none of these fit what it
needs to do. The framework also handles many of the common tasks for ARP handlers,
like parsing packets, abstracting the differences between ARP and NDP, implementing
actions like replying to a request. This allows handlers to be very simple and
easy to understand and implement.

Change-Id: I313c723e9ebc3d0816eb79870ee0536780e7a640
2016-08-18 16:18:19 +00:00
Yuta HIGUCHI
0de4ba9401 Remove duplicate version specifications
Change-Id: I0fe6027e66815ab2e7db5e090dd5aea39b3c36e1
2016-08-18 15:59:50 +00:00
Yuta HIGUCHI
88353862f7 Consolidate gRPC OSGi bundle handling
Change-Id: I01e5058e08372b142058769db081b8de154e1c9b
2016-08-10 23:52:18 +00:00
Jonathan Hart
097c8f5bb1 Add gRPC API for multicast service.
Change-Id: I003b982145c788e74c39f525122d58f3204b1c0e
2016-08-10 19:28:15 +00:00
Thomas Vachuska
5064bac254 Bumping version of onos-maven-plugin to 1.11-SNAPSHOT.
Moving ONOS dependency to be on release version 1.10.
Cleaned up a few pom.xml files from redundant plugin configuration.

Change-Id: I9cc31731dc26dd97292911f9a64795f2865e386d
2016-08-09 14:23:55 -07:00
Yuta HIGUCHI
9efba1ee82 Update ProtoBuf 3 & gRPC
- Protocol Buffers: 3.0.0
- gRPC: 1.0.0-pre2

Change-Id: Ic80d3f660d4a0aa37a99d4e6d4dc45e0b70b073b
2016-08-09 19:46:02 +00:00
Sho SHIMIZU
a09e1bbdbd Use Collection#forEach() instead of Stream#forEach() for simplicity
Change-Id: I0a1aea4bdb5d305c50273e6ff749fe71bd2a295a
2016-08-09 17:44:13 +00:00
Thomas Vachuska
d13e4a49b0 Shutting down executor immediately to avoid evaluation of queued up tasks.
Change-Id: I4a8c2287fa4a760b9a840f681f22a7212d850ae8
2016-08-08 22:44:39 +00:00
Thomas Vachuska
c8187a0158 ONOS-5092 Moved expensive processing off the listener thread.
Change-Id: I9c1ac9521b608c273d71b990aba60b64e225dc7e
2016-08-08 11:56:24 -07:00
Ray Milkey
bb23e0b5fb Fix Javadoc warnings
Change-Id: Icf8b6b6f77ea80d3975aa975226a178145067adf
2016-08-03 14:29:51 -07:00
Yuta HIGUCHI
b9af6b79ef [ONOS-4691] Refactoring OpticalPortOperator (2/3)
- Define ConfigOperator for a Port
- Refactor OpticalPortOperator as PortConfigOperator
- Add plug-in mechanism for PortConfigOperator on DeviceManager
- Move OpticalPortConfig, OpticalPortOperator to optical-model bundle

Change-Id: I5d416305b0c1b0e31e0ad64baa92d126303548bc
2016-08-03 18:54:26 +00:00
Brian O'Connor
d03d7dd559 Cleanup of AbstractPathService
Introduced in 45920ddeb82a317ee629537f1ac6cbc91f715bee

Change-Id: I02ed4b2a38fc60d4c86781e7b4eec4637c3892d4
2016-08-03 15:04:10 +00:00
Claudine Chiu
45920ddeb8 ONOS-2184 - initial impl. of virtual network path service; move path related methods from PathManager to AbstractPathService (since they are reused for VirtualNetworkPathService).
Change-Id: Ib4211d69a15c23a50de420b771877bb659539c22
2016-08-02 21:31:37 +00:00
Yuta HIGUCHI
ad4861ec0c Add basic error handling to gRPC Device SB service
Change-Id: Idd19bd4e0d35d8eda06acb4cb631c5d4bcd21980
2016-08-02 21:25:37 +00:00
Brian Stanke
682c19e562 ONOS-2184 - Removing obsolete PtToPtIntentVirtualNetworkProvider.
Change-Id: Ib1266e0088fea60f403cb6c90c3dca4c084a4afe
2016-08-02 09:41:40 -04:00
Yuta HIGUCHI
4c7c90a54d Add link eviction to gRPC Link SB.
- Now assumes (remote) LinkProvider to periodically report existing Link.
- Note: This eviction mechanism can be removed, once gRPC Link SB service was
  remodelled using streaming RPC.

Change-Id: I98f05f849b876cff9bbdb648e7ac79f900f4bfcb
2016-08-01 18:31:04 +00:00
Brian Stanke
fb61df4c6a ONOS-2184 - Implementation of virtual network topology provider.
Change-Id: I846ba56c138187c6e5435692798e709b74a78020
2016-08-01 18:19:47 +00:00
Claudine Chiu
30a8a2a4f0 ONOS-2184 - add virtual network host service.
Change-Id: I06922cb1fbd5d351d62215ae2d84b85e15853585
2016-07-29 20:06:34 +00:00
Yuta HIGUCHI
e2eeae877c Avoid NPE when IntentData was not found.
Change-Id: I3cb67c1ad487c8b546056a35ef0412e41d8e4fb1
2016-07-29 15:53:50 +00:00
Yuta HIGUCHI
1624df1f30 Assigning names to various threads
- specify nearby logger when possible

Change-Id: Ia8925ab1459c4d1da922becd0e201388d44d4294
2016-07-22 22:56:26 +00:00
helenyrwu
4570084a51 [ONOS-3775] Building alarms from NETCONF notifications
Change-Id: I80d960193ce957fa640fde0d1e7b4422d60c7fe4
2016-07-13 15:47:37 +00:00
helenyrwu
fd296b6142 [ONOS-4681] Enables device registration in GossipDeviceStore,
exposes availability, and polls NETCONF device reachability.

Change-Id: I5492c7b6109c3431d71555a9104c7e97fc6e75be
2016-07-13 10:02:10 +00:00
HIGUCHI Yuta
06c1a3ffa0 [ONOS-4520] Move Protobuf to ONOS model conversion util protobuf bundle.
Change-Id: I0fbfd750d569cb5da6dd29af5aa77d19d6f29494
2016-07-13 03:07:32 +00:00
Madan Jampani
54c5e238e6 Removes deprecated withPartitionsDisabled method
Change-Id: I9a39c0584d0e5d62d5719639598c5cc25bcb8e2f
2016-07-12 01:56:36 +00:00
Thomas Vachuska
858f65b008 FIxing an STC failure. VirtualNetworkManager must implement VirtualNetworkProviderRegistry.
Change-Id: I6044a4f13653f306e495ffa486c0470d2e6323b3
2016-07-06 10:46:01 -07:00