913 Commits

Author SHA1 Message Date
Ray Milkey
c24cde3305 Add priority to Intents
Change-Id: Ibe63356f5b15a6aa6ca7731dba3382c3317a95ec
2015-03-11 02:14:30 +00:00
Brian O'Connor
6b5281356b Adding emptyTreatment() and emptySelector()
Note: There was a change that adds a DROP action to
a traffic treatment if there are no other actions present.
To get a traffic treatment without the drop rule, use
emptyTreatment()

Change-Id: I1f23ed5e1fa7519eb94fcafa85facbad815d5e9c
2015-03-10 16:48:45 -07:00
Madan Jampani
54d3499e05 Moving Dist flow rule store backup mechanism to use EC Map
Change-Id: I465cc2424004721bf09505ac9cde068884f04940
2015-03-10 18:36:34 +00:00
Thomas Vachuska
6d697f185a Sketching out component configuration model & API.
Added initial cut of implementation.
Finished implementation; ready for merge.

Change-Id: I385181c0591604a5c44986b97fb881eba7e0528e
2015-03-10 17:28:14 +00:00
Abhishek Dwaraki
1e5873e94d ONOS-400 Topology creation and up time formatting fixes
Change-Id: Iaf6d4dbbc1c7eaae9465a2d931d40f07a75ad07d
2015-03-09 22:50:23 +00:00
Jonathan Hart
32600698de Add CLI command to view groups on switches
Change-Id: I0ce3cca85e8b38d2e713bf1f0abd4303629e15e4
2015-03-09 18:38:10 +00:00
Jonathan Hart
54b406b1e4 Add push VLAN treatment and use it in BgpRouter groups
Change-Id: I8c241fd776cdddd77969413736bd786c0d5a4828
2015-03-09 18:33:29 +00:00
alshabib
346b5b362d Traffic Treatements now support deferred, immediate, table, and clear instructions.
By default, treatments are all immediate. Treatments will be deferred if the builder
predicated by deferred(). Subsequent treatments will be deferred until immediate is called
on the builder again. Multiple calls to deferred and immediate are permitted.

Change-Id: I76b3a44f2219fc1e72a7fb41b72d7bd602be85b7
2015-03-09 18:28:58 +00:00
Thomas Vachuska
3553b30975 ONOS-1235 Enhanced UI extension mechanism to provide message handler factory and took a first cut at the core UiWebSocket mechanism.
Change-Id: Iaad080c5371c3aa5e24a23489b1679d373ec0720
2015-03-09 01:05:47 +00:00
Brian O'Connor
5eb77c88b6 Updates to ECM interface
Change-Id: Ie0cae42ac2b361cf3b94e5047c157cb0945f4209

Adding origin to IntentData and use it to pick GossipIntentStore peer

Change-Id: I50e9621a69a35ec02b8c8dd79cc926591e5a73e9
2015-03-06 17:01:29 +00:00
alshabib
ab21b2d05a fix corsa pipeline divergence : need to differentiate between write and apply instructions.
Change-Id: I477d27d6e52a8e09744614e5f5aa843dd26331e0
2015-03-05 21:03:43 +00:00
Thomas Vachuska
3e2b651d93 Fixing javadocs.
Change-Id: I100488664315af9c1b7faffab2d66ea3263d57ca
2015-03-05 19:29:06 +00:00
Madan Jampani
ba47223f6f Bypass netty stack for messages that are sent to self
Change-Id: Ifb1fd610892bd22a291cda472a8a5ef7a1dcfe6d

Manual serde for ClusterMessage to avoid one additional kryo serialization overhead for each message sent/received

Change-Id: I08d9a2c10403b0e9e9e1736c6bd36fa008bb8db0
2015-03-05 06:55:13 +00:00
Saurav Das
fbe25c5f72 Getting router interface config into the corsa dataplane pipeline
Change-Id: I67d5bf7a20190b07a7bf55c7b60f771877ca8dbb
2015-03-04 11:12:00 -08:00
Saurav Das
fa2fa93ff8 A set of fixes to ensure that the FlowRuleManager can correctly account for flows
from the dataplane in a multi-table pipeline scenario

