458 Commits

Author SHA1 Message Date
Simon Hunt
a0ddb02bd6 GUI -- Rename UIMessageHandlerTwo => UIMessageHandler. Also, make bindHandlers() private.
Change-Id: Id36e220c1285b88b8b4db0e106ef063bd8b9bfd1
2015-05-01 09:53:01 -07:00
Simon Hunt
d2747a0d1e GUI -- Huge Refactoring of server-side message handlers (Part Two).
--- Well, it compiles, and seems to work, with the cursory testing I've done...

Change-Id: I0e59657c134e109850e4770766083370dfd9fdc2
2015-04-30 22:41:31 -07:00
Thomas Vachuska
266b4433a5 Fixed javadocs and descriptions.
Change-Id: I92147b858d8012c957cc03fab2d306740161e2f3
2015-04-30 18:13:25 -07:00
Jon Hall
7772af00a7 Fix for missing case in set test cli
-Also avoid bug in toArray by using the current set size

Change-Id: Ie838b9fe755859a1cb5af11934f29049466eb93f
2015-04-30 19:25:22 +00:00
Saurav Das
dfc639e6a2 Adding in some imports necessary for test code included in BGP router
to test routing functionality without launching Quagga. Before the next
release, both the test code and its imports will be removed.

Change-Id: I4fa8f76e977a0330572fab764e63892bb685a7a2
2015-04-30 19:24:56 +00:00
sangho
dde53d116b Fix the logic of deleting FIB entries in CorsaPipeline
Change-Id: I9fe3545fe29225d82a5c3e6b5ffc295565218ecb
2015-04-30 18:10:30 +00:00
Srikanth Vavilapalli
f5b234a486 Segment Routing refactor with flow objectives
Change-Id: I0b87f89bb8b18522b9d38bdf5e96f55485b6f1e3
2015-04-30 03:06:02 +00:00
Sho SHIMIZU
fbc80e5348 Pull out inner-classes from Criteria to be independent classes
Make constructors of sub-types of Criterion package private for
limiting instantiation only from static factory methods in Criteria

Change-Id: I1fb1e9d003288a778a49e758549a92b66bf3cfdf
2015-04-29 00:44:59 +00:00
sangho
f22fb40d9b Pushes flow rules to the control switch when the switch is connected and available.
Change-Id: I7cc03a44e21b9dd67d40139ceea7a9b44201d7a8
2015-04-28 23:59:45 +00:00
sangho
666cd6dfc3 ONOS-1521 : Supports Leaf-Spine topology (tested with 4 x 4 )
- Supports ECMPNotSupportedInTransitRouter option
- Adds Leaf-Spine config file
- Removes the temporary NetworkConfigHanlder class
- Removes the grouphandler dependency
- Removes the grouphandler app
Change-Id: I8c70e81bfb4062e251b25c0fa23ef2c92419a75c
2015-04-27 19:53:42 +00:00
sangho
20eff1dfb5 ONOS-1438: Improved the routing rule population process for link add and failure; computes the routes changed from the link changes and populates the rules only for the routes.
Change-Id: Id4dbd80da37b333f2c19bc97333472dc8031481b
2015-04-27 18:27:15 +00:00
Charles M.C. Chan
7b8a921763 Bugfix: matching IP address without ethType will result in OFPT_ERROR_MSG (type=OFPET_BAD_MATCH, code=OFPBMC_BAD_PREREQ)
Change-Id: I4edc82cdc920b7c92048119c61b70bbce704cbf6
2015-04-26 21:44:32 +00:00
Jon Hall
6b687cda89 Test application for counters and sets
Application to expose some of the distributed primitives to the cli for
system tests.

Change-Id: I275c8fb6790135c6150658ca3bb5ce356ea735a7
2015-04-24 22:29:17 +00:00
andrew@onlab.us
88d228291a Ignore PORT_STATS_UPDATED from topology metrics
Change-Id: I40d796c668700fdb0bf220eb02f2001deb77a4c2
2015-04-24 16:22:36 +00:00
Saurav Das
bd7f742d85 Adding Device Listiner to BgpRouter so that filtering rules are sent to the
driver only after the device is available.

