437 Commits

Author SHA1 Message Date
Madan Jampani
a29c677596 Added RetryingFunction for simplified retry support.
Moved retry logic out of primitives (AtomicCounter) to the caller site.

Change-Id: I319d61f153f98d421baf32a1b5cd69d20dc63427
2015-08-17 23:15:19 +00:00
Madan Jampani
9eb55d114a ONOS-2495: Workaround for the fact that kryo deserialization is not thread safe
Change-Id: Id1bd3334f9a5c122984d08f97dbbbf622b27cf33
2015-08-14 14:59:06 +00:00
samanwita pal
3ec8aff92d Adding some extra checks against bufer overflow
Change-Id: I08b53823792de363c7da22cda1db198b95242ba4
2015-08-04 23:13:41 +00:00
Thomas Vachuska
d894b5d5f7 Fixing javadoc warnings, provided missing package javadocs and corrected group structure.
Change-Id: I2637afe49b81e8e6d10ef3bb0f2a1cf50b2564cc
2015-07-30 20:27:44 +00:00
Marc De Leenheer
b931137eb6 Driver and flow stats handling for Calient fiber switch S160.
Bump loxigen to 0.4.1.onos-SNAPSHOT.

Change-Id: Ieb8aa4fe716e12f89b83770eff617561f30cdd08
2015-07-30 16:34:26 +00:00
Chip Boling
e48c2d3bc4 [ONOS-2450] Fix for HEADER_SIZE error in EAP deserialization
Change-Id: I0486e27b968e354bd82aad10ad568e61c08d567b
2015-07-27 20:27:26 +00:00
Flavio Castro
4b51941646 ONOS-2315 adding auto-complete to the CLI
Change-Id: I7b3056022188d58ca141bfec2870c7f1b44e37c2
2015-07-24 23:20:45 +00:00
Nikhil Cheerla
f7c2e1a09b Disjoint Path Pairs (Suurballe) utils
Change-Id: Ie5895899818ea9d6eacf66cbb589ddf33fa3f89d

Disjoint Path Pairs (Suurballe) utils

Change-Id: Ie5895899818ea9d6eacf66cbb589ddf33fa3f89d

Disjoint Path Pairs (SRLG with GA) utils

Change-Id: If072df987621add385ae785f10c8d0a9e45ad559
2015-07-20 18:47:45 +00:00
samanwita pal
b300ca835d ONOS-2197 Adding DHCP options and message type enum
Change-Id: I2e0d69c2581f2a6841a9c9a98e0947ad97b38d8a
2015-07-17 15:48:09 +00:00
Jonathan Hart
49f0920b03 Disable all AbstractAccumulator tests.
These are timing sensitive and fail randomly all the time.

Change-Id: Ie22fa93468ee7a7642a0236275c5d6838e3cc363
2015-07-16 16:14:38 +00:00
alshabib
ea74cc9538 ignore intermittent test failure: AbstractAccumulatorTest::readyMaxTrigger
Change-Id: I9247f791fc36f4491697b7a278e6bf778c2eecf9
2015-07-07 10:38:21 -07:00
HIGUCHI Yuta
bfc8b7a973 Utility method to treat Iterable as a Stream.
Change-Id: I70564ee9fa675c4293aa733b1a28e63c12dea0b7
2015-07-01 23:52:17 -07:00
Jonathan Hart
4a60bb31cd Cleaned up AAA app now it's in the ONOS core.
Moved packets into the packet library, minor app cleanups and javadoc.

Change-Id: I7ee04d09f82051fdb2a9bcfe577cb163661d5055
2015-07-01 03:31:52 +00:00
Sho SHIMIZU
be63b233cb Regard the release when the APIs became deprecated as Cardinal
Change-Id: I072fa33a2a70baa7466d7a0dc5067191476be0f3
2015-06-30 19:06:50 +00:00
alshabib
7b808c5e15 small fixes to ethtype pattern
Change-Id: Ic58c426821952f66aa21bc828d36fd4f83d8da0d
2015-06-29 15:24:35 -07:00
Jonathan Hart
2a65575cf8 Improve the resiliency of the packet deserialization code.
Packet deserializers now check for malformed input while reading the byte
stream. Deserializers are re-implemented as functions that take a byte array
and return a packet object. The old IPacket.deserialize(...) methods have been
deprecated with the goal of eventually moving to immutable packet objects.
Unit tests have been implemented for all Deserializer functions.

ONOS-1589

Change-Id: I9073d5e6e7991e15d43830cfd810989256b71c56
2015-06-29 16:31:11 +00:00
alshabib
caf1ca2b1d adding EthType to secure handling ether types
this will also pretty print ethertypes in flow output

