47 Commits

Author SHA1 Message Date
Thomas Vachuska
0249b5377d Enhancing intent-perf logging
Fixing defect in distributed app mgmt
Reducing DB manager heartbeat aggressiveness

Change-Id: I9ba948a2b2166625c56566502143c0d27f9a2c44
2015-02-21 01:32:52 +00:00
Dusan Pajin
0d1d48f474 Additional configuration parameters in onos-app-fwd
Additional configuration parameters that can be configured in the configuration file (org.onosproject.fwd.ReactiveForwarding.cfg),
that determine application behavior:
- packetOutOfppTable - application will use OFPP_TABLE port in PacketOut message, sending packet back to the OpenFlow pipeline, instead of using switch port
- flowTimeout - configuring reactively installed flow timeout
- flowPriority - configuring reactively installed flow priority
- matchDstMacOnly - reactively installed flows will match only destination MAC address - behavior as legacy L2 switches. This options overrides all other options below.
- matchVlanId - reactively installed flows will match default condition with additionally with VLAN ID field
- matchIpv4Address - reactively installed flows will match default conditions, plus IPv4 address and Protocol field
- matchIpv4Dscp - reactively installed flows will match default condition, IPv4 + with IPv4 DSCP and ECN fields (need matchIPv4Address enabled)
- matchIpv6Address - reactively installed flows will match default condition with IPv6 address and NextHeader field
- matchIpv6FlowLabel - reactively installed flows will match default condition with IPv6 address and IPv6 Flow Label (need matchIPv6Address enabled)
- matchTcpUdpPorts - reactively installed flows will match default condition with IPv4 or IPv6 address and TCP/UDP ports (need matchIPv4Address or matchIPv6Address enabled)
- matchIcmpFields - reactively installed flows will match default condition with IPv4 or IPv6 address and ICMP type and code fields (need matchIPv4Address or matchIPv6Address enabled)

Change-Id: Ieef67a1a12f6341d4de3b07e1226affec66d361a
2015-02-20 19:34:35 +00:00
suibin
1a7b7bd956 fix calculation on event rate
Conflicts:
	providers/null/link/src/main/java/org/onosproject/provider/nil/link/impl/NullLinkProvider.java
	tools/package/etc/org.onosproject.provider.nil.link.impl.NullLinkProvider.cfg
Change-Id: I955abaec4c3906441ada91d97ed30854a8ce44f8
2015-02-20 18:55:40 +00:00
Brian O'Connor
72cb19a90e Implementation of new Flow Subsystem:
The subsystem no longer returns futures for tracking completion of work.
Notifications are explicitely returned via a call back mechanism. Also, the
subsystem is now asynchronous.

Change-Id: I1a4cef931c24820f9ae9ed9a5398f163f05dfbc9

more flowservice improvements

Change-Id: I5c9c1b6be4b2ebfa523b64f6f52e7634b7d3e05f

more flowservice impl

Change-Id: I05f6774460effb53ced8c36844bcda2f8f6c096f

Manager to store functional (at least i believe it)

Change-Id: I09b04989bd1004c98fe0bafed4c76714b9155d53

flow subsystem functional: need to fix unit tests

Change-Id: I1667f25b91320f625a03e5e1d5e92823184d9de0

flow subsystem functional

Change-Id: I429b3335c16d4fc16f5d55f233dd37c4d1d6111d

finished refactor of flow subsystem

Change-Id: I1899abc6ff6a974a2018d936cc555049c70a6804

fix for null flow provider to use new api

Change-Id: If2fd9bd5baf74d9c61c5c8085cef8bc2d204cbdc
2015-02-11 21:28:01 +00:00
Ayaka Koshibe
8eddc0d5cf NullLinkProviders join network islands deterministically.
- Added configuration parameters for order of instances.
  - got rid of 'flicker' flag since it's redundant.

Reference: ONOS-890

Change-Id: I0217e17f2a55d85e0a1fc8f2b3ea8cb54cb87517
2015-02-03 23:47:31 +00:00
Ayaka Koshibe
35c71e12ee NullDeviceProvider now takes configurations for :
- Number of devices per ONOS instance.
  - Number of ports on the devices. This value is global.

The islands created by each instances' providers are joined together
in a chain (circle).

Reference : ONOS-860

Change-Id: I875ad1fbc1d4441869373c25de2ae5b62838e0d4
2015-01-29 04:50:07 +00:00
Ayaka Koshibe
7dc1d04879 NullPacketProvider that generates PacketEvents at a specified rate
and behaves as a sink for network-bound events.

Reference: ONOS-665

Change-Id: I4e84929028094213baf0e9c27cef3a0b62ca1afb
2015-01-22 01:25:20 +00:00
Ayaka Koshibe
422916f1db NullLinkProvider to generate link events. This provider
currently chains null devices together in a linear topology.

