419 Commits

Author SHA1 Message Date
Thomas Vachuska
b64514778b Moved demo app back to main onos repo.
Change-Id: I3e445b28c1a19f9af9b582a05f3f6403af6d19c2
2015-03-31 16:03:56 -07:00
Thomas Vachuska
0fa583c493 GUI -- Added applications view.
Fixed table.js column width computation.
Fixed app.xml files to leave out ONOS from description.

Change-Id: Icfe323e63c7965dd8c3a268421ea58065c5c8236
2015-03-30 23:46:18 -07:00
Thomas Vachuska
b967ebfd9d GUI -- Fixed intent perf GUI styling.
Change-Id: I552d3a50f7f4dd5bb1df7115c15eb6a04f538378
2015-03-29 10:04:14 -07:00
Thomas Vachuska
72dd99dadc GUI -- Fixed intentPerf javascript error.
Change-Id: I7d46cc7967fbb35808db939a1879fb7036762e17
2015-03-27 18:41:18 -07:00
Thomas Vachuska
fba2857430 Enhanced app CLI.
apps now support -a|--active option to show only activated apps.

app command now takes a list of app ids to allow single command to activate/deactivate/uninstall multiple apps

Deprecated old CLI commands which were already not included in the run-time config.

Consolidated intent & topology metrics to use the same app id since they are bundled into the same app.

Added 'reinstall' and 'reinstall!' option to onos-app tool.

Change-Id: I1406843bf608acf8e7d969a547b929d056e77067
2015-03-27 21:54:36 +00:00
Thomas Vachuska
90c7be2086 GUI -- Fixed a few issues int intentPerf.js caught by review, but after merge.
Change-Id: I3ea108d0a7827d5633ef7667db572bfd5b85689a
2015-03-27 14:12:46 -07:00
Thomas Vachuska
95aadff0f9 Added GUI to intent perf app to monitor performance stats in real-time.
Fixed app ids for metrics app.

Change-Id: Icea99991ad71c80c53a832c236dcc05fefbb9b02
2015-03-27 12:49:37 -07:00
Srikanth Vavilapalli
89ad3770b7 ONOS-1400: Fixing BgpRouter functionality break due to distributed group store changes
Change-Id: I7e0dd3bb32333a19ab234ad66b84fd22a06fc341
2015-03-26 16:18:12 +00:00
Thomas Vachuska
e167b5f08c Fixed some wrong app.xml configurations.
Change-Id: I7ca5469ab501b35cf56c8ebeddb69dcaa7471bbf
2015-03-25 21:15:47 +00:00
Thomas Vachuska
5630c61407 ONOS-1323 Upgrading environment to use Apache Karaf 3.0.3
Requires restart of any dev shell sessions that may have KARAF_VERSION=3.0.2 already set.

Developers that have their own local Karaf will have to run 'onos-setup-karaf <ip-address>' command

Change-Id: Iba234b3cd5af89de6dd249c97cac97525364cc34
2015-03-25 00:56:59 +00:00
Srikanth Vavilapalli
717361f32f Distributed group store using eventual consistent map abstraction
Change-Id: I618a0f6fa80e0e25285d7a2026032f09ba90aa70
2015-03-25 00:27:54 +00:00
Ray Milkey
e076c791a5 Implement builders for optical intents
Change-Id: Ide728a943eb0ec3d3ba995f63c016e7d52bff65c
2015-03-24 20:08:31 +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
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
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
b91356eae7 Ooops. Fixing parent pom reference.
Change-Id: I8b2bc0dc10f486a484580c307c597a3519613e93
2015-03-18 17:22:38 -07: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
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
Ray Milkey
50a9b72f2d Add priority to remaining intent types
Change-Id: I77a7c2fbdb0f6b6a9d3c08cf190ab8cf4968668d
2015-03-18 16:25:57 +00:00
Brian O'Connor
6ea48a22fe Starting snapshot 1.2.0-SNAPSHOT
Change-Id: Iffa1055c22448849353ede6581c277f4d3de78d8
2015-03-17 20:07:20 -07:00
Brian O'Connor
91d9019b24 Tagging ONOS Blackbird release: 1.1.0
Change-Id: Iee1accb8f83e03a1c4b2250d36d48aefd6383c97
2015-03-17 19:45:58 -07:00
HIGUCHI Yuta
2a784fcc53 Fix build path issue
- BundleContext not found in class path

Change-Id: I0f4c01b46dcb1522e9b50ae23d9dcd0a246eafb4

Conflicts:
	apps/intent-perf/pom.xml
2015-03-17 19:27:32 -07:00
Pavlin Radoslavov
a460e29a21 Fix the decoding opf BGP AGGREGATOR Attribute when 4 octets AS is enabled
This fixes ONOS-1318