Change-Id: I377402b87cee6c02c087efbcc4f0cff4f19e1ca3
2015-04-24 01:59:11 +00:00
Thomas Vachuska
8b91f4f82b GUI -- Added category to the UiView abstraction.
Change-Id: I55fff4d242e8d6b8d8ce3d25e8f9355dc0ef976a
2015-04-23 17:55:36 -07:00
Saurav Das
3d03826578 Fixes bug where driver gets initialized only when device is available.
More explict handling of versatile forwarding flows in corsa driver.
Moving TunnelConnectivityManager to use flowObjectives instead of flowRules.

Change-Id: If43023f30a6e7a028dfdefbe1ffbcc710a1c7be3
2015-04-23 21:50:42 +00:00
Thomas Vachuska
87994d0d68 Enhanced onos-build-selective to react to any src file modifications and to also result in a cascaded build of app modules which require the modified modules.
Change-Id: I1c41ca2d11c936bfeb7307ce0e01b20d0141daa6
2015-04-23 20:03:59 +00:00
Jonathan Hart
3b881aac1a Move reactive forwarding to flow objectives
Change-Id: I8c77e5e04d7d7a4480dbff47578ef46aa7637054
2015-04-23 12:52:14 -07:00
Jonathan Hart
430223a07b ReactiveForwarding shouldn't always match ethertype or ipproto
Change-Id: Ie8fad0186f5a41596877463c0293748e6cf2d74f
2015-04-23 07:44:43 +00:00
jcc
3d4e14a72b FlowRule private extension refactor.
1.merge private flow into regular flowrule subsystem.no mirror code any
more.no change flowrule api.
2.define a rich-data-type to carry private flow.
3.modify OpenFlowRuleProvider.class to support for 3rd party private
flow.i don't know whether is suitable.because this class name is
relative with open flow protocal.
4.fix some junit test bug caused by modification of FlowRule interface.

Change-Id: I6c54d1e97f231a75bd1b416f0893e0379613d7ce
2015-04-23 04:11:34 +00:00
Saurav Das
3ea46622c8 Removing dependency on lower level drivers for the BGPRouter application.
Also a couple of bug fixes

Change-Id: I8f2ec58ed3403ae03cf7c068dabb30ae4272ff85
2015-04-22 14:08:43 -07:00
Ayaka Koshibe
e3bfcafade Fix NPE for election app when handling CANDIDATE events. Also disables running
for leadership automatically at startup.

Change-Id: I27f297fdd4b62f9cd345df88a772f76ade56d350
2015-04-22 20:49:44 +00:00
alshabib
f6ea9e624b Implemented a globally unique next id generator in FlowObjectStore
Change-Id: Ib98b2996e1ebcca56ad816ea94f25d838c5f4d44
2015-04-21 17:08:26 -07:00
Thomas Vachuska
41e8c18f22 Simplified app packaging to use just project.version rather than short.version.
Change-Id: I58c30b663810de42890b75bbcef5c7dc5a4a87ba
2015-04-21 21:23:11 +00:00
Madan Jampani
6cc224b207 ONOS-1621: Test app for measuring messaging layer performance
Change-Id: Idc2f2e70833bf30c05310f8f09c7daeb68149f98
2015-04-21 16:13:34 +00:00
Thomas Vachuska
586afd8e2b Removing need for boilerplate app.xml; Instead defining onos.app.name and onos.app.origin (optional) is sufficient to trigger generation of boilerplate app.xml and features.xml files.
Change-Id: Ied8f3f8bf8774fae85e11c79a733b34dd5868949
2015-04-20 14:36:02 +00:00
alshabib
2a441c6807 Flow Objective implementation
Provides an abstraction which isolates the application from any pipeline
knowledge. By using the provided objectives applications can express
their forwarding desires in a pipeline agnostic way. The objectives
are then consumed by a driver for the specific device who converts them
into the appropriate pipeline coherent flows.

