3538 Commits

Author SHA1 Message Date
Bri Prebilic Cole
812f6c0033 GUI -- Modified Toolbar service to have multiple rows of buttons. Added more buttons in topoToolbar - WIP.
Change-Id: Ibc749b4ecdcb07ecf63d50817f8af3d455b4cde0
2015-03-25 00:46:31 +00:00
Srikanth Vavilapalli
717361f32f Distributed group store using eventual consistent map abstraction
Change-Id: I618a0f6fa80e0e25285d7a2026032f09ba90aa70
2015-03-25 00:27:54 +00:00
Sho SHIMIZU
ee2aa65a3d Merge IntentInstaller's role into IntentCompiler
It resolves naming mismatch in naming of IntentProcessPhases and states
handled in the phases. It is described in ONOS-1064.

- Define FlowRuleIntent that enables flow rule level operation
  as an intent.
- Remove IntentInstaller interface
- Existing installable intents such as PathIntent, LinkCollectionIntent,
  OpticalPathIntent and MplsPathIntent now become non installable intents.
  Only FlowRuleIntent is categorized as installable intent now.
- Implement intent compilers for PathIntent, LinkCollectionIntent,
  OpticalPathIntent and MplsPathIntent. They generates FlowRuleIntents.
- Write unit tests for the newly created intent compilers according to
  the intent installers' unit tests
- Remove all intent installers and their unit tests

Change-Id: I22d6c7acb65a4c066145de0018bd0727f44bd54a
2015-03-24 14:09:04 -07:00
Ray Milkey
e076c791a5 Implement builders for optical intents
Change-Id: Ide728a943eb0ec3d3ba995f63c016e7d52bff65c
2015-03-24 20:08:31 +00:00
Madan Jampani
6e0d147193 Fixes a javadoc warning
Change-Id: I0da1e4bd229940bbf6d64f12349f134aae326f4b
2015-03-24 20:05:52 +00:00
Thomas Vachuska
f15511b826 ONOS-180 Suppressing a few superfluous stack traces on shutdown.
Change-Id: If648b9d7658e8ee57a0e9eb157b12120f0ea20bd
2015-03-24 12:17:57 -07:00
Thomas Vachuska
4fcdae7c03 GossipApplicationStore fix to prevent attempt to notify delegate when there isn't one yet. Fixes an intermittent NPE.
Change-Id: I49a2f0da08949fb4f589e6e831a74e5728196a2f
2015-03-24 11:39:05 -07:00
Simon Hunt
4c5c046d7f GUI -- Added distinct icon for nav-menu in the masthead.
Change-Id: If0ceed757cf580c80159e67af7f1b03671c78147
2015-03-24 18:33:56 +00:00
Ray Milkey
4250735018 Remove deprecated instructions() method in the traffic treatment class
Change-Id: I739b35bdcbf9867c639c7b6ca4006f3eeafbb055
2015-03-24 18:18:28 +00:00
Thomas Vachuska
f845cf6cfd HostLocationProvider fix to avoid locating hosts on logical ports.
Change-Id: I39c754bbb204ef13799f4630557d29e2c18ad915
2015-03-24 10:13:09 -07:00
Madan Jampani
7c5210069d ONOS-1362: Support async version of ConsistentMap that lets efficient chaining of operations
Change-Id: I672a15ba2a517db3e22f6ce8d739ca48307e6e63
2015-03-24 00:00:32 +00:00
Thomas Vachuska
5d5858b95b GUI -- Fixed a defect where showTraffic was sending redundant link classes.
Change-Id: I7fd1385cc6e200f1b61930e218cc82041084e0a7
2015-03-23 16:31:10 -07:00
Thomas Vachuska
0d6af8d983 Fixed a defect where remotely-induced feature install was trying to stomp over locally -induced feature install.
Change-Id: I1cb2c2dd3da03a34b80b1db312056b44cc9c1f9f
2015-03-23 15:54:47 -07:00
Bri Prebilic Cole
6ffea6b594 GUI -- Tooltips are aligned correctly based on where the mouse is on the screen.
Change-Id: I0b350cfbb6dec8cad42907e08a4c8c17bf694d73
2015-03-23 22:24:39 +00:00
Thomas Vachuska
4c2fa064d8 GUI -- Fixed topology view failover.
- Promoted the new dynamically composed GUI page as the primary.
- Legacy is still available under onos/ui/legacy/index.html

