256 Commits

Author SHA1 Message Date
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
Brian Stanke
11f6d53693 ONOS-2184 - Initial implementation of Virtual network Intent service.
Change-Id: I03103b4eca797cd32480fbd0e3b4cf0385b50ef2
2016-07-06 17:28:30 +00:00
Brian Stanke
7a81b53927 ONOS-2184 Adding VirtualHost support in Virtual Networks.
Change-Id: I1318f20a9b14f1f99dc8eb48b9660a208165bac1
2016-06-25 12:43:09 +00:00
Sho SHIMIZU
0e03f59bf5 More idiomatic code in Stream API
Change-Id: Ifa5a311cfc1ce43f5eab80be9ddce5fa36e47d92
2016-06-16 07:46:52 +00:00
Sho SHIMIZU
891162b99f Remove API deprecated in Falcon
Change-Id: I80a8afbcd577a9cce174d3fc1e511b711d3c68d4
2016-06-16 07:46:02 +00:00
Brian O'Connor
1b2aea88c0 Removing gratuitous relativePath from pom.xmls
The default value for relativePath is: ../pom.xml

Change-Id: I1f5e5e6bfa1e91fcddae4f8cb8ab0c00c276e6b0
2016-06-16 07:05:31 +00:00
Madan Jampani
6c02d9e1f5 New ApplicationStore that uses a single ConsistentMap to track all app related state
Change-Id: Ieacc97f213add8ece8f462cd9971fb6ef3d0dde5
2016-06-16 05:52:12 +00:00
Yuta HIGUCHI
839b6edf50 Fixing file permissions
- removing executable bit from .java files

Change-Id: I7e993372e1edf942fefb5aaea2e302b3b2baebd9
2016-06-15 02:22:16 +00:00
Charles Chan
ab69c2c7c9 Fix javadoc parameters
Change-Id: I89540d376c2e6794f66a446684fb952bf27e0f83
2016-06-14 20:27:48 +00:00
Brian Stanke
8e9f8d1510 ONOS-2184 - Adding VirtualNetworkTopologyService using Virtual networks.
Change-Id: Ib7071314b49e23dc67459f70e7ca345f8a97db4e
2016-06-09 17:10:35 +00:00
Brian Stanke
8691428c40 ONOS-2184 - Implemented Virtual Network DeviceService and LinkService to use
VirtualNetwork service.

Change-Id: I695af440bc2fc5d688f8b9cf5201375bacd02e8a
2016-06-01 19:37:08 +00:00
Shravan Ambati
bb6b4458cb Kafka Integration Application (Fix Javadoc errors + review comments)
1. Refactored the application into two java projects api and app as per convention
2. Deleted the onos-app-gpb project. The proto files are consolidated in the
   incubator-protobuf project as per suggestions.
3. Some code to translate ONOS Event pojo messages to GPB format.
4. Implementation of Subscribe and Unsubscribe APIs.
5. Minor changes due to review comments from 9212 and 9053
6. Refactored the proto fileso that its a 1:1 mapping between the core type to proto message.

Change-Id: I2bcc0de96150f838ccfe9e49293fe61d94062628
2016-05-31 18:06:28 -07:00
Kenji HIKICHI
cfdf91b72e [ONOS-4606] Avoid generating incorrect NetworkId
Change-Id: I7b474e368cde8e46e3c903326a8052ce555c0c85
2016-05-31 16:33:09 +00:00
Brian O'Connor
e642f7cf7b Bumping version to 1.7.0-SNAPSHOT
Change-Id: Id105bf08ecbdac6d4e214ae035b4220aea90f29f
2016-05-23 18:35:29 -07:00
HIGUCHI Yuta
48dac7237d Fix OSGi issue.
- Slicing out protobuf bundle's OSGi issue
  spotted by Shravan Ambati.

Change-Id: Ia0e825334a55c29d34e982f39d4a02c1c33871ee
2016-05-23 05:11:30 +00:00
Ray Milkey
801121ba67 Skip intents that aren't PointToPont
Change-Id: I9f856153557ff9dff4f070fe9a5d3b32dfe5e0e8
2016-05-21 03:42:32 +00:00
Brian Stanke
612cebf3cc ONOS-3633 - Adding intent event listener to PointToPointIntent virtual network
provider. Intent events will either set the virtual link state to ACTIVE or
INACTIVE.

Change-Id: I34b65b2bfff29b791e7b2eb4d7cefb2ec4e88672
2016-05-19 21:14:05 +00:00
HIGUCHI Yuta
03666a3d08 Remove duplicate registrations.
- MapEvent.class, MapEvent.Type.class, Versioned.class part of API,
  and all the existing caller was supplying API as base namespace.
- MeterId, MapUpdate part of API
- Default{Device, Port} part of API
- WallClockTimestamp is always added by ECMap

Change-Id: I654c892549e6dddbe5e1f86dbb41d1ca4e84611f
2016-05-19 15:23:17 +00:00
HIGUCHI Yuta
3fce2426be [ONOS-4520] Separate ProtoBuf model from gRPC services
Change-Id: Ib1e1358b1fd49206cfd15ffbba3b1448376d1702
2016-05-17 01:24:15 +00:00