Change-Id: I9ca3ef9a77781f126a13538647c824b27f77101c
2015-03-04 02:25:39 +00:00
Ray Milkey
bd4f011d08 Make all leaf intent classes immutable
Change-Id: I45a9ac42a401b707c0c0d91f2e55294f3571ca25
2015-03-03 19:10:51 +00:00
Ray Milkey
b1b66d3fd6 Add unit test for optical path intent installer
Change-Id: I01ee56480b91e6d08bd011bf591401a68e30ee27
2015-03-03 18:02:35 +00:00
Saurav Das
cbe6de3bb9 Fixing a couple of bugs in default entries for corsa pipeline.
Also fixing flowRule table-awareness with changes reflected in flow identification (hashing)
and the karaf CLI.

Change-Id: I2fac83db8e0b54b802fb765ef9d82033f7478b99
2015-03-03 17:03:25 +00:00
Madan Jampani
30a57f891a Added creationTime to Versioned object. This enables supporting a electedTime in leadership, which in turn helps us track how stable leadership terms are.
Change-Id: Ib051027625324646152ed85535ba337e95f8a061
2015-03-02 23:26:04 +00:00
Sho SHIMIZU
621c6ab1b9 Remove unused class: BatchWrite
Change-Id: I334bf328213881dc44e94524d5a54151f1cba8d4
2015-03-02 23:02:56 +00:00
Brian O'Connor
266ac66643 Starting snapshot 1.1.0-SNAPSHOT
Change-Id: I2abf73c248c04f0559f97b313be034b48761695a
2015-03-01 07:36:09 +00:00
Brian O'Connor
352236e289 Tagging 1.1.0-rc1
Change-Id: I9c95f8309e1c98bc1a25eeaad1962b4d28257261
2015-03-01 07:36:08 +00:00
Saurav Das
c313c405b2 Couple of changes for the BGP Router project:
1. Link Discovery can be turned off completely via configuration
2. PacketService allows applications to hint at table_type when registering for packets

Change-Id: I89f0bbf84dce1b449db5af19868f83503c44f750
2015-02-27 13:38:43 -08:00
Sho SHIMIZU
d796ae4b6b Avoid object creation and NullPointerException on unboxing
Change-Id: I9b372e7fcf6fb286834fabad60714fe58188b269
2015-02-26 22:05:37 +00:00
Brian O'Connor
8016f341e1 adding purge option to IntentRemoveCommand
Change-Id: Ic97acd9a8308355cd3135ea5df0a470b3579106e
2015-02-26 19:57:04 +00:00
Jonathan Hart
6a8fd1de53 Cleaned up IntentStores.
* Removed HazelcastIntentStore
 * Moved SimpleIntentStore back to trivial bundle (and removed older version
   that was already in the trivial bundle)
 * Removed default methods from IntentStore interface

ONOS-1056

Change-Id: Id5e15f44e287f51cca3e0b12a85d49cb4a07a9d3
2015-02-26 19:36:39 +00:00
Ray Milkey
bb32048ded Add unit test for MPLS path intent installer
- refactored common code from intent installer tests into
  a base class.

Change-Id: Iab4d01531748dd014ba73cc2fbed5930d8018977
2015-02-26 15:00:03 +00:00
Jonathan Hart
13d3dd9063 Remove default methods from IntentService interface.
Change-Id: Ie0ef999d7237a8e150e770a912c0fcbcd0c56adc
2015-02-26 07:46:51 +00:00
HIGUCHI Yuta
59f0229587 Remove all the mastership roles when a Node leaves the cluster
- Fix for ONOS-1189

Change-Id: I695ccd6bf2ff12da3702d1a982e377b7082c9341
2015-02-26 07:11:56 +00:00
alshabib
1058080de1 WIP: Started implementing static flows for corsa vanderweken pipeline.
Modified to not use Corsa driver by default.

Change-Id: If8df5769cf084346121d34bf4490f578e6b6f2d0
2015-02-26 03:31:44 +00:00
Madan Jampani
ba7da656e0 Removed lockservice and related classes since they provide no useful functionality at the moment.
Change-Id: I20bfb9aa6ede61ac813a464eceb946bcbc2b1bbb
2015-02-25 16:26:48 -08:00
Madan Jampani
15d773cc7e Changed type of term number and sequence number to long.
Change-Id: If90663fa9567988752f8c4af17daeff904865ab7
2015-02-26 00:16:52 +00:00
Jonathan Hart
34f1e3827c Add intents -p commmand to have some visibility into the pending map
Change-Id: Ic29460d8bf78f185bbfa426bc0aeef309b22cf7f
2015-02-26 00:11:57 +00:00
Madan Jampani
5961051006 Added couple of methods to LeadershipService.
Change-Id: I259b1a282a51af9425e941a720336f89d66f1097
2015-02-26 00:10:05 +00:00
Pavlin Radoslavov
2811c4032c Changes related to the "LinkCollectionIntent" type of intents
(e.g., Multipoint-to-singlepoint and Singlepoint-to-multipoint)

