348 Commits

Author SHA1 Message Date
Madan Jampani
f97edc1c48 Javadoc fixes
Change-Id: Ia051f4875d5cadbd7e5307bd8bd6ff1df488165d
2015-08-31 21:50:06 +00:00
Thomas Vachuska
e4ed1a215b Fixed broken UDP/DHCP deserializer.
Change-Id: Iba87c66043e563d328d662c5ae314960997f4b91
2015-08-26 22:52:35 +00:00
Thomas Vachuska
91caf1a55a Fixed log message.
Change-Id: I1d6dcee6284399cdb30a40c4d2e7557ee0c7fee1
2015-08-26 10:14:29 -07:00
Thomas Vachuska
a82341cd9e ONOS-2572 Fix to abstract accumulator to proactively finalize the batches when full and to avoid repeat misfires.
Change-Id: Ibc9904b36f9cf8c9aed36e828152600a2d7a6192
2015-08-26 16:28:29 +00:00
Hyunsun Moon
cf732fb688 ONOS-2711 Replaced short to TpPort for tcp/udp ports
Change-Id: Ibf0474b5369d11d377fd33cf5ab48083cbca3308
2015-08-25 16:10:35 +00:00
Hyunsun Moon
23f981d286 ONOS-2580 Renamed class name to TpPort to differenciate from loxy TransportPort type easily
Change-Id: Id3e9ca45245126efc9531bad14bd90093e44ba7a
2015-08-20 14:03:35 -07:00
Thomas Vachuska
87ae1d9a30 Fixed javadoc warnings & added a few deprecations.
Change-Id: I89205b08bc5fcbfed769c489609a46d420ee227e
2015-08-20 00:46:33 +00:00
Hyunsun Moon
a5a18ad534 ONOS-2580 Add rich type for transport layer port
Change-Id: I5cebed1671dd71274e4443618eb4d540aa43e65f
2015-08-19 20:21:40 +00:00
alshabib
eadfc8e346 Moving meter store implementation to use map events
Change-Id: I338473b7286d7b9e5cdfb938f16c7b6155d4cbb5
2015-08-18 15:58:30 -07:00
Ray Milkey
71081a653c Fix for ONOS-2572 - Excessive events delivered by AbstractAccumulator
- add synchronization to prevent prematurely scheduling a batch that
  isn't full.

Change-Id: I07d53ef4d81211909a6fcdd98bc937b49c7c4cca
2015-08-17 17:46:30 -07:00
Simon Hunt
8d22c4ba2d ONOS-1479 -- GUI - augmenting topology view for extensibility: WIP.
Change-Id: I11820a9ff8f446c0d10a0311cee5ce448c15f402
2015-08-17 23:29:56 +00:00
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