Change-Id: Ife0ba50b7b4b567913498d80c2d261379ee268a5
2015-03-23 22:18:09 +00:00
Jonathan Hart
c39773cf24 Exclude tools/package/maven-plugin from obs
because it is not linked in to the build tree.

Change-Id: I455a4d652e320f5c2e8bddb55cd3645aa54e0691
2015-03-23 22:09:55 +00:00
Madan Jampani
7d2fab296a ONOS-1326: Added support for observing when node liveness status was last updated. Useful for detecting/debugging stability issues.
Change-Id: I8ffebcf3a09a51c6e3e7526986a0f05530ed757f
2015-03-23 21:45:52 +00:00
Ray Milkey
ebc5d22159 Refactor connectivity intent creation to use builders
- Each connectivity intent now has only one constructor
- Intent constructors are now private for leaf classes and
  protected for classes that can be derived from
- Each intent class has a Builder class that accumulates
  parameters for intent creation
- Each intent class has a public static builder() method
  to create a builder
- Each Builder class has a build() method to create the
  intent from the accumulated parameters
- Added keys to a few intent types that were missing them
- Tightened up usage of checkNotNull(), taking advantage of
  the return value to save some lines of code
- Modified callers to use the builders instead of directly
  calling the constructors

Change-Id: I713185d5ecbadbf51f87ef7f68fec41102106c78
2015-03-23 21:12:14 +00:00
Jonathan Hart
0d18df3f35 Implement copyData as copy constructor on IntentData.
Cleaned up javadocs. 

Change-Id: I90e6350244991d4f30180fe501fec9e6fd180d43
2015-03-23 21:06:35 +00:00
Ray Milkey
67c22726a2 ONOS-1242 - REST API for Withdrawing Intents
- upgraded Jersey to 1.19 for some REST bug fixes for Java 8
- consolidated references to Jersey by using the dependecy
  management plugin in the top level pom file.

Change-Id: Ic027f97f8fce6c673c9f2c02a92abaeedfedeb97
2015-03-23 20:40:33 +00:00
Pavlin Radoslavov
6ba7efceaf Work toward ONOS-1268 Expose IPv6 support at the ONOS CLI level
* Automatically assign the Ethtype based on the IP address version
  for the "--ipSrc" and "--ipDst" arguments

* Fix a typo in the --ipSrc and --ipDst description

* Check whether the --ipSrc and --ipDst address versions are same

Change-Id: Iaac98987b070c5fed97a7f6eb4c544f1578effcd
2015-03-23 17:08:18 +00:00
Brian O'Connor
0a53facc44 Adding log writer command
Change-Id: I817f658f626a8f35ef276dbecb7c1535983f51c9
2015-03-22 23:36:32 +00:00
Bri Prebilic Cole
54d0938881 GUI --Base Tooltip Service created.
- tips will appear above the mouse when element is hovered over
      - tips disappear after mouse leaves element
      - positioning of tooltip is still WIP, testing of it was run in Sample View

Change-Id: Ic3be1235bf8d2d4bbf473f965e3a1f8c79ce9fc6
2015-03-20 17:04:45 -07:00
Jonathan Hart
67fc097a1e Remove "strip vlan" from our API because it is the same as "pop vlan".
"Strip vlan" is OF1.0 terminology, whereas by OF1.3 it is called "pop vlan".

Change-Id: I483526b39bf8ab6f9f96f251a8469e060b688878
2015-03-20 23:50:28 +00:00
Pavlin Radoslavov
d7b4584aae Added empty space after '.' between two sentences.
Change-Id: I6fa88561264bffa2df568a47a9e562c4e4fe7df6
2015-03-20 15:40:59 -07:00
Brian O'Connor
023a1c72d6 Revert "Abstract ConnectivityIntentCompiler is not a @Component"
This problem needs to be fixed in a better way.

