3538 Commits

Author SHA1 Message Date
Simon Hunt
df51001287 GUI -- Refactored Toolbar Service.
Change-Id: I758d0da30438eb7257350480024d3bd99624509c
2015-02-26 16:34:44 -08:00
Simon Hunt
85fa2b899d GUI -- Refactored Button Service.
Change-Id: I194af8f44aae4d6905bbe564d3aaae6599d20e92
2015-02-27 00:29:09 +00:00
Brian O'Connor
6e192436b4 Adding onos-gen-partitions
Change-Id: I6910e4e992231a7ffdb2c4bf43723529fa367172
2015-02-26 15:17:23 -08:00
HIGUCHI Yuta
4d973ebae6 Workaround for ConcurrentModificationException
- Workaround fix for ONOS-1193
- If locking the whole link collection damages the performance,
  apply the fix suggested on GossipLinkStore comment.

Change-Id: Idd4d2e5b8e3a50843fe7abd10a615cfbd9a16478
2015-02-26 14:31:36 -08:00
Jonathan Hart
dc9d7b85be PartitionManager: Don't try and store election state separately
Change-Id: Ie3733c6caae2e1d68108a6bb1d44bb784f5fedc7
2015-02-26 22:12:05 +00: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
36ef71ae4c IntentPerfInstaller: using feedback to determine submit size
Change-Id: Iaa4eb657ee0e22d008597c40561ea89105a09a15
2015-02-26 22:04:37 +00:00
Ray Milkey
a046a87148 Due to type mismatch, test wasn't actually testing the contents of the intent
Change-Id: Iac78d3917ce6287423c4369f22e448b007a6b5e9
2015-02-26 22:03:41 +00:00
Jonathan Hart
f893be8b15 Add a configuration option to vary how heavyweight anti-entropy is.
Change-Id: I57cea61182b3d19deb47608ffb7dd617529ae34c
2015-02-26 20:32:23 +00:00
Brian O'Connor
8016f341e1 adding purge option to IntentRemoveCommand
Change-Id: Ic97acd9a8308355cd3135ea5df0a470b3579106e
2015-02-26 19:57:04 +00:00
Simon Hunt
6925286a54 GUI -- Cleanup in sample view, toolbar and button services.
Change-Id: I8e1f2cc344547f1a76681d74eec138495dd39bf6
2015-02-26 19:53:21 +00:00
Jonathan Hart
626ac96c94 onos.py: compute hazelcast interface based on IP address
Change-Id: Ifadfaed81f3febd0a4644a763092e19672746e37
2015-02-26 19:42:23 +00:00
HIGUCHI Yuta
00c3f57d35 Concurrently update EventuallyConsistentMap
- Removed synchronized block on Map updates
  which may result in anti-entropy AD sent to the peer containing out-of-sync update/remove,
  such as update and remove for the same key, but stale information will be ignored
  on the remote peer by timestamp if timestamps are properly generated.

Change-Id: Id4f993eb44b7858d37486be0d4baaff1f9025efa
2015-02-26 19:41: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
Madan Jampani
a14047d6e2 Logging improvements.
Change-Id: I79b9ff16a0000e4bd72022f02baef5c779ea1b48
2015-02-26 19:23:03 +00:00
Madan Jampani
bd6845d1a0 ClusterService implementation that relies on accrual failure detector for determining node up/down status.
Initially off by default, until futher testing is done.

Change-Id: I0ac8850d76af717e7804d4503bedb227d5894a0a
2015-02-26 19:22:46 +00:00
Simon Hunt
7442d210d4 GUI -- Removed 'Angular' from the index.html title element. (Ready for release)
Change-Id: Ia093bc75cdd166d79e04fc899616f7589109df61
2015-02-26 10:55:00 -08:00
Simon Hunt
9e2104c743 GUI -- TopoView - Added Toggle Port Highlighting enable/disable with 'P' key.
- add/remove mousemove handler.
 - removed commented out test code.

Change-Id: Ice47db36491d466d2d73f6cef1dfc90ff9d8b088
2015-02-26 10:49:19 -08:00
Sho SHIMIZU
418685e12b Add unit tests for WithdrawCoordinating phase
Change-Id: I13d44f71f0d9f3007da11924c5cebb9c5398bfe7
2015-02-26 18:26:29 +00:00
Jonathan Hart
7baba07872 BGP router now handles the case where groups don't exists right away.
Also reworked some logic to make delete routes work.

Change-Id: I1f65279284b85144a847f1295fcbd7695cb59167
2015-02-26 09:51:58 -08:00
Sho SHIMIZU
3a7c98e762 Move IntentCompilers to the dedicated package
Change-Id: I9ec09e5e5fce45acfc6417dd640f57fd659f7f1f
2015-02-26 09:11:08 -08:00
Ray Milkey
167ae0b9a6 Change Optional.ofNullable calls to Optional.of
Nullable check is not needed because argument is known to be non null

Change-Id: Ie3574ad9bbd1eff8a2088ac8da2804ea2f5e90a1
2015-02-26 08:51:30 -08:00
Ray Milkey
dd5fb9551b Add unit test for link collection intent installer
Change-Id: Ifd89b9868b320546bc55ba78e207993e35aaf50c
2015-02-26 15:00:22 +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
Brian O'Connor
3c4b00d481 Adding ready() to IntentAccumulator
Change-Id: I34dc32c1a416629afbf3ba1f5b65d6a764e55fd6
2015-02-26 07:45:59 +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
Pavlin Radoslavov
93b606be85 Add explicit configuration for enabling IPv6-related flow installation
(IPv6 Neighbor Discovery related flow mods).
The default configuration is false (disabled).

