222 Commits

Author SHA1 Message Date
Ray Milkey
740c8a3ae1 [Blackbird] ONOS-1317 - JSON outpout for 'intents -p' command
Change-Id: I7722709347a5b24e83de57de8bb6124d06a58a21
2015-03-17 21:48:14 +00:00
Brian O'Connor
4f5a98a360 P2P intents have drop treatment if ethSrc&Dst not set
ONOS-1311

Change-Id: I62e4872a16bad29ba14fb74d2dc19cf443131dee
2015-03-15 21:40:23 +00:00
Ray Milkey
8c6d00ef5f [Blackbird] Fixing Intent purge case (ONOS-1207)
Master needs to remove from the current map.

Change-Id: I30eccbe188997949ef2d63d6dbd37b0d8d4b3f5e
2015-03-15 14:36:41 -07:00
Pavlin Radoslavov
c6809e4073 Added IPV6 to the auto-completed EthType values.
Change-Id: Iaf394dc911b15124cccfd7da939ca180411639f0
2015-03-12 15:36:10 +00: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
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
70761df12c Fixes related to single-point-to-multi-point intents:
* At the CLI level, the Ingress point argument should be specified
   before the Egress points arguments.
   This follows the natural Ingress/Egress argument ordering for
   other intents.
 * Added missing optional CLI complementer to shell-config.xml

Change-Id: I49f1ec9706a2f47bbb513d388a26fa5d40cba1bd
NOTE: Those changes are carried from Gerrit 1586.
2015-03-10 20:22:41 +00:00
Thomas Vachuska
6d697f185a Sketching out component configuration model & API.
Added initial cut of implementation.
Finished implementation; ready for merge.

Change-Id: I385181c0591604a5c44986b97fb881eba7e0528e
2015-03-10 17:28:14 +00:00
Abhishek Dwaraki
1e5873e94d ONOS-400 Topology creation and up time formatting fixes
Change-Id: Iaf6d4dbbc1c7eaae9465a2d931d40f07a75ad07d
2015-03-09 22:50:23 +00:00
Jonathan Hart
32600698de Add CLI command to view groups on switches
Change-Id: I0ce3cca85e8b38d2e713bf1f0abd4303629e15e4
2015-03-09 18:38:10 +00:00
alshabib
346b5b362d Traffic Treatements now support deferred, immediate, table, and clear instructions.
By default, treatments are all immediate. Treatments will be deferred if the builder
predicated by deferred(). Subsequent treatments will be deferred until immediate is called
on the builder again. Multiple calls to deferred and immediate are permitted.

Change-Id: I76b3a44f2219fc1e72a7fb41b72d7bd602be85b7
2015-03-09 18:28:58 +00:00
Brian O'Connor
5eb77c88b6 Updates to ECM interface
Change-Id: Ie0cae42ac2b361cf3b94e5047c157cb0945f4209

Adding origin to IntentData and use it to pick GossipIntentStore peer

Change-Id: I50e9621a69a35ec02b8c8dd79cc926591e5a73e9
2015-03-06 17:01:29 +00:00
Ray Milkey
501e07593b ONOS-1220 - JSON output for partitions command
Change-Id: I2d1418ed36dc06a2a17f05cc07e5ef221da84baa
2015-03-05 21:25:03 +00:00
Ray Milkey
1c198d6568 ONOS-1219 - Add JSON output to the leaders command
Change-Id: I180b39c16dcbc9d71f857507c1f04ed01e11a240
2015-03-05 21:23:43 +00:00
Ray Milkey
7522895b2b ONOS-1194 - NPE if an appid look up fails
Change-Id: I230c2fc00b67c5a2847a7b215c44937f8362ca40
2015-03-03 11:41:53 -08:00
Saurav Das
cbe6de3bb9 Fixing a couple of bugs in default entries for corsa pipeline.
Also fixing flowRule table-awareness with changes reflected in flow identification (hashing)
and the karaf CLI.

