196 Commits

Author SHA1 Message Date
Brian Stanke
e312fc7c6c ONOS-3658 - Adding CLI commands to display and manage Device Keys.
Change-Id: I98d7d3b7bc9a61f106a6b79b38d7ddaebbfb3288
2016-02-17 15:19:17 +00:00
Sho SHIMIZU
ef7e290e20 Make use of Optional more idiomatic
Change-Id: I42b3261169e7cb8408f46c5831f72115f77fd779
2016-02-17 00:38:48 +00:00
alshabib
e62b5075a3 switching ConcurrentHashSet in mcastdata to ConcurrentHashMap due to serialization issues.
Change-Id: Ic38a82353fe8ab0dce03e5643090c08df1e53146
2016-02-16 17:43:41 +00:00
Jonathan Hart
6ccfc5a3b9 Fixes to the IGMP app to process group membership reports
Change-Id: I7a478011caadb8250f6a25b5fb5a820485e593b6
2016-02-15 01:29:33 +00:00
Brian Stanke
9bf8d7c9b7 ONOS-3655 - Adding username and password support into the device key subsystem.
Change-Id: I196984479126ae3776093a0bded4b3c820a3eab8
2016-02-12 20:06:46 +00:00
Jonathan Hart
1d00639523 Move multicast CLI commands into the core with the core mcast system.
Change-Id: If442803cf530cfeb949e7fbce34f74db082f30c1
2016-02-11 22:54:20 +00:00
Brian Stanke
ca93d9aaef ONOS-3655 - This Device key subsystem update adds the implementation of the
DeviceKeyManager and the distributed device key store.

Change-Id: I32544040590b31a59e20f3375fca453a117f940c
2016-02-10 21:45:57 +00:00
Jonathan Hart
07eb041136 Implemented REST API for multicast RIB.
Change-Id: I5de6fe0aae412083597113e355ba0e8c984be5f1
2016-02-09 18:02:35 +00:00
Brian Stanke
aa6211aed1 ONOS-3655 - Adding Junit tests for DeviceKey subsystem, and adding DeviceKey
event, listener, store and delegate classes.  DeviceKeyManager and store
implementation will be added in the next submission.

Change-Id: I60edb1753e9ee2985ccabc2b6ec9c223867590de
2016-02-05 03:05:02 +00:00
Brian Stanke
2b4f32d5c9 ONOS-3655 - Initial submission for DeviceKey subsystem.
Change-Id: I14c834c65b68e49b80894efe12b1fa921fc430cc
2016-02-04 22:15:09 +00:00
Madan Jampani
e17d3284ec Adds abstract distributed primitive builder + Refactored AtomicCounter and AtomicValue builder to make use of it.
Change-Id: I56cef62673fabc54ca29634c27e4ff1f41ba6a88
2016-02-04 17:43:50 +00:00
Jonathan Hart
43d232e038 Add API to look up interface by name
Change-Id: I03fcae92e83f5b804bca21a105d4d1ee8295f2ad
2016-02-03 23:56:12 +00:00
Priyanka B
a636405a61 label subsystem bugfix
Change-Id: Ic18c2d5a95e318e7624f2aad66528e5c97144ec5
2016-02-01 17:42:41 +00:00
Jonathan Hart
51539b85d3 Enforce naming convention regarding abbreviations
Change-Id: Ic81038d3869268a55624ccbbf66048545158b0da
2016-01-28 17:32:37 +00:00
Jian Li
e4583fd8ad [ONOS-3702] Clean up pom.xml dependency, bump up omitted dependency
Change-Id: Ieb6dc7a5b3ee8d52eefd79c182b9d759b5d324d7
2016-01-25 19:54:36 +00:00
HIGUCHI Yuta
97f7e4768a Use TestTools.findAvailablePort
- Use TestTools.findAvailablePort when selecting unused port during unit tests

Change-Id: I155781db8830fc3d5238bda0b23cbbf065ba7b51
2016-01-25 17:39:04 +00:00
Jian Li
dfba739230 Fix javadoc warnings
Change-Id: I3de24a04593f47c786f698f5ee1669b3d2f2fdfc
2016-01-23 02:38:40 +00:00
Jonathan Hart
4b5c6dc509 Added events for the Interface subsytem
Change-Id: I9adcc2caa2a98625173c9b9c6d15bbd1a0706eaa
2016-01-14 07:04:57 +00:00
Sho SHIMIZU
c032c83c4a Reduce use of deprecated ClusterCommunicationService.addSubscriber()
Change-Id: I2e78e63340473b0334a1537f8049753a9f400849
2016-01-13 22:54:49 +00:00
Jonathan Hart
6344f5745d Implemented control plane redirect for control traffic.
Modified SoftRouterPipeline to support new flow objectives.