This reverts commit 8317ad56e8c5dc6b8c5fadf3d87a51f885c8dfa2.

Change-Id: Icbc4492016a0858221a3e79121db36cbb87b3b2b
2015-03-20 01:11:29 +00:00
Brian O'Connor
8317ad56e8 Abstract ConnectivityIntentCompiler is not a @Component
Change-Id: I62844f2dbc459f2b7053fbc0eb12e32f1e1293ac
2015-03-20 01:08:06 +00:00
Thomas Vachuska
785f581408 ONOS-1328 Converted ONOS features to apps.
ONOS_FEATURES env. var is now deprecated!

Cells are expected to use ONOS_APPS env. var to tailor which builtin apps should be activated by default.  All builtin apps are installed by default, but can be uninstalled if desired.

Cleaned up cell definitions accordingly.

Change-Id: If3bb4691a73543a69197f4bf1855c8368f558450
2015-03-20 00:37:50 +00:00
Simon Hunt
da2f3cc041 GUI -- Switched order of Instances and Summary buttons on the toolbar.
(it just feels better).

Change-Id: If447ee1f8f76c22607da41767b3de0f46d35847f
2015-03-19 15:11:57 -07:00
Bri Prebilic Cole
d621905a16 GUI -- Topo Toolbar is destroyed after view is rerouted.
Change-Id: I10085d3b8b77756fac988633dc8b930e433f81fd
2015-03-19 14:34:22 -07:00
Charles M.C. Chan
e5b610ee26 Update environment settings for maven 3.3.1
For those who use 3.2.3 (as specified in Blackbird), here is the upgrade instruction.
cd ~/Downloads
wget https://www.apache.org/dist/maven/maven-3/3.3.1/binaries/apache-maven-3.3.1-bin.tar.gz
tar -zxvf apache-maven-3.3.1-bin.tar.gz -C ~/Applications/

Change-Id: I11d98faf1405e120fdff5748c5875c8842f4c58d
2015-03-19 21:30:21 +00:00
Bri Prebilic Cole
deca6e9538 GUI -- Created new glyphs (with unit tests) for toolbar.
Change-Id: I4a118f5efdbaa41d3ef657de2adb4ad360b1c4f4
2015-03-19 13:51:48 -07:00
Thomas Vachuska
ee4f9377c2 Adding more app.xml files.
Upgrading app.xml versions.
Cleaned-up features.xml.

Change-Id: I7c5a85480568ffe35281286aefc9aa4e1b3b2afd
2015-03-18 22:14:50 -07:00
Thomas Vachuska
f99ddc3abd Fixing .gitignore to omit some transient test files.
Change-Id: I2bb2cd091a5dd7acbb3cc496f8d2ded20e6c6d0b
2015-03-18 22:09:44 -07:00
Thomas Vachuska
eef7f3ae59 Adding tool to spawn iTerm configuration for monitoring logs of the current cell instances: 'onos-iterm-logs'
Adding tool to spawn iTerm configuration for executing commands against the current cell instances: 'onos-iterm-cli'

Change-Id: I356603eb9b77779e2c1025adf0cf2c8816acd1ed
2015-03-19 05:04:31 +00:00
Simon Hunt
0906014a17 GUI -- Fixed topo toolbar button synchronization with keystroke commands.
- Added toggleNoCb to the toggle button widget.
- Added _keyListener property to keyBindings structure, and the invocation of it from keyIn().
- Added keyListener to topoToolbar to synchronize button state.