The tunable parameters for this provider are:
  - flicker = [default false]  : flap the links by sending LinkEvents
  - eventRate = [default 3000] : time between LinkEvents, in msec

Reference: ONOS-446

Change-Id: I865c1c43c3216d9b64d67bda7c118bb041d5b1c9
2015-01-17 16:41:15 +00:00
Brian O'Connor
0b351911a9 adding compile to archetype poms
[Merged from onos-1.0]

Change-Id: I3d8a81894f38b240e2bf1536c1ec8a64583abede
(cherry picked from commit 13cbfe5fb5e9370c81d4f7422677ce2e8bf0532c)
2015-01-14 01:27:23 +00:00
Kunihiro Ishiguro
d37c9cadab ONOS-506: IPv6 forwarding option for ReactiveForwarder.
org.onosproject.fwd.ReactiveForwarding.cfg
------------------------------------------
ipv6Forwarding = true

will enable IPv6 forwarding in ReactiveForwarder.

ONOS-506: Updates for the comment.

* ReactiveForwarding.java
Line 133: Make the comment to concrete Javadoc.
Line 134: Method is changed to static.
Line 141: Catch ClassCastException instead of generic Exception.

* org.onosproject.fwd.ReactiveForwarding.cfg
Line 3: Fix typo ;-).
Line 7: Add comment: the option affects both IPv4 and IPv6.

Change-Id: Ie7fdc7fc26c7d36b9633bfc828dffe27015214f7
2015-01-01 03:13:47 +09:00
Charles M.C. Chan
0a4fa795df ONOS-470: Allow ONOS service to be run with customized username
Change-Id: I643b61842577f68c33bee6383638647615528da4
2014-12-11 18:51:09 +08:00
Brian O'Connor
7f2e9bf19a bumping version to 1.1.0-SNAPSHOT
Change-Id: I35f10fa7ffab12365ad852f5253bc1f395282f9b
2014-12-04 23:45:40 -08:00
Brian O'Connor
5b29ebd309 Bumping version to 1.0.0
Change-Id: I0cdd1f64a9292c91af27b86e89bd8251b2c298f3
2014-12-04 21:54:26 -08:00
alshabib
ab98466b10 adding license to ALL files
Change-Id: I9df3277760d79732317816fe5b2f1f482e9f5375
2014-12-05 05:05:32 +00:00
Thomas Vachuska
fc7f22d17d Adding archetype for onos-bundle and onos-cli projects.
Change-Id: I5df9db6a571be682ff2200c182bad8100dd95bfe
2014-12-04 20:06:14 +00:00
Thomas Vachuska
045c01da31 Adding packaging on onos*.zip file.
Modified Version.java to allow 3-segment version.
Changed onos-next to onos as default for ONOS_ROOT.

Change-Id: Ifbde9dfbc7af9a5891e9f41db6932859c0f59660
2014-12-04 08:22:00 +00:00
Thomas Vachuska
6810b78852 Fixing various GUI traffic/usage issues.
Reduced key help font.

Change-Id: I273f840aec85c13763688dfee8b3f26c8d1d5233
2014-12-03 09:32:02 +00:00
Brian O'Connor
abafb50f58 Changing org.onlab.onos package to org.onosproject
Change-Id: Ic81421faa27acdcff045add47d9e0a715cd4f575
2014-12-02 22:26:20 -08:00
Thomas Vachuska
9f4286c2e0 Dropping pom.xml for the web-bundle archetype.
Change-Id: I669636578a568bb13b26fa06f813a8a7f551026d
2014-12-02 19:06:38 -08:00
Thomas Vachuska
7399e48cac Adding maven archetype for a project.
Change-Id: I7bcdc45979c478c523e887b2de52e601570cdfae
2014-12-02 16:57:30 +00:00
Yuta HIGUCHI
c0050f9798 ONOS: Networking -> Network
Change-Id: I14730d54efa5a899f506fbaf6442e23d884347d0
2014-11-23 14:20:35 -08:00
Thomas Vachuska
9edca30950 ONOS-303 Added ability to add mult-source intent from GUI.
Fixed treatment of selection & hover modes.