* Apply the Intent-defined traffic treatment only on the flowmods
  on the ingress switch with ingress inport for a flowmod.
  Previously, the traffic treatments were applied on each switch,
  and semantically it is not the correct (default) behavior.

* Express the flowmods by explicitly specifying the expected inport
  in the matching conditions for each flowmod.
  Previously, the inport was not included in the matching conditions.

[Merge from branch onos-1.0 - manually]

Change-Id: Ic378b6e8be033a70b016f4ba5550d91fe08ddd9a
2015-02-26 00:02:59 +00:00
Jonathan Hart
403ea930f2 Simplify anti-entropy code
Change-Id: I6568b1cc7c67e12c5a81ec9f8680f6461813ddce
2015-02-24 21:05:59 +00:00
Ray Milkey
cf590df40f Remove references to deprecated bandwidth method
Change-Id: I98f4f148d573bd7ce644733c33cc038b0b14dc97
2015-02-24 03:04:53 +00:00
Thomas Vachuska
529db0a9b5 Preparing GUI resources for dynamic injection of contributed content. Ready to go, but for now disabled in web.xml.
Change-Id: I0751077702835e7572b20037ba6ddc1950be6037
2015-02-23 16:42:14 -08:00
Ray Milkey
43a2822c10 Refactor tests to use shared mock implementations
Change-Id: Iba4e44b7bb88f8a31add9475a9155f85375ae61a
2015-02-23 22:44:24 +00:00
Ray Milkey
5a7787a62c Unit test for intent accumulator
Change-Id: Id9f8c918bdddc7fe24e4eb283676fd94275e58cf
2015-02-23 13:58:21 -08:00
Madan Jampani
2af244a977 Never process incoming messages on the netty event loop thread pool.
Currently in a lot of places we are deserializing incoming messages on this threadpool and that could be significantly limiting throughput.

Change-Id: I83eb7e91004cea4addb28bc28f27e50de10028fe
2015-02-23 20:37:25 +00:00
Thomas Vachuska
a0509897a9 Preparing for dynamic GUI extensibility.
Change-Id: Ic25143bb9ad8919d7c9e70d932dde528a9227e6a
2015-02-23 11:31:37 -08:00
Thomas Vachuska
4c6c377110 Fixed javadocs.
Change-Id: I74064c7e6dce702c769272cfa5dba99a61ea5abc
2015-02-23 08:50:49 -08:00
Thomas Vachuska
d32bfdcaa9 Fixing javadocs.
Change-Id: I49faf425e0f9aa53547caf42f1d4025fb8d9dba6
2015-02-21 16:39:25 -08:00
Thomas Vachuska
fe8c98ad0b Adding support for user interface extensions.
Change-Id: I1e41d16efc11be31ad4c2fb0c09e86e3dfd26706
2015-02-21 16:17:35 -08:00
Jonathan Hart
054da97e83 Implement command to view Raft partitions
Change-Id: I9d3cea49877d69c2d7935dadbbad2770349e793a
2015-02-21 17:00:39 +00:00
Brian O'Connor
64a0369dfb IntentInstaller: changing from Set to Collection to improve perf
Change-Id: Ia7f0f7d893645c7528ac9f51acff133f6d82383d
2015-02-20 22:15:46 -08:00
Pavlin Radoslavov
ab8553a52a Fix a bug: there are two ECN bits in the IPv4 header, not three.
Change-Id: Ibdfce817f2a506644e0f9cd16f46cf6ab1f75eb7
2015-02-20 14:13:50 -08:00
Ray Milkey
144eec5207 Fix Javadoc warnings
Change-Id: I366f2b9f3c11645a3392e0689619bfbad7a9eedd
2015-02-20 20:54:26 +00:00
Yuta HIGUCHI
6a47964aad Instruction related fixes
- Removed redundant equality check. (ONOS-975)
- Enforced using Instruction Factory methods.
- cosmetic fixes.

Change-Id: I178b55f8568c1a9132f0aa88465b8b34dc2b2df2
2015-02-20 19:12:19 +00:00