8779 Commits

Author SHA1 Message Date
Simon Hunt
c217cb999d Updated topo toolbar to use mojo glyphs and give it a cleaner look.
- Changed color scheme / hover behavior
- Differentiate between regular buttons and toggle buttons (visually)
- (Added temp. placeholders for 'endstation' and 'relatedIntents' glyphs)

Change-Id: I0338b076fe71e58a274542360b2b077c93dd867d
2016-08-30 16:24:47 -07:00
Madan Jampani
31bfc111d3 stc scenario for unclean cluster restart
Change-Id: I6166dbce8d18b7c67be63880baf86ae50fbed0a8
2016-08-30 15:44:38 -07:00
Thomas Vachuska
eddce78fcc Temporarily disabling NeighbourPacketManager to fix STC tests.
Change-Id: I21a1bc612de08ef96972044f5612cfb292841b61
2016-08-30 21:58:55 +00:00
Yuta HIGUCHI
f15065e46b Mark remnants of ConfigProvider deprecated
Change-Id: I018c46a81e50cdaffcc92aadeebb90cdf23d846c
2016-08-30 14:43:57 -07:00
Ray Milkey
4749b82b42 remove YMS javadocs from the top level API docs
Change-Id: I5d7072e6944ddc05c2b2f590fc407ce16496ec0b
2016-08-30 21:42:53 +00:00
Sho SHIMIZU
2d7c53932d Make FlowOperationsProcessor thread-safe with synchronized modifier
Different threads could call run(), satisfy() and fail() method.
Each of the methods reads/writes multiple fields during the method call.
These method calls need to be synchronized to gurantee to see the
latest value.

Change-Id: Ic252b56e0902170d7e0fdb83f96f0fb2e55ec56b
2016-08-30 14:28:07 -07:00
Sho SHIMIZU
7c9b73ab7d Tighten method visibility
Change-Id: I47d46be0c36bf3ee7e4a9bab7f6dd3dfc4d80256
2016-08-30 14:09:49 -07:00
Sho SHIMIZU
ecfbeb60b7 Read the latest value of lastSink
Multiple threads could access the field, lastSink, then they should read
the latest value of lastSink

Change-Id: I279ed6fa3db357008603cde5cb2c57671e66b33c
2016-08-30 13:34:42 -07:00
Sho SHIMIZU
d21c4ddaee Read the latest value of dispatchFuture
The field, dispatchFuture, is accessed in activate() method and the thread
where Watchdog is running. Then, different threads could access the field
and couldn't read the latest value.

Change-Id: Iceb390bcf3c5711c1dbb59198667138c8a90b036
2016-08-30 13:30:36 -07:00
Sho SHIMIZU
723907835a See the latest value of dispatchLoop
The field, dispatchLoop, is accessed in activate() method and the thread
where Watchdog is running. Then, different threads could access the field
and could miss the latest value.

Change-Id: Id218522f5b318fb3d05833ba57d908a1bf6d2949
2016-08-30 13:29:14 -07:00
Ray Milkey
3032af15c0 Fix javadoc syntax error - @throw -> @throws
Change-Id: I91853be5b1a73d460425221439f011a28fd2c5cd
2016-08-30 13:17:03 -07:00
Ray Milkey
ba82c0de1e Check that the DHCP Manager is active before testing its configuration
Change-Id: Id760d58df005060c0f1d0c2ebdde90fe356d2c9f
2016-08-30 20:00:07 +00:00
Victor Silva
df1eeae080 [ONOS-5169] GroupStore: properly add updated buckets
Adding buckets to group was ignoring the addition of groups
with different weights because they had the same treatment
and type. We'll now update such groupbuckets with the desired new
parameters.

Change-Id: I5f102c5fd78912844883c897bd858ee282f3cc12
2016-08-30 19:48:29 +00:00
Gaurav Agrawal
b102b01669 [ONOS-4694] YANG management system outline and YMSM/YDT interfaces
Change-Id: I050ed98ba18edc2c2cea2abafeee6d8c9061b579
2016-08-30 18:42:45 +00:00
Ray Milkey
f13feb84e8 Recover from NPE that can sometimes be thrown by Felix
Change-Id: Ib9415df4708dc1265edfdaf4168bd29eb0805614
2016-08-30 18:39:34 +00:00
Aaron Kruglikov
ed88ff683e Adding additional resources for instantiating async consistent treemaps.
Change-Id: I7bfc602ac22eda1844fea2a7b3e3133f83157bf3
2016-08-30 17:58:42 +00:00
Murat Parlakisik
c6759e80bd ONOS-4374 Enable installing flows with hard_timeout
Change-Id: I4e60e93aad44c7e8f8913fa4dd3ed5a2565d7034
2016-08-30 17:46:55 +00:00
Jonathan Hart
9bdaaecaf0 Implementation of the NeighbourResolutionService.
Change-Id: I41fc48578df3027ec71ee7369171c8988ee7a85e
2016-08-30 17:43:44 +00:00
Jian Li
b26d350b58 Improve unit test coverage by considering MapRecord and EidRecord
Change-Id: I156d9ce8a4c3becedb188a53b6ce1b8f24a5e41b
2016-08-30 17:35:40 +00:00
Jian Li
42b3e4383c Remove recordCount and locatorCount from LISP control message class
Because recordCount or locatorCount is only used when decoding the
LISP control message received from xTR, therefore, there is no
need to provide any interface to specify this value from obj builder.

