183 Commits

Author SHA1 Message Date
Brian O'Connor
03406a4702 IntentStore interface changes
Change-Id: Ifa8728fb4c7edcc6d58a5e071f7252493ab2a578
2015-02-13 14:07:52 -08:00
Ray Milkey
9d810f6bed Fix some JSON related deprecation and javadoc warnings
Change-Id: If39c0bbe578794c8308b24d9290e269bd14b9219
2015-02-13 20:28:06 +00:00
Jon Hall
8f31b7b41f Make id required for cluser-devices command
- Fix for ONOS-997

Change-Id: I9becb74a44509d804404e8f8beb44ef718d0b9b6
2015-02-11 23:45:20 +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
Yuta HIGUCHI
8791a8100b Modified flows command to only output flows for specified device
for ONOS-1003

Change-Id: Ibbb313b80618bd9db806c2c63c50a6b45ccf800e
2015-02-11 06:20:59 +00:00
Brian O'Connor
ea9ae214f9 Using CommandSession console instead of System.*
in AbstractShellCommand print and error

This fixes a bug where print() works intermittently
on the Linux servers and error() doesn't work at all.

fixes ONOS-986

Change-Id: I086fea9f999992990935d54a6d15d55a7fb4cfea
2015-02-10 01:28:01 +00:00
Thomas Vachuska
4a51e57cbf Adding and fixing javados.
Change-Id: I38eddb0b11630cdd83c5d1e5d5dc393ee2555897
2015-02-07 21:36:23 -08:00
Jonathan Hart
9a4157bb6b Update AddSinglePointToMultiPointIntentCommand help string
to include ingressDevice.

Also modified help strings for consistency.

Change-Id: I9c35fdbdae539f92411da089ff48b4c0951e8481
2015-02-05 21:31:14 +00:00
Thomas Vachuska
ebf5e54d44 ONOS-542 Added ability for app bundle to carry it's own artifacts, including feature repo. Fixed onos-package script. Added JSON output to CLI.
Change-Id: If4f2c774d3fc2d68c0a8e91b3084b99d7c75d927
2015-02-05 05:22:53 +00:00
Ray Milkey
cb33a1350f ONOS-258 - provide feedback in CLI when creating an intent.
Change-Id: Ic8aceccb7cfa241648358e633b49a8ab4cc68537
2015-02-03 23:47:03 +00:00
Thomas Vachuska
90b453f11c ONOS-785 Adding distributed store for apps & app admin CLIs
Change-Id: Ia7639f3258fca2a18ba513f0c95de0ab8ea7ceee
2015-02-02 22:23:35 +00:00
Sho SHIMIZU
0ce220af4f ONOS-426 - make the unit of Bandwidth clear
Change-Id: I6f23f01306ece906fb6a6a894a52a6369983eeed
2015-01-30 00:40:05 +00:00
Thomas Vachuska
02aeb0339f ONOS-542 Defining application subsystem interfaces & public constructs.
Change-Id: Iba0d2cb69dace5beee8a68def9918059ce755b5c
2015-01-30 00:28:45 +00:00
Sho SHIMIZU
9f4aa09490 Apply multi-catch to reduce duplication
Change-Id: Ic42335acadb3422034d9396066fc92791632af61
2015-01-27 23:21:16 +00:00
Thomas Vachuska
c31d9f1dcc ONOS-745 Refactoring topology to compute only broadcast tree and not pre-compute paths.
ONOS-744 Refactoring graph search to allow requesting max number of paths.

Change-Id: I28467246b92df32ebb3155c45774ecc051fdd3dd
2015-01-23 12:57:34 -08:00
Ray Milkey
82895d772b Fix typo in help string
Change-Id: I86b774dfe59ef8659657bbbad295fd8840f80f5e
2015-01-23 08:46:49 -08:00
Sho SHIMIZU
d7d18005e8 Prohibit null for resources field in Intent
Change-Id: I128c6e63ccccaf817e83ff1c440a731fb98b42f7
2015-01-22 19:03:58 +00:00
Jonathan Hart
6cd2f3594b Implemented VLAN-to-VLAN routing support for SDN-IP.
SDN-IP can now support peering and routing between hosts that are connected
on VLANs.