Change-Id: Idf47b6a15b56ea96b9edaeeb034fad0f205af6e3
2014-11-22 17:06:42 -08:00
Thomas Vachuska
47635c6ead ONOS-293 Added summary pane and related keyboard shortcuts; also tweaked key help sizes and dropped instances toggle from mast. Fixed ONOS-295 bug.
Change-Id: I694901957451cf88df06e6fca3a8d71de144f68e
2014-11-22 02:30:35 -08:00
Patrick Liu
080aeb4eb9 changes for ONOS-159 and ONOS-160
Change-Id: I7d8ebbf0c6668b2a47b2c74c931dd850a5f5796e
2014-11-14 09:32:47 -08:00
Yuta HIGUCHI
77ee1fed4d hazelcast config: put if absent when merging
Change-Id: Id39deafc7616b2d85d570bc6e62bb0331a04a3f6
2014-11-12 10:40:59 -08:00
Pavlin Radoslavov
0a297b160b Cleanup in the SDN-IP related configuration files:
* The (deployed) Interface addresses configuration file "addresses.json"
   from the apps/config application is expected to be found in the
   /opt/onos/config directory

 * The (deployed) SDN-IP configuration file "sdnip.json" is expected
   to be found in the /opt/onos/config directory

 * All configuration files (i.e., addresses.json and sdnip.json) should
   be stored in the tools/package/config directory before deployment
   (i.e., before running onos-config)

 * Removed the apps/config/src/main/resources/config.json sample configuration
   file, because it was incorrect, and replaced it with "addresses.json"
   file in the same directory

 * Updated the text in files tools/package/config/README and
   apps/sdnip/src/main/resources/config-examples/README

 * Minor code cleanup in SdnIpConfigReader.java and NetworkConfigReader.java

Change-Id: I8af75e62a94e4fb701e2c6a09cde93cd8461e255
2014-11-11 16:11:41 -08:00
Yuta HIGUCHI
60731cb2b1 DatabaseService subsystem: add admin commands, etc.
Change-Id: I24124579f5e0b03ccbf35a03230ae5a7aff95f22
2014-11-11 09:20:20 -08:00
Thomas Vachuska
29a6a78310 Fixing ONOS-39 to allow configured links to be marked as durable.
Change-Id: I97b920bf5f597ddb8b64ecc5c4c3769527ad5260
2014-11-10 21:31:41 -08:00
Yuta HIGUCHI
885089b136 onos command to use Java 1.8
Change-Id: I8741c41a74dba3b816a838aa1db1588be7f9816a
2014-11-04 09:33:17 -08:00
Yuta HIGUCHI
f2548cbac2 switch to Java 8
Change-Id: Iaf2b47ce7cfad7fcd5b57c8ec79e0d3e6e66ca73
2014-11-03 18:25:11 -08:00
Thomas Vachuska
4b42077418 Cleaned up a slew of Javadoc errors in preparation for switch over to Java 8. 2014-10-30 16:46:17 -07:00
Thomas Vachuska
b105fd47c3 Tweaked packaging and related assets in preparation for Karaf 3.0.2 2014-10-20 09:02:27 -07:00
Pavlin Radoslavov
91413794ef Minor cleanup in some of the shell scripts in the "tools" directory.
No functional changes.

 * Description header formatting
 * Added missing new line at the end of a file
 * Removed extra new lines at the end of a file
2014-10-15 11:03:54 -07:00
tom
e7f01ee544 Speeding up stuff.
HostDescription now passes up just a single IpAddress.
2014-10-10 00:17:33 -07:00
tom
53efab57e0 Added Version and CoreService/Manager as an initial outline of a bootstrap coordinator. 2014-10-07 17:43:48 -07:00
tom
defed6ff30 Fixing test scripts and removing SLP bundle from features for now. 2014-09-29 11:37:02 -07:00
tom
b41d1aca5a Added graceful shutdown for upstart service.
Reworked slightly the mastership & device managers and stores to make it work (sort-of) in the distributed env.
2014-09-24 01:51:24 -07:00
tom
1a2908c8dd Enhanced a number of the test scripts and replaced hazelcast.xml with a mildly augmented version of the 3.3 one. 2014-09-23 16:37:39 -07:00
tom
0eaa97f35b Fixing remote install; now starting as upstart daemon. 2014-09-22 16:13:06 -07:00
tom
ecd0fbd713 Tweaking onos-* test scripts. 2014-09-19 08:47:05 -07:00
tom
5a18e80287 onos-package now patches the hazelcast.xml with proper interface for use by the test VMs. 2014-09-18 12:38:15 -07:00
tom
3014aefbe7 Adding install/uninstall scripts and stuff like that. 2014-09-18 08:44:39 -07:00
tom
5c25570aab Sketching cluster related stuff with Madan.. 2014-09-18 06:57:39 -07:00
tom
73d6d1ea71 Sketching cluster related stuff with Madan.. 2014-09-17 20:08:01 -07:00
tom
a56d5fe7b7 Added a few todos. 2014-09-17 11:05:47 -07:00
tom
4d0c663cd8 Adding packaging script.
Added display of raw DPID and IPs or MACs for hosts.
2014-09-15 23:27:01 -07:00
tom
aa49a1e015 Added Karaf branding bundle 2014-09-12 23:12:09 -07:00