Change-Id: I380b275e6f06feb4846b84f62ebf2430ad5a9ec6
2016-08-30 17:35:30 +00:00
Bob Lantz
894eab5711 Add examples/ dir, README, and multicluster.py
multicluster.py creates two ONOS "clusters" (1 node by
default, though larger are possible), each of which
is responsible for a separate segment of the data network.

Change-Id: I233c9884b565bd6a28fa1a05e990e86207c88347
2016-08-30 17:34:32 +00:00
Jian Li
d4e6370b21 Add NotNull and Argument check during object build for LISP object
Also correct IP enumeration type into IP4.

Change-Id: Id970ee608c885826cfd2de7b5448b2bc451e079f
2016-08-30 17:31:51 +00:00
sangho
09a6ffe973 [ONOS-4983] Fix the bug of gateway information modification
Change-Id: Ie5b672b5034e2cdac08d674da510e21f02588e6d
2016-08-30 17:17:29 +00:00
Steven Burrows
9edc7e0057 Topo2Link - Fixed width of rectangle and centered text
Topo2Layout/Link - Added port number on link hover
Topo2Layout/Select - Added Drag functionality
Topo2SubRegion - Added onClick event to node
Topo2Device - Added Color Theme
TopoForce - Removed console.log

Change-Id: Icd85d92c8f3c5f96cb896068fe9375c250717f5f
2016-08-30 15:51:43 +00:00
Simon Hunt
33ab26928c Fix glyph names.
Change-Id: I295b628b4cbe70c746ef27ff3c729541247e21a8
2016-08-29 21:08:42 -07:00
Simon Hunt
0e6c214607 Updating / Adding mojo icons to Glyph Library.
Change-Id: I8252824cf7440ffe1e9e2516df64cc4a9b819d9a
2016-08-29 20:19:10 -07:00
Bob Lantz
503a402e89 Multiple ONOSCluster support for ONOSCLI
Previously we were only passing the first ONOSCluster
into MininetFacade, but lo and behold it supports as
many networks as you like! So we pass them all in the
case where we have multiple ONOSClusters.

Change-Id: If848886b958aa47d3e4834c44adc98fffd90453c
2016-08-29 18:08:37 -07:00
Bob Lantz
8e576256fb Enable --custom files to import ONOSCLI
Since --custom files are execed, subsequently importing them
actually creates duplicate classes. This wouldn't be a problem
except that we depend on isinstance(). As a workaround, we allow
the class name to match if isinstance() fails, assuming it will
be a class that is compatible with ONOSCluster or ONOSNode.

Example: env PYTHONPATH=. mn --custom onos.py,mytest.py

where mytest.py imports onos

Change-Id: Ib4cda82fbdd612420de1e113ab768e2f137d5213
2016-08-29 17:56:11 -07:00
Bob Lantz
5763516eb6 Add portOffset for multiple ONOSCluster port forwarding
With multiple ONOS clusters, we want to make sure that the
forwarded port numbers don't collide. We add a portOffset
which is automatically incremented appropriately as more
ONOSClusters are created. It can also be specified explicitly.

Change-Id: I62977c3d4141668d9f541067db1a20ec0035489b
2016-08-30 00:55:39 +00:00
Jonathan Hart
38feb6eddc Revert "Fix for ONOS-5032 and ONOS-5034"
This reverts commit 50ad080683317df192a0f7159d9902dc1c403ed2.

Change-Id: Id2f9924a28c18686b4be30200244dbd0c975e90a
2016-08-29 23:16:45 +00:00
Yoonseon Han
feb95f1632 Just a copy from FlowObjectiveAdapter of org.onosproject.sfc.util.
Now, FlowObjectiveAdapter is not exposed to external applications.
So, each App developer has to define own FlowObjectiveService in their test code.

I removed the previous copy in sfc package.
FlowObjectiveAdaptor is renamed into FlowObjectiveServiceAdaptor