Changes include:
 * Updated NetworkConfigReader app to read (optional) VLAN configuration
 * Updated VlanId to support the 'VLAN present' value - in a match this means
   that a VLAN tag must be present, but it can contain any value.
 * Updated SDN-IP to set destination VLAN tag values if appropriate
 * Updated FlowModBuilder and FlowEntryBuilder to support 'VLAN present' value
 * Slew of test updates.

Change-Id: Ief48cede5c1fd50e1efa851da5a97fb4a8edda29
2015-01-22 03:28:52 +00:00
Ray Milkey
04c78321db ONOS-812 - incorrect default values in CLI help
Change-Id: Ia7e3e9d2ace870e4d6cde240087b2235308719af
2015-01-21 14:57:58 -08:00
Ray Milkey
356f28abed ONOS-434 - Filter out inactive nodes from the summary information in the CLI
Change-Id: Ifd25005ea2ce2f00555fe6820a7aa2febde2daee
2014-12-08 21:47:36 +00:00
Pavlin Radoslavov
aab51a3c2b Added missing CLI output of HostToHostIntent-specific info
for the "intents" CLI command.

Change-Id: Icb150b570e8b4c0a52186489d408842d4327b387
2014-12-08 11:07:38 -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
alshabib
4785eec529 removing some TODOs
Change-Id: Ic98c811573a1b37813993eedddec512ec85729f3
2014-12-05 00:59:35 +00:00
Yuta HIGUCHI
4712e21d96 IntentPushTestCommand: removing space in 'name'
- --help result will uses this text, which looks as if there are multiple
  arguments, when the text includes spaces

Change-Id: I96764cb41bd6ab6c95a5a3838b6a3a42a295f68a
2014-12-04 22:48:59 +00:00
Yuta HIGUCHI
87695b81a3 IntentPushTestCommand: ignore IntentEvent submitted by others
- Note: command must specify non-overlapping appId using
  4th and 5th arguments

Change-Id: I4dcfe57fc1d3de63c47e88d99d647b48ab80d86c
2014-12-04 07:06:56 +00:00
Pavlin Radoslavov
969270591a Changed the generation of MAC addresses when
using the "push-test-intents" CLI command, so each MAC address is unique.

Previously, generating intents for multiple apps would create axactly
same set of intents for each app; this is less common, and probably
not the expected default behavior for this CLI command.

Change-Id: I7813512528954da33e458307fc6a0226a7c478ea
2014-12-04 05:49:23 +00:00
Yuta HIGUCHI
ad4929921c IntentPushTestCommand: attempt to fix negative duration
Change-Id: Ibb09c9079443de536132f492a44769c373531bfa
2014-12-03 14:14:22 -08:00
Yuta HIGUCHI
39cb61cab4 Change summary command output: cluster -> SCC(s)
Change-Id: Iccc9cf002b9ae21a423de59869b18dcda1e46665
2014-12-03 09:56:54 +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
Brian O'Connor
03defe7939 Moving org/onlab/onos to org/onosproject
Change-Id: I742627fe0862cac78391cf70010f99dc26dce1e6
2014-12-02 22:22:39 -08:00
Brian O'Connor
ae3e733627 Fixing PushTestIntents command to ignore WITHDRAW_REQ
Change-Id: I5b45c8b0304dbe730830fe4ba8a468a68fe35ab6
2014-12-02 16:04:05 -08:00
Pavlin Radoslavov
67c0514f1f Updated the "intents -s" Intents CLI summary command to print
the intents in the new WITHDRAW_REQ state: "withdrawReq".

Also, renamed "submitted" to "installReq" in the CLI output
to reflect the state renaming.