Change-Id: I5681b574c46626e4092439e28d28831499e9562b
2015-03-18 01:11:59 +00:00
Brian O'Connor
f2114997a3 Small fixes to IntentService and perf-installer
Change-Id: I7f1fedd96e5154254aa1db205e9427ac122bfc39
2015-03-18 01:09:42 +00:00
Thomas Vachuska
e63e3d4555 ONOS-1315 Adding configurability to intent performance test app.
Change-Id: I2782bdc0f78cc49aa60af1fa03eae91a2fd6bce0
2015-03-17 21:53:59 +00:00
Thomas Vachuska
9c2ae65cb9 Adding app.xml for the mobility app.
Change-Id: Id8bf52b4e310bc0e7a215c2839227add5cd44e7a
2015-03-17 21:53:42 +00:00
Ayaka Koshibe
bfbe1d757a Avoid processing IPv6 messages in ProxyArp if it is disabled (ONOS-1313)
Change-Id: I1eed21434d5d1e1cdeb175312b527c3b4c3942c5
2015-03-17 21:51:04 +00:00
Thomas Vachuska
7648d662b1 Prototyping GUI & CLI for the intent performance test fixture.
Change-Id: I1f33872e62b55d168ccd8f2904472e41ecba4cc8
2015-03-17 18:19:00 +00:00
Jonathan Hart
f9f2cbb2c9 WIP: Turn off group deletes for now as they're not needed for deployment
Change-Id: I62c9d414222cfb77ecce45291ee52d480a0c1290
2015-03-16 18:31:27 +00:00
sangho
c0b3c342ad BgpRouter app supports both OVSSwitch and Corsa HW switch.
Change-Id: Ic0174338af3dbb76e1195b0f94d53a13a60cc0e7
2015-03-16 11:27:17 -07:00
alshabib
da1644e2ae Added delete all flow rules during Corsa switch handshake
Change-Id: I885dad9453754bf86f12d4a86541fe7bfe7efd72

added delete all rules in corsa switch handshake

Change-Id: I7905a754653f6fc7eb8643023372e6dfa779cf26
2015-03-16 11:08:01 -07:00
Brian O'Connor
4964d3d768 Updates to GossipIntentStore and IntentPerfInstaller
Change-Id: If350a6276d758222f9b6ea25ab78d055321eecac
2015-03-13 18:09:06 +00:00
Thomas Vachuska
8c8b0372e5 Adding OnosCfgMojo to the onos maven plugin.
Removing previously manuall generated files since they are now auto-generated.

Change-Id: I1f8361f97db74c9e2f077b3d5e7a6e65876561ef
2015-03-13 03:42:02 +00:00
Pavlin Radoslavov
2aa1f32c84 Fixes related to SDN-IP intents:
* Use intent priority when installing multipoint-to-singlepoint intents:
   the loinger the routing prefix match, the higher the intent priority.
   This is needed to perform correctly the equivalent of longest prefix
   match in the switch.
 * Use intent priority for the point-to-point intents: the priority for
   this BGP-related control traffic is higher than the
   multipoint-to-singlepoint intents.

 * Use the appropriate Key when installing multipoint-to-singlepoint intents.
   The key is the network (destination routing) prefix address represented
   as a string.

Change-Id: Ic489a1e5f31adceb4c9d1dcea52293a2b3db0b79
2015-03-11 17:59:44 -07:00
Brian O'Connor
1545b1ef08 Starting snapshot 1.1.0-SNAPSHOT
Change-Id: I8caca4df60027426c18b51c1b35c313fe9ac1c10
2015-03-11 16:38:23 -07:00
Brian O'Connor
20fa3a45f9 Tagging 1.1.0-rc2
Change-Id: I1fa0feb1b790f79baa465fd82965433e109b34b2
2015-03-11 16:23:07 -07:00
Brian O'Connor
5b7ef44994 adding IntentPerfInstaller config
Change-Id: I6df0a7bab199e403b1375e148d5825bad7ec0aa7
2015-03-11 14:53:55 -07:00
Brian O'Connor
87ba7a7b8f Pulling PartitionService into API and making IntentPerfInstaller configurable
Change-Id: I9fde28986b6714c0ca4d635d5a3699094e2f0081
2015-03-11 14:40:09 -07:00
Jonathan Hart
12ef205585 Use higher priorites for longer prefixes
Change-Id: I208e6be5c46041e8019dec7940e28dad1f08f3ed
2015-03-11 19:05:58 +00:00
Thomas Vachuska
6519e6f1de Making number of components configurable using the central component configuration subsystem.
Change-Id: Ia32c51480913689339a766d9849e792d62f7d133
2015-03-11 09:12:41 -07:00
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
Pavlin Radoslavov
87dd930f2e Use a cleaner mechanism to test whether an IP address or prefix
is IPv4 or IPv6.

Change-Id: Ia88f76be87a30573a50eeeedb78d98713ac1ae27
2015-03-10 13:53:24 -07:00
Brian O'Connor
b9a91c134f Adding mac to intentperf selector and making Distributed flow store smaller
Change-Id: Id057ec6337519617dab8a5e352feb2922b40897d
2015-03-10 18:36:59 +00:00
sangho
5eaf033c6b Add ICMP handler in bgp router app
Change-Id: I22a1dcdf5285e08c691767eb1ca41437e7ce1874
2015-03-10 18:30:56 +00:00
Marc De Leenheer
8b3e80b14e Remove default flow rules for ROADMs. Fix LinkResource NPE. Single instance provisions optical path.
Change-Id: Iacbd41403ecd0c0df240d09026253c4b761a1d6a
2015-03-10 05:14:50 +00:00
Jonathan Hart
5b141421cf BgpRouter: Batch flow updates
Change-Id: If472e8e93140bce7fbb01c1a2f1847de421108c9
2015-03-10 05:02:04 +00:00
Jonathan Hart
37d659ca4a BgpRouter: Added treatment to delete flows
Deleting routes now works.

Change-Id: I7ed682474e571aa2f402a1762a2037190c2d9284
2015-03-09 18:41:34 +00:00