Change-Id: I25545669eea3a73deebaf2a6f2c46e2ff2890b34
2016-08-29 19:19:13 +00:00
Sho SHIMIZU
c218bfaa7c Check equality of String with equals(), not "=="
Change-Id: I0113edf6161d97578b2f21c3db21c7bcbd8fdce6
2016-08-29 11:07:55 -07:00
Jian Li
e4ba2a4460 Add unit tests for LISP control message serializer and deserializer
Change-Id: Id517db99635ad8e055d6581e5c0f3ac9f45f2869
2016-08-29 16:55:37 +00:00
Jian Li
76ea05796d Add unit tests for LISP address serializer and deserializer
Change-Id: I56538221f3951d18c1feb9343d87cbb46c3ed04d
2016-08-29 16:52:22 +00:00
Jian Li
edc5db1346 [ONOS-4718] Initial implementation of LISP control msg serializer
Change-Id: Ia068e1b158f05dd70839cb1020f15dc66b0142a0
2016-08-29 16:51:31 +00:00
Deepa Vaddireddy
50ad080683 Fix for ONOS-5032 and ONOS-5034
Change-Id: Ib964252dd05754ce7069a7a82ccb1d1c29bfa978
2016-08-26 03:22:47 -07:00
Simon Hunt
36dd8f1608 Added mojo icons:
- ports, switch, roadm, uiAttached, summary, detail

Change-Id: I4bff2fcaeb16e7dcb59268a46d627ebe92110556
2016-08-26 19:12:43 -07:00
Simon Hunt
9a4b96d98b Added mojo icons: map and selectMap.
Change-Id: Ia2aa6eccf24e582477de8c41b1b0465e2c290485
2016-08-26 17:59:20 -07:00
Simon Hunt
5a6c60c5fd Enhanced "Show-Glyphs" development web page to show zoomed icons.
Change-Id: I2fe267a2bf67ef9f99637fd5916b31a0b657fcf3
2016-08-26 17:21:29 -07:00
Steven Burrows
6deb4ce036 Grouped injected vars and shortened findNodeById
Fixed syntax in Topo2NodeModel.js
Added SubRegions to the topo2 view

Change-Id: I04c793f3a9a98808eaa11049f31bbb166cc5b66f
2016-08-26 22:50:46 +00:00
Ray Milkey
ab87ac444f Prevent wipeout command from failing STC runs
Change-Id: I07ec96d408732fbd9e9e47ffcdc22b7bf850227e
2016-08-26 20:48:52 +00:00
Ray Milkey
2b6ff4250e Fix ONOS-4976 - buffer underflow from flow backup serialization
Change-Id: I924e53cfd436c38a45d1c9a237553a56acf888ef
2016-08-26 13:11:39 -07:00
Simon Hunt
3304169c66 Fix for ONOS-3428 - remove width constraint to intent view control buttons.
Change-Id: I7007d0a90e1a0a5a49aecd09c6058df6512e0e35
2016-08-26 12:47:19 -07:00
Kavitha Alagesan
98c00067a2 fix for ONOS-3428
Change-Id: I180ee4fb26383c017fbeff98c324d99dc21a34c4
(cherry picked from commit b7fc92d)
2016-08-26 19:43:15 +00:00
Kavitha Alagesan
c087453076 Fix for ONOS-3677
Change-Id: I95f87b93f18da98a0bd0b77d7c41b83aa9f7390e
(cherry picked from commit 9fa6da1)
2016-08-26 19:39:02 +00:00
Kavitha Alagesan
eaf614c3bf Fix for ONOS-3678
Change-Id: I806f32c13df33f137d199618de0ad495833a5d0e
(cherry picked from commit 14fefb5)
2016-08-26 19:34:07 +00:00
sangho
24556ec91d [ONOS-5158] Allow to remove gateway nodes using network config file.
Change-Id: If59216bc7992517fa6f247e09cb0152c340ce6af
2016-08-25 21:49:09 +00:00
Yuta HIGUCHI
e8f48d8d08 ExecutorService with somewhat predictable thread assignment.
- ExecutorService which allows the caller or the Task to
  express hint about which Thread it needs to be executed.

Change-Id: If1cc58f6b2369bb5afce4f402c195eacedf67f05
2016-08-25 10:20:35 -07:00
Steven Burrows
af3159df5f Added Breadcrumbs module
Change-Id: Iba897409f728ffa7e58681788c63e3c251cd8358
2016-08-25 16:07:35 +00:00
Viswanath KSP
13e5b51b6d [ONOS-5155] Exposed delta statistics via northbound REST
Change-Id: I04d9ec04c92bccd7bd5b5fd23d61be241a67d524
2016-08-25 12:37:27 +05:30