This fixes ONOS-1146

The configurable parameters are:

 tools/package/etc/org.onosproject.provider.host.impl.HostLocationProvider.cfg
  - Enable host removal on port/device down events.
    (NOTE: not IPv6 related, added for completeness)
    hostRemovalEnabled = true
  - Enable using IPv6 Neighbor Discovery by the Host Location Provider.
    ipv6NeighborDiscovery = false

 tools/package/etc/org.onosproject.proxyarp.ProxyArp.cfg
  - Enable IPv6 Neighbor Discovery.
    ipv6NeighborDiscovery = false

NOTE: The above IPv6-related configuration has drawbacks,
partially because of some PacketService-related side effects.
Currently, we don't support enabling ipv6NeighborDiscovery
in one of the configuration files, and disabling it in another.
Enabling ipv6NeighborDiscovery in one configuration file is
practically equivalent to enabling it in both places.

Change-Id: Ief558697d85c8dcffc8941c575d0bf7d1397d90d
2015-02-26 04:22:42 +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
HIGUCHI Yuta
3a6f7cdc87 Include deviceId in Exception message
Change-Id: I1f730c99090bd5078ca24016675208e93ce476bd
2015-02-26 03:29:42 +00:00
Brian O'Connor
645bf200d9 GossipIntentStore: Renaming current and pending maps
currentState was poorly named, and also was hidden by a better named local variable.

Change-Id: Ia61eb73890009812d63026d5811553b2ff1bd94e
2015-02-25 19:04:35 -08:00
Brian O'Connor
7d405fee06 updating timeout in IntentPushTestCommand
Change-Id: Idce7b7ff0c94668bb8e93eb2ee7c273b3560f233
2015-02-25 19:03:46 -08:00
Simon Hunt
969b3c95a3 GUI -- TopoView - port numbers now offset along the link.
Change-Id: Ic093e5bb5f53d1d54ef4225917ff1177e4d5eef2
2015-02-25 18:21:29 -08:00
Bri Prebilic Cole
258f046e6e GUI -- Toolbar dynamically sizes based on added contents, adjusted CSS padding, minor radio button edit.
Change-Id: I52c3ef8af13a2b743cf7d71a83d42d7c9b5e5d6b
2015-02-25 16:40:57 -08: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
Simon Hunt
8ae474b684 GUI -- TopoView - don't add source port on host link.
Change-Id: Ia1a298eb6cab9da1c209c8365b244025468f1a20
2015-02-25 15:39:14 -08:00
Simon Hunt
1a5301e1c0 GUI -- TopoView - Port numbers now appear when hovering over a link.
- (but they are centered on the node -- still need to move them away from the node).

Change-Id: I491851ef2f4d31b85db0dbc2b3145218a4913844
2015-02-25 15:31:54 -08:00
Sho SHIMIZU
033bb70b13 Add unit tests for Withdrawing phase
Change-Id: I4157b5d8e0fb10443c49e57207982f69395506c4
2015-02-25 23:06:40 +00:00
Jonathan Hart
ac48a95bbb PartitionManager: Shutdown background thread during deactivate
Fixes ONOS-1168.

Change-Id: I7fc4fa3787b552d958e148b96e6a6a9c51291ddb
2015-02-25 14:19:28 -08:00
Simon Hunt
78f6598ded GUI -- TopoView - Corrected trafic data to match updated port numbers.
Change-Id: I43d4f8980b1795782b17debe9fd7a5b177878c1c
2015-02-25 14:02:32 -08:00
Bri Prebilic Cole
664d4702ad GUI -- ButtonService - Fixed radio buttons selection bug.
Change-Id: Ibdf77e231ce58d4863b11daecb0b8106f8e979a6
2015-02-25 21:43:02 +00:00
Ray Milkey
67c221fc0c Fix a typo in a parameter name
Change-Id: I533b40e47841424eec3ec979fa75b975e6b0bee2
2015-02-25 21:25:43 +00:00
Simon Hunt
5f361089f3 GUI -- TopoView - capture source and target port numbers on link models.
- "traffic" scenario: made all port numbers unique.

Change-Id: I98f0153e2523d0ad451f92ee1e63e9c12f8428d7
2015-02-25 11:37:25 -08:00
Simon Hunt
d526412659 GUI -- TopoView - Changed link "enhancement" to be addition of glow filter via 'enhanced' CSS class.
- removed unnecessary properties of link data object (delegate to source and target for endpoints).
- removed feature envy for existing links.

Change-Id: I9f96792d5665665a3467e419d80803e1b0db389b
2015-02-25 19:37:04 +00:00
Ray Milkey
d9905352c1 Unit test for path intent installer
Change-Id: I8683885329d88ed19933c20f4fb96f8a6ba2242d
2015-02-25 19:06:29 +00:00
Bri Prebilic Cole
439cd7794f GUI -- Created sample button and toggle for demo.
Change-Id: I3e2fc93f63688856ce14f347e20b4fb813866970
2015-02-25 09:20:36 -08:00