Change-Id: I74a68b4971c367c0cd5b7de9d877abdd117afa98
2015-04-17 22:57:56 +00:00
alshabib
624f13a9f0 fixing packaging for bgprouter.
The app.xml and features.xml pull in the correct bundles to ignite
the application successfully

Change-Id: I719290a700b46042ff5c54ec26c19458032d78cf
2015-04-17 18:14:55 +00:00
Thomas Vachuska
a7a0f560a2 Converting builtin applications to be delivered in a self-contained manner via OAR files.
Change-Id: I5b7c6939aacc263248868fac2e0f69124c5f3609
2015-04-16 14:04:35 -07:00
Thomas Vachuska
e10f56b8b0 Fixing javadocs.
Change-Id: I9e6b3d7eb08d17d4ad450277a1279f6aaefd4640
2015-04-15 18:20:08 -07:00
Ray Milkey
34c959066d ONOS-533 Fix copyrights
- Any files created in 2014 and modified in 2015 got a copyright of
  2014-2015
- Used canonical form of 2014-2015 to be inclusive of extra years.
  Some files had 2014,2015

Change-Id: If9a133618873e4000b8f10299bde7c870eb1fbd5
2015-04-15 17:41:07 +00:00
Pingping Lin
c9e16bfa1d add a virtual gateway for reactive routing
There is no physical gateway in SDN network.
  However a host needs a gateway when it tries to communicate with a remote host.
  So we designed a virtual gateway for SDN network.
  The virtual gateway can have multiple IP addresses.
  Each IP address is used as the default gateway address of an IP prefix.
  We only configure one MAC address to the virtual gateway.
  You can choose any MAC address from the BGP speakers as the virtual gateway MAC address.
  We configure this MAC address staticly in the sdnip.json configuration file.

Change-Id: I2a72bef797fc55d25bb5473e8fca624ad659e1d1
2015-04-15 16:31:14 +00:00
Srikanth Vavilapalli
4db76e300f ONOS-685: Network Configuration Manager support for Segment Routing application
Change-Id: Ia15bfd24559dd5542633c8b76d500b2d31362340
2015-04-14 21:06:43 +00:00
Saurav Das
cfd63d2783 Adding more filtering objectives from the router application and handling them
in the corsa-pipeline driver

Change-Id: I3598b84ce25df97c10b33c6f1fdfc76421499046
2015-04-13 23:29:44 +00:00
Madan Jampani
2bfa94cf15 Revamped ClusterCommunicationService API
Change-Id: I9326369de3d2413b0882b324979d10483c093de9
2015-04-13 16:51:24 +00:00
alshabib
910aff10a7 WIP: Initial implementation of filterObjectives using driver subsystem.
Incomplete implementation

Change-Id: I3745d481027659d4ca44b72139e5461c02e8c3ef
2015-04-09 16:57:18 -07:00
sangho
b35a619131 ONOS-686, 687, 1344 : The first commit for the Segment Routing application
- ICMP/ARP/IP handlers are implemented as a part of the application for now
 - Default routing and link add/failure/recovery are also supprted
 - Temporary NetworkConfigHandler, which is hardcoded to support only 6 router FISH topology, is used for test
 - Some fixes on GroupHanlder app to support transit routers
 - Supports multi-instance (tested with two instances)

Change-Id: Idfa67903e59e1c4cac4da430f89cd4c50e821420
2015-04-09 18:24:33 +00:00
Pingping Lin
e28ae4c801 sdn-ip reactive routing
This module can handle 3 cases:
   (1) one host wants to talk to another host, both two hosts are in SDN network.
   (2) one host in SDN network wants to talk to another host in Internet.
   (3) one host from Internet wants to talk to another host in SDN network.
   In all cases, we use MultiPointToSinglePointIntent.

Change-Id: I80dd954bd608e52b45b993f3c27e67636a7105d9
2015-04-07 12:31:07 -07:00
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