Change-Id: I9363070ad308f3c756735e29b3992c500e503636
2015-06-26 13:44:55 +00:00
Aaron Kruglikov
afdf4de12e Replaced IPv6 toString with more efficient local helper.
Change-Id: Ib53d7bdf64354efcace7facad740981fce19447c
2015-06-26 05:01:32 +00:00
Ray Milkey
d43fe45f42 REST API to create flows
Change-Id: I5d001782249c0eab249d7aa857ae465da95b5955
2015-06-11 21:45:28 +00:00
Thomas Vachuska
adba152125 Increased number of retries and added variable delay to better withstand StorageException timeout.
Change-Id: Ic33d4e66e2787c717f7e3c90879d725a6e3e74d7
2015-06-04 22:14:11 +00:00
Madan Jampani
f2af771131 Dropping log level to debug in few places
Change-Id: I4b42d4f3edfc6e9cdd0822cfcb74d1070b0b7a70
2015-05-30 02:15:50 +00:00
Thomas Vachuska
f9c8436f4d STC work in progress
Change-Id: Ie5e444e3b560b605b066899289cdee7a5fe8338c
2015-05-29 06:01:30 +00:00
Madan Jampani
27b69c6c25 ONOS-1983: Migrating all copycat Raft protocol specific communication to use ONOS cluster communication primitives
Change-Id: I3f07266e50106b1adc13f722c647686c2b42ef7f
2015-05-19 23:02:39 -07:00
Thomas Vachuska
5d410a2b60 Fixed javadocs.
Change-Id: I6c0e5f59138ee024a858994a290da75a0f54a71f
2015-05-19 17:52:37 -07:00
Marc De Leenheer
1afa2a0350 Rewrote optical connectivity intent compiler
Change-Id: I5acece3c14bed8a23f7bbe0c5a9bc0932a2a0881
2015-05-19 18:18:28 +00:00
Sho SHIMIZU
3310a34163 Remove "public" to follow our convention
Change-Id: Ic5fa8744cbcb4c704780c8467ae0f31fce3327ce
2015-05-13 23:44:57 +00:00
Sho SHIMIZU
5c73fd9292 Implement add() and subtract() methos in Bandwidth
Change-Id: I93a382cff1a441fb9c9929fc4fab82c956ccdd0e
2015-05-11 20:29:48 +00:00
Sho SHIMIZU
2908d9ebc6 Implement methods to compare objects in classes representing unit
Methods are added to the following class.
- Bandwidth
- Frequency

To reduce redundant code, RichComparable interface is defined.

Change-Id: Iec96bee9754c6dfca62255b8b4068925d3be13a1
2015-05-11 16:12:12 +00:00
Sho SHIMIZU
87114516f4 Replace manual hash code calculation for long with Long.hashCode(long)
Change-Id: Ie588a2904e0fcc790282af22912e8ff6d7a31648
2015-05-08 23:08:58 +00:00
Sho SHIMIZU
816977987d Define Bandwidth class to represent bandwidth with explicit its unit
Change-Id: I863fea61fa5e70edfa53d11e720e400d100131c8
2015-05-08 23:08:36 +00:00
Sho SHIMIZU
ea56028efd Implement a class representing frequency
This resolves ONOS-1769

Change-Id: Ia4d0da59aec79bafdf7686dfad1f1952f94cefc7
2015-04-28 17:50:44 +00:00
Charles M.C. Chan
2184de1e7f ONOS-1756: Improve CLI auto completers
- Add more ICMP types and codes
- Add completer for --icmp6Type
- Add completer for --icmp6Code
- Add completer for --extHdr
    It is a multiValued option.
    For example, the following command will match an IPv6 packet with both fragment and routing extension header:
    add-point-intent --ethType IPV6 --extHdr FRAG --extHdr ROUTING
    NOTE: OVS 2.3.1 does not support OFPXMC_OFB_IPV6_EXTHDR match field yet.
- Change parameter of TrafficSelector.matchIPv6ExthdrFlags() from int to short since that field is 9 bits only

Change-Id: I55944399f3985f2cc09330a726f21983de273341
2015-04-28 17:47:22 +00:00
Thomas Vachuska
e10f56b8b0 Fixing javadocs.
Change-Id: I9e6b3d7eb08d17d4ad450277a1279f6aaefd4640
2015-04-15 18:20:08 -07:00
Ray Milkey
34c959066d ONOS-533 Fix copyrights
- Any files created in 2014 and modified in 2015 got a copyright of
  2014-2015
- Used canonical form of 2014-2015 to be inclusive of extra years.
  Some files had 2014,2015

Change-Id: If9a133618873e4000b8f10299bde7c870eb1fbd5
2015-04-15 17:41:07 +00:00
Pingping Lin
c9e16bfa1d add a virtual gateway for reactive routing
There is no physical gateway in SDN network.
  However a host needs a gateway when it tries to communicate with a remote host.
  So we designed a virtual gateway for SDN network.
  The virtual gateway can have multiple IP addresses.
  Each IP address is used as the default gateway address of an IP prefix.
  We only configure one MAC address to the virtual gateway.
  You can choose any MAC address from the BGP speakers as the virtual gateway MAC address.
  We configure this MAC address staticly in the sdnip.json configuration file.