Change-Id: I2fac83db8e0b54b802fb765ef9d82033f7478b99
2015-03-03 17:03:25 +00:00
Madan Jampani
30a57f891a Added creationTime to Versioned object. This enables supporting a electedTime in leadership, which in turn helps us track how stable leadership terms are.
Change-Id: Ib051027625324646152ed85535ba337e95f8a061
2015-03-02 23:26:04 +00:00
Brian O'Connor
266ac66643 Starting snapshot 1.1.0-SNAPSHOT
Change-Id: I2abf73c248c04f0559f97b313be034b48761695a
2015-03-01 07:36:09 +00:00
Brian O'Connor
352236e289 Tagging 1.1.0-rc1
Change-Id: I9c95f8309e1c98bc1a25eeaad1962b4d28257261
2015-03-01 07:36:08 +00:00
Brian O'Connor
8016f341e1 adding purge option to IntentRemoveCommand
Change-Id: Ic97acd9a8308355cd3135ea5df0a470b3579106e
2015-02-26 19:57:04 +00:00
Madan Jampani
a14047d6e2 Logging improvements.
Change-Id: I79b9ff16a0000e4bd72022f02baef5c779ea1b48
2015-02-26 19:23:03 +00:00
Brian O'Connor
7d405fee06 updating timeout in IntentPushTestCommand
Change-Id: Idce7b7ff0c94668bb8e93eb2ee7c273b3560f233
2015-02-25 19:03:46 -08:00
Jonathan Hart
34f1e3827c Add intents -p commmand to have some visibility into the pending map
Change-Id: Ic29460d8bf78f185bbfa426bc0aeef309b22cf7f
2015-02-26 00:11:57 +00:00
Brian O'Connor
b28f5d740e Revert "Using CommandSession console instead of System.* in AbstractShellCommand print and error"
This reverts commit ea9ae214f9bca97537378f205910d62b7aa4be47.

The karaf shell explicitly depends on System.{out,err}, so piping to shell commands is broken by this patchset.

Change-Id: Ib7fb6341cfa42418115663413ea406173f5debf4
Note: When running as a service, if a thread that isn't the command thread calls print, it will go to $KARAF/var/System.out
2015-02-23 19:37:48 +00:00
Jonathan Hart
054da97e83 Implement command to view Raft partitions
Change-Id: I9d3cea49877d69c2d7935dadbbad2770349e793a
2015-02-21 17:00:39 +00:00
Brian O'Connor
f32186355c adjusting wait time in intent push test command
Change-Id: Ibd985e0d0e62755017f64265c42bf3f476e655f7
2015-02-18 21:04:54 -08:00
Brian O'Connor
66cfbfac4d intent cycle command
Change-Id: Ia461ea960e3c47cedd2b9085762b48f08346be73
2015-02-18 21:04:54 -08:00
Thomas Vachuska
1dcb048ab2 Added a more intuitive app management CLI; deprecated the old one for now.
Change-Id: I4f884cbf442b21c08415fe3ca3228edbbb5893f7
2015-02-19 02:34:55 +00:00
Ray Milkey
024798622b ONOS-1058 - Add application Id to intent withdraw command
Change-Id: I6f660f2e115e4acc9d3c7d1ab2e2115caaf1822f
2015-02-18 19:09:03 +00:00
Jonathan Hart
f2fda81f63 Automatically rebalance intent key partitions on cluster change.
Also sorted output of leaders command by leader IP.

Change-Id: Ie85896a4f6f50489ebd7994c905808ce34fca94c
2015-02-18 00:27:18 +00:00
Madan Jampani
e97fec4ffb Remove deprecated code.
Change-Id: Ifd68e4ddfaade2a8dd7de43a83bf222b48b9291b
2015-02-17 21:03:09 +00:00
Michele Santuari
4b6019e449 ONOS-631 #Initial MPLS intent implementation
Change-Id: I6f906b953f06f395cc67e612648802e333c0e581
2015-02-14 10:00:48 +00:00
Brian O'Connor
5b9dfdc038 Fixing IntentPushTestCommand
Change-Id: Ia6cc2f4be2e8087a903e660067626c5225f20216
2015-02-13 14:13:57 -08:00
Jonathan Hart
189f9bf6b7 Update IntentListCommand to show key
Change-Id: Ie7d4bc053e4ef1a681a0bca689fee88ea69eb63d
2015-02-13 14:13:54 -08:00
Ray Milkey
f9af43c2ea Refactoring of IntentId based APIs
- getIntent
- getIntentState
- getInstallableIntents

Change-Id: I6d2073dfa165e0e5adcef46fe5908b563b481a43
2015-02-13 14:10:55 -08:00
Jonathan Hart
82b9feca35 Add term information in HazelcastLeadershipService
Implementation based on Hazelcast IAtomicLong.

Change-Id: I9dca40228a84fdb3edf02ffd2cc32d7d38c90378
2015-02-13 14:10:55 -08:00
Ray Milkey
5b3717ea46 Add keys to intents
- use Key class rather than String for intent keys
- add CLI option to specify a string key
- add key field to constructors for connectivity intents
- translate id into a key if no key is specified

Change-Id: I69ffbad93bc3daddf06a67cb0cffa2130e781b37
2015-02-13 14:10:47 -08:00
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