Change-Id: Ia93bc927832444ba1f7cf20b276e4866789c9d30
2016-01-12 12:50:46 -08:00
Rusty Eddy
4ae5aa8b20 Blew away old version of PIM to restructure. And:
1) Added packetService to register for PIM packets.
2) Added PIMPacketHandler to process PIM packets.
3) Added NetworkConfig Listener
4) Added PIMInterfaceService / PIMInterfaceManager
5) Added Process incoming hello packets to PIMInterfaceManager
6) Code Review inspired changes

Change-Id: I753880c954b9a6a91544903b613305ff9aa78cd0
2016-01-12 17:24:03 +00:00
Jonathan Hart
b4a4215c85 [Falcon] Add ComponentService that allows applications to select which components are loaded.
Change-Id: I1e5eceef65c16040b75cf35ac88a497ba9a05412
2016-01-06 03:07:35 +00:00
Jian Li
1932b93cc8 Add getMeters method for obtaining meter collection by device id
Change-Id: Ie5137ef8acce7643a58c2faa00b7027e3b9f38fa
2016-01-04 18:46:47 +00:00
Ray Milkey
676249ca1a Fix Sonar critical flagged bugs
Change-Id: I60e9f72a1a66f65366d7dbc5335922e75097c9f3
2015-12-30 19:02:11 +00:00
kmcpeake
b172d5fc8e [ONOS-3203] End-to-end demo of Fault Management via SNMP.
This adds SNMP device-discovery, and a Fault Management app which makes alarms available to users via REST/GUI/CLI interfaces.
There is still code cleanup that could be done, but aim of this commit is an end-to-end proof of concept.

To demonstrate :

1) /opt/onos/bin/onos-service
onos> app activate org.onosproject.snmp
onos> app activate org.onosproject.faultmanagement

2) SNMP devices are seeded via config file. The default seed file contains connection details for devices (SNMP agents) available via internet  e.g. demo.snmplabs.com
cp /opt/onos/apache-karaf-3.0.3/etc/samples/org.onosproject.provider.snmp.device.impl.SnmpDeviceProvider.cfg   /opt/onos/apache-karaf-3.0.3/etc/

3) ONOS will poll these SNMP devices and store their alarms.

4) You can now manipulate the alarms via REST  e.g. http://<onos>:8181/onos/v1/fm/alarms , via CLI  via various "alarm-*” commands or in UI with an Alarms Overlay.

More info at https://wiki.onosproject.org/display/ONOS/Fault+Management

15/Dec/15: Updated regarding review comments from Thomas Vachuska.
17/Dec/15: Updated coreService.registerApplication(name) as per https://gerrit.onosproject.org/#/c/6878/

Change-Id: I886f8511f178dc4600ab96e5ff10cc90329cabec
2015-12-20 15:35:59 +00:00
alshabib
6ec1ee7f23 fix serializer in DistributedMcastStore.
Change-Id: I06935b450387da3dea3e2aa65af66e893a9a59a7
2015-12-18 19:42:24 -08:00
alshabib
79e5287288 [Falcon] Refactored mcast store implementation.
Change-Id: Ie3fbc675d02c5abe5f5a419d2fc12dbe8fb4ec35

refactored mcast store implementation

Change-Id: I67d70d678813184c522c78e0771f6b8f8f9c25f8
2015-12-19 03:32:43 +00:00
Brian O'Connor
bd7f878a7c ONOS-3124 Sketch of simplified intent domain service
Change-Id: I6d8304214897ba75a299bfd9bd90b4591ae8eb04
2015-12-17 22:33:44 +00:00
HIGUCHI Yuta
7c1583c647 [Falcon] ONOS-3372 Link related Service on gRPC
Change-Id: Ib497d17cb3c0126086a1ce03a6f99ae344320448
2015-12-17 18:10:42 +00:00
Brian O'Connor
880dc20ddb Starting snapshot 1.5.0-SNAPSHOT
Change-Id: If9ce4ca5f5f6d089e9f088e710367f4e2ca1c9b6
2015-12-16 22:53:14 -08:00
Brian O'Connor
5a2856fd01 Tagging 1.4.0 (Emu release)
Change-Id: I55e4dbcecbfac86cccae27aa99a813910bd5557a
2015-12-16 22:47:51 -08:00
Brian O'Connor
6b7707101b Switching back to snapshot 1.4.0-SNAPSHOT
Change-Id: Ie726afc2df730a1009db421328267f2dcfedfd66
2015-12-15 15:48:42 -08:00
Brian O'Connor
d1cdd19530 Tagging 1.4.0-rc3
Change-Id: Iddb1e8adff820e81794bf83f5861519e9a787880
2015-12-15 15:36:45 -08:00
Brian O'Connor
b22ba656bb Switching back to snapshot 1.4.0-SNAPSHOT
Change-Id: Ic0ff8fe27d46b0662f596db9185591736efa6cf9
2015-12-11 17:02:48 -08:00
Brian O'Connor
4aded4c8b7 Tagging 1.4.0-rc2
Change-Id: I7e2916f7b02d297818ad65153aee5e5946f882ac
2015-12-11 16:55:13 -08:00
Brian O'Connor
905ea22db6 Starting snapshot 1.4.0-SNAPSHOT
Change-Id: I0398bb2093e70d39788888038abb9df6193ccb42
2015-12-05 00:57:06 -08:00
Brian O'Connor
b209dc68e2 Tagging 1.4.0-rc1
Change-Id: Idec5c65021283fa03a8f2530aebba968a5451d8b
2015-12-05 00:56:21 -08:00
kmcpeake
4fe18c8f0c CHANGE 1:
Patch to show API for Alarms in Fault Management.
AlarmsWebResource.java & Alarm.java show what the external REST API for alarms would look like.
See more info at https://wiki.onosproject.org/display/ONOS/Fault+Management
Everything else is very early and work-in-progress/mostly just stubbed out, and not ready for review but all advice welcome.