Change-Id: Iffb1dc5d38f2d9010f5e246cfb81a6b3db30d4af
2015-03-18 20:23:44 -07:00
Thomas Vachuska
8683e01678 Fixing codec usage.
Change-Id: I9101296a7ec4d4b13bf11df3e49e17afad79405e
2015-03-19 01:40:30 +00:00
Pavlin Radoslavov
166c547041 Added Intent PURGED events to the collected Intent Event metrics.
Change-Id: Ibe641b91ffe68e8699d6a21a430ea772a7cb7e7a
2015-03-19 01:07:43 +00:00
Thomas Vachuska
d5d9bcbdce Changing location where ONOS stages its deployed apps.
Change-Id: Ia3931454067829b6331419f81a714d865dc8a1e6
2015-03-18 17:46:20 -07:00
HIGUCHI Yuta
3c994f7e8c ONOS-1329: Migrate Codec related code to onos-core-common bundle
- removed unused dependency to onos-core-trivial tests

Change-Id: I0f13cff6cc99403f7c0e0d7362f83d0ba557f10b
2015-03-19 00:42:52 +00:00
Bri Prebilic Cole
04b4140b10 GUI -- Cleaned up topoToolbar.
Change-Id: I07bb0248de27567101055977396b6aae072c979b
2015-03-19 00:35:50 +00:00
Thomas Vachuska
b91356eae7 Ooops. Fixing parent pom reference.
Change-Id: I8b2bc0dc10f486a484580c307c597a3519613e93
2015-03-18 17:22:38 -07:00
Charles M.C. Chan
441d7da3dd ONOS-1153: Ignore Router Solicitation, Router Advertisement and DAD in HostLocationProvider
Change-Id: I533919fc0b04b87ca54ff0933ca87d38b664e2ef
2015-03-19 00:05:34 +00:00
Pavlin Radoslavov
6aaa1e06f7 Work toward fixing ONOS-1138: Batching topo event may cause event loss
Added another metric to the onos-app-metrics-topology application
to collect and display the number and rate of the Reasons for the
Topology Events.

Example:

onos> topology-events-metrics
...
Topology Graph Event Timestamp (ms from epoch)=1426699861509
Topology Graph Events count=6 rate(events/sec) mean=0.002315 m1=0.000000 m5=0.000004 m15=0.000378
Topology Graph Reasons Event Timestamp (ms from epoch)=1426699861509
Topology Graph Reasons Events count=9 rate(events/sec) mean=0.003472 m1=0.000000 m5=0.000005 m15=0.000567

The corresponding object names in the JSON output are:
  topologyGraphReasonsEventRate
  topologyGraphReasonsEventTimestamp

Change-Id: Ib1aeb83c38b3b72d0ae8a4f49bc1e14badc0199d
2015-03-18 23:57:20 +00:00
Brian O'Connor
a468e90ef1 Adding test apps as submodule to apps
Moving election and intent-perf there

Change-Id: Ia71e98438b33d3a1c5c12b08ae98c32930c4bd81
2015-03-18 23:49:03 +00:00
Thomas Vachuska
945e7b0809 Cleaning up documentation and some white-space.
Change-Id: I3d8ba130f0d7b99c15e52a95a021a8a81e1a1a5f
2015-03-18 23:15:12 +00:00
Bri Prebilic Cole
4db8dce997 GUI -- TopoToolbarService created, working first set of toggles added.
- WIP on svg exercise (tabled to be worked on on another date)

Change-Id: I8d4ed84f0de44516419910dc5ee4c8eca7dc46ff
2015-03-18 22:50:39 +00:00
Brian O'Connor
2a1779dd83 Moving some apps to new repository
Repo URL: https://gerrit.onosproject.org/onos-app-samples

Apps moved
- calendar
- database-perf
- demo
- election
- ifwd
- intent-perf
- tvue

Apps removed
- foo

Change-Id: I90e8313554246aaeb92e46f9e9efcb93d951585b
2015-03-18 15:38:56 -07:00
Ray Milkey
3e3ec5f786 [Cardinal] Add builders for Intents and remove extra constructors.
Starting with PointToPoint intent to see how it looks

Change-Id: I5366a05d657ceaad18c03b95cd71f5d1107200e2
2015-03-18 22:17:54 +00:00
Thomas Vachuska
84ca6e751e Fixed Apache Karaf fetch URL to use onosproject.org.
Change-Id: I9ed7220df490c90619665e38cb9c4979250c54e5
2015-03-18 14:31:29 -07:00