Change-Id: I2a72bef797fc55d25bb5473e8fca624ad659e1d1
2015-04-15 16:31:14 +00:00
Jonathan Hart
43d9f7a7a5 Remove deprecated openflow host and link providers
Change-Id: I9dbaa28a70998b6265a178bb459a56221f458b75
2015-04-14 17:24:04 +00:00
Thomas Vachuska
c40d463c27 Consolidating null providers and making them fully configurable and integrated with the ConfigProvider to allow arbitrary topologies.
Change-Id: I899e27a9771af4013a3ce6da7f683a4927ffb438
2015-04-14 01:23:24 -07:00
Madan Jampani
22fa5cbcec Fix Kryo serialization memory leak
Change-Id: I122cb811971aef1a70a73c3335b485125125c66b
2015-04-13 23:42:46 +00:00
Madan Jampani
2bfa94cf15 Revamped ClusterCommunicationService API
Change-Id: I9326369de3d2413b0882b324979d10483c093de9
2015-04-13 16:51:24 +00:00
sangho
b35a619131 ONOS-686, 687, 1344 : The first commit for the Segment Routing application
- ICMP/ARP/IP handlers are implemented as a part of the application for now
 - Default routing and link add/failure/recovery are also supprted
 - Temporary NetworkConfigHandler, which is hardcoded to support only 6 router FISH topology, is used for test
 - Some fixes on GroupHanlder app to support transit routers
 - Supports multi-instance (tested with two instances)

Change-Id: Idfa67903e59e1c4cac4da430f89cd4c50e821420
2015-04-09 18:24:33 +00:00
Thomas Vachuska
b0317c6a3f Fixed javadoc warning; added shared executor/timer wrappers to prevent inadvertent shutdown; added shutdown to CoreManager.deactivate.
Change-Id: I27f31b5d41050d6d87cd6419ab863201c4585843
2015-04-09 18:11:17 +00:00
Charles M.C. Chan
197a012bf4 Refactor org.onlab.packet.{TCP,UDP,ICMP6}
- ONOS-1012: Fix TCP checksum when using IPv6
- ONOS-1013: Fix UDP checksum when using IPv6
- ONOS-1593: Remove get/setTcpChecksum
- Remove unnecessary parameter of getUrgentPointer() in TCP
- Complete javadoc for TCP
- Add unit test for {TCP,UDP,ICMP6}

Change-Id: Iad5eeb35812ede6764a9a9a4a57b9837e5ea5dd6
2015-04-09 17:47:03 +00:00
Thomas Vachuska
ca88bb7440 Cleaning up and enhancing driver subsystem and the flow objective subsystem.
Change-Id: Ica600ef1aaa46d19e764cd7a197454a4e0f85a08
2015-04-08 19:38:02 -07:00
Murat Parlakisik
553db17965 Shared system services configurability (ONOS-1304)
Change-Id: I42210128fd973f16bb07955175d8e361858a9034
2015-04-09 01:23:48 +00:00
Pingping Lin
e28ae4c801 sdn-ip reactive routing
This module can handle 3 cases:
   (1) one host wants to talk to another host, both two hosts are in SDN network.
   (2) one host in SDN network wants to talk to another host in Internet.
   (3) one host from Internet wants to talk to another host in SDN network.
   In all cases, we use MultiPointToSinglePointIntent.

Change-Id: I80dd954bd608e52b45b993f3c27e67636a7105d9
2015-04-07 12:31:07 -07:00
Pavlin Radoslavov
d7b4584aae Added empty space after '.' between two sentences.
Change-Id: I6fa88561264bffa2df568a47a9e562c4e4fe7df6
2015-03-20 15:40:59 -07:00
Thomas Vachuska
945e7b0809 Cleaning up documentation and some white-space.
Change-Id: I3d8ba130f0d7b99c15e52a95a021a8a81e1a1a5f
2015-03-18 23:15:12 +00:00
Murat Parlakisik
af1042df9a Shared Executors implementation , (ONOS-1302)
Change-Id: I7fe5e415bf605c198d3bb42328477aef396c5c89
2015-03-18 16:24:36 +00:00
Ray Milkey
0811bdd703 Disable some brittle tests that are causing problems with Jenkins
Change-Id: I2f79a728545d50f9458048a5980261e84e112f2f
2015-03-11 17:31:13 +00:00
Thomas Vachuska
6519e6f1de Making number of components configurable using the central component configuration subsystem.
Change-Id: Ia32c51480913689339a766d9849e792d62f7d133
2015-03-11 09:12:41 -07:00