CHANGE 2:
[ONOS-3203] Update re. comments on FM API draft.
Comments were from Thomas Vachuska regarding https://gerrit.onosproject.org/#/c/6180/
Change-Id: If8d330d1b18b503e89849587e2d4388bf67becc0
2015-12-04 19:25:35 +00:00
Jonathan Hart
7dbe629b0b Add optional "name" parameter in interface configuration.
Interfaces can now be added and deleted by name. Interfaces without names
cannot be updated or deleted.

Change-Id: Icb2188b1c9abf3017724f751a93457920a53ba03
2015-12-04 19:22:05 +00:00
Brian O'Connor
4380f5491c Excluding generated-sources from javadoc gen in rpc-grpc pom.xml
Change-Id: I8739a251fa1e333c8948ffd1b0d50541121b2bd6
2015-12-03 15:57:42 -08:00
HIGUCHI Yuta
15653fde24 ONOS-3323 gRPC implementation of Remote Service
- Start modelling Device related service (ONOS-3306)
- exclude machine generated code from doc

Change-Id: Idffbcd883f813de79c6f05fedc9475f308efcc31
2015-11-30 21:36:50 +00:00
Satish K
0de8761941 Function issue fix in Distributed Label Resource Store
Change-Id: I28dd57f1a709640bb274d1a49db75c3a33f1d292
2015-11-24 20:07:15 +00:00
Satish K
d972235b1b TunnelStore_functionalIssue
Change-Id: Id481538915efb2a4fa8196c3df07f0820acb904d
2015-11-24 18:51:44 +00:00
Satish K
f1b38bc4fe Equals review fix for Dist Tunnel Store
Change-Id: Ib893073b991863f53b9e670945a5c916cd957980
2015-11-23 19:39:18 +00:00
HIGUCHI Yuta
59e64002da ONOS-3322 Add very basic RPC Manager test
Note: LocalRemoteServiceProvider is expected to be moved
      under src/test scope once we have other usable Provider.

Change-Id: Ic8b9f2007082038da5652bf812329d2ef2204200
2015-11-18 02:48:55 +00:00
HIGUCHI Yuta
279b8d1fbc ONOS-3322 Sketch of Remote Service
Change-Id: I9c16b56b8d02d7f3995eafb1bb96211089774ca7
2015-11-17 16:22:33 +00:00
Charles Chan
30ba400e57 Fix javadoc warnings
Change-Id: Ic1f2552f1a91779ee8b2a976ebe316981e6897df
2015-11-05 14:45:16 -08:00
HIGUCHI Yuta
ca9cc8e28e Avoid use of Objects.hash when there's only 1 params
- directly call #hashCode() when hashed Object seems non-null
- replace with Objects.hashCode(Object) when Nullable
- replace with Long.hashCode(long), etc. when primitive

Change-Id: I08c24ebbe94cf4162d1491209a14baf953163e41
2015-11-05 21:47:59 +00:00
Thomas Vachuska
c65dd7198e ONOS-3321 Added ability for applications to register a deactivation hook.
Change-Id: I284321474dbf9e39e8b61f7b907f637ba6b80aaf
2015-11-04 17:26:58 -08:00
Ray Milkey
ccda0b5dc7 Enable checkstyle rule to enforce package-info.java files
Change-Id: If837601380e4950b46ad1332bd3c20ef59cc216e
2015-10-30 17:21:08 -07:00