Change-Id: Ic75179a203ad05a44fae4e43b350835a640e8fb7
2014-12-02 13:04:08 -08:00
Yuta HIGUCHI
23ab0fafda Comment out commands, which we do not support for this release.
Change-Id: Ifb715f8f64ee5c8fb1ffbfac5a7b32f56bc5e62a
2014-12-02 20:48:38 +00:00
Brian O'Connor
7a71d5da7b Added WITHDRAW_REQ Intent State for ONOS-146
Fixed flow removed from other instance

Change-Id: I22c88a447e26770fea8b7e23f4a78b1389077ad1
2014-12-02 00:13:46 -08:00
Madan Jampani
8d21c790ee LeadershipService API change: Using NodeId in place of ControllerNode.
Change-Id: I6f688506c3672977456fc6921b26e98be2239632
2014-12-02 04:55:15 +00:00
alshabib
a9819bfd1f fix intent issues yuta observed
Change-Id: I7dc4a19d49a1b3fc18ecce02a4018cbc9a3043fc
2014-12-02 01:16:09 +00:00
Brian O'Connor
a0d3100306 Updates to push-intent and leaders command.
Change-Id: Id3fd7932002bf90f79a89f796ce44bab8ea74aab
2014-12-01 22:20:09 +00:00
Yuta HIGUCHI
c2bf3d8fb9 IntentManager: use IntentStore batch APIs
Change-Id: Ie60f3e53f48fa6acbcaf5cf6837bdef12b36a98d
2014-12-01 00:26:30 +00:00
Thomas Vachuska
1e68bdd9be Added ability to force mastership re-balancing between instances from the GUI.
Change-Id: I98e56deb3e2b00df630ed85b596c8e35b3d6efab
2014-11-29 13:53:10 -08:00
Thomas Vachuska
3ea690b777 ONOS-365 Excluding intents with state=null from output.
Change-Id: I96555f6c1483e9d744b7d67bae8d4a221a630f5d
2014-11-29 12:39:11 -08:00
Yuta HIGUCHI
82e5326b23 For ONOS-356
- Add current InstallationFuture information on TimeoutException
- Set timeout values propotional to batch size
- Fix for ConcurrentModificationException
- Check if src/dst is part of the graph before path computation

Change-Id: Iabeac7939c52502b83bf9ebcbe2023539de3ae99
2014-11-28 19:00:56 -08:00
Brian O'Connor
72a034c863 Initial implementation of distributed intent batch queue
Change-Id: I7ffed03651569ade1be1e8dca905bfaf369b7e03
2014-11-28 22:42:44 +00:00
Yuta HIGUCHI
f0f2dfc1df tablet-leader command to check current Raft leader
Change-Id: Id360db21988a50c3e2895c5194d59b0ba4cb49e4
2014-11-26 20:54:41 -08:00
Pavlin Radoslavov
deb8a1098d Fix for bug ONOS-330:
Add missing "null" checks for IntentService.getIntentState()

Change-Id: Idd574227636f6cdd3a0dbae4c753ada6157e04e1
2014-11-26 13:32:57 -08:00
Thomas Vachuska
e4b6bb2515 Intents are now removed after being withdrawn.
Change-Id: I7574fe94add00abf58c71c6122bb3dc5aafa0f79
2014-11-26 04:31:14 +00:00
Thomas Vachuska
5bde31ffec Fixing various issues and re-tuning.
Change-Id: I8822fcf77cfa507788241c5bda98ef4741b284b4
2014-11-26 00:25:14 +00:00
Yuta HIGUCHI
e83cce7dc4 BalanceMastersCommand: Fix type mismatch
Change-Id: If6bbe8d16d70b937250e243e7ac8617b0e971543
2014-11-24 23:06:40 -08:00
Yuta HIGUCHI
963c656723 IntentPushTestCommand: stop logging SUBMITTED
Change-Id: If316f9403bd252b54bc070dd207cf07efaa30ca1
2014-11-25 05:10:58 +00:00