316 Commits

Author SHA1 Message Date
Ray Milkey
d13a37bf3c Remove deprecated Flow Rule constructors
Change-Id: I2a078cbfbeb9db4a04ef1c59acde2fb45672a3cf
2015-06-16 17:03:13 +00:00
Aaron Kruglikov
0a4da0d7b8 Added support for specifying unidirectional vs bidirectional optical connections.
Change-Id: I0f8c2f64f5734873b80235ad97afb58be7aaa3ae
2015-06-10 21:52:12 +00:00
Sho SHIMIZU
792c26ba5e Revert changes in 8117f36, which modifies the default behavior
If no command line option regarding lambda is supplied,
optical links need to be execluded, but the previous patch broke it.

Change-Id: Ia95e82f7c31fdb16345eb43f1864b58aa4f25acc
2015-06-09 16:15:39 +00:00
Brian O'Connor
afc2d7db88 Starting snapshot 1.3.0-SNAPSHOT
Change-Id: Idc4c114bda5268e534b9fc998215564d23d84c58
2015-06-05 23:31:25 -07:00
Brian O'Connor
a78abfcc39 Tagging 1.2.0
Change-Id: If1b4de17402bf8248c888de72891dc17a5bcd7ef
2015-06-05 22:40:03 -07:00
cheng fan
00a406d4ba Optimize the tunnel commands
1. Split port and equipment by "/" instead of "-";
2. Fix the bug of remove-tunnel-by-type command.

Change-Id: I462e8af54f697d04b8433a59126e1c52c4cbf88c
2015-06-05 21:43:25 +08:00
Brian O'Connor
9cc799cf21 Fixing NPE in FlowsListCommand when appId is not properly registered
Change-Id: Ic95b67d33d656d645be6a5a63bfef44a11369544
2015-06-05 04:00:01 +00:00
Brian O'Connor
264cb996e1 Refactoring IntentIdCompleter to IntentKeyCompleter
Change-Id: I8099336f79c5f510c708fcbb0c00ff31f3550a4d
2015-06-05 00:37:34 +00:00
Brian O'Connor
422b875b41 Refactoring IntentRemoveCommand to be more clear about use of 'key'
Change-Id: I3e84f510ffb5eda30cfe8166e858398c0af28d83
2015-06-04 16:16:49 -07:00
Brian O'Connor
793134b342 Reverting IntentIdCompleter change from Gerrit #3909
commit id: 0d17c3135ed771fe1d146d2dd9ca7ae57e2a8238

Change-Id: If640a649135e405ba4258c5364c96822b49ec245
2015-06-04 16:06:27 -07:00
Pingping Lin
08c306628f completer should work as command description, enable delete intent by key
Change-Id: Ibc4574f97f69a4c8e266708c0440baa09ee361f3
2015-06-04 22:49:02 +00:00
cheng fan
93258c7adb 1. fix javadoc mistakes
2. add path state proverty to tunnel
3. fix bugs in tunnel creation and query commands.

Change-Id: I69b992e47630effe45764c887864d59d3a1eb870
2015-06-03 17:52:12 +00:00
Thomas Vachuska
4cfcc56d4c Enhancing STC and cleaning up various test topos.
Change-Id: I7f5b349835ebf3d7da824be0aa2cddd860631f84
2015-06-03 17:43:13 +00:00
Brian O'Connor
72df5b1acb Adding purge-intents command
Change-Id: I991084aa610cdeb9fb43082ed1e9888b781897ce
2015-06-02 23:54:38 +00:00
Ayaka Koshibe
8117f36bd0 Fixes for resource-related test CLI commands:
- Tweak to assumptions in base command for ConnectivityIntents
- Check before casting between port types

Change-Id: I5db84ec435029f2de84abb0f3f5ddc726035bf1b
2015-06-02 13:46:54 -07:00
Marc De Leenheer
4a1c1fad10 Bidirectional optical intents (ONOS-2055).
Removed dead code.
Bugfix in device resource store.

Change-Id: Ic81e0b6985813d8dd696440610bee967a9fc2fc7
2015-06-02 18:33:17 +00:00
Brian O'Connor
3350390b1d Starting snapshot 1.2.0-SNAPSHOT
Change-Id: I96c63bb70f2cd27453f2da893d77f9e72966f780
2015-06-01 17:08:05 -07:00
Brian O'Connor
75aed4000e Tagging 1.2.0-rc2
Change-Id: I93f2bf38d29ddf788f7a81552695da80fc275c42
2015-06-01 16:58:14 -07:00
cheng fan
7716ec9268 1. move tunnel 3 commands to onos-cli
2. add OCH ODU OMS port type;
3. fix some bugs in pcep tunnel provider and topology provider
4. Optimization of the command line tools of tunnel

Change-Id: I323ede971795c8fe6ecddc40e1061f42a8243867

fix tunnel provider bugs.

Change-Id: I323ede971795c8fe6ecddc40e1061f42a8243867
2015-06-01 22:59:01 +00:00
Marc De Leenheer
88194c32ff Fix optical port types in device store (ONOS-2046).
Fix CLI add-optical-intent cmd for TL1-based devices (ONOS-2045).

Change-Id: I4ba79476104d9906707cc7cc683fedd4ce4343bb
2015-06-01 10:22:54 -07:00
Marc De Leenheer
9f7d189d06 Release resources when intent is withdrawn (ONOS-2048).
Create optical circuits using CLI (ONOS-2049).

Change-Id: I8e52e698a897b869147afffdc0294956df76aa0c
2015-06-01 01:25:52 +00:00
Marc De Leenheer
8c2caac730 Support for OTN using optical circuit intents.
Refined DeviceResourceService.

Change-Id: I489f368a0fac5f4a8d0a1a1cb716f845558db35e
2015-05-30 01:25:08 +00:00
samuel
7a5691affe [ONOS-1959][ONOS-2007][ONOS-2008][ONOS-2009][ONOS-2010][ONOS-2011][ONOS-2016][ONOS-2017][ONOS-2018]
1.fix bug in query subscription command in Tunnel management
2.add RemoveTunnelByIdCommand
3.add UpdateTunnelBandWithCommand
4.add QueryAllTunnelsCommand
5.add queryAllTunnels api in TunnelService and TunnelStore
6.store the Path of the tunnel in the store
7.remove to check parameters iif they are null in the construtors of
DefaultTunnel.e.g
8.add the method of querying in SB
9.Fix the bug that the src/dst end point of Vlan-type tunnel is the
instance of OpticalTunnelEndPoint
10. invert the verb-noun into noun-verb for tunnel commands and label
commands

Change-Id: I90378b37c2bc73b58e6f8f234f009d64f07f758e
2015-05-28 16:36:18 +00:00
Jon Hall
a1cc16fa4e Fix json formating for counters
Change-Id: Ibd506936507752a4911aa2cb0bac3ec916d1da71
2015-05-27 23:18:37 +00:00
Brian O'Connor
30a412deb3 Starting snapshot 1.2.0-SNAPSHOT
Also, fixed onos-upload-bits script to upload rc's to nightly/

Change-Id: I9bb8fe685492e23c740796879f0b66c307e26e56
2015-05-21 18:08:06 -07:00
Brian O'Connor
608e03a1bb Tagging 1.2.0-rc1
Change-Id: I2791aacb0ab4eb0d3db92fef5e58e9c62747bf8c
2015-05-21 17:56:07 -07:00
Kaouther Abrougui
d8b565a904 Fixed bug ONOS-1676.
- Added comments and updated counters command display.
- Modified Json output for counters command.
- Fixed indentation and wrapped long code lines

Change-Id: I4ccc7f67071ea587ee0b12e2f59582f5e5ca760f

Change-Id: Id6cdeda344dd429e3a9f9ab7f027b45e7d6f293a

Change-Id: I6b90a868cedfa405f8deabb1cee6988ba6c1f96e

Change-Id: I93710bd69e266779220c5d1a240e6a06090da55c
2015-05-21 22:36:39 +00:00
Brian O'Connor
6de2e202f1 Moving LabelResourceManager to incubator
Breaking apart resource package into {device, link, label}
Refactored cluster serializers so they are visible

Change-Id: I71051bcd5e790ae6abeb154bf58286e584c32858
2015-05-21 22:26:49 +00:00
Thomas Vachuska
bf916ea1a4 Moved Tunnel subsystem to ONOS core incubator area.
Change-Id: I03f90b068013fbf0490af5277b33459ccc0514ec
2015-05-20 18:24:34 -07:00
Thomas Vachuska
c4483c7792 Cleaning-up javadocs.
Change-Id: Idd37e3053451d6d47c22c007866da040014734df
2015-05-21 00:06:52 +00:00
jcc
d8697235da [ONOS-1284][ONOS-1869]the implementation of tunnel subsystem.It includes
test
commands, store, service. the store use eventually consistent.

Change-Id: Id54224ff65f3f2fa0a1d7adb072a2fe664987d18
2015-05-20 15:54:32 -07:00
jcc
f988bf5e4e 【ONOS-1871】Provide CLI support on flowrule subsystem extension for QA
purposes。
Create a new test application to apply a flow rule to a third-party
random device automatically.
and modfiy FlowsListCommand to show third-party flow rule.

Change-Id: I8902b1577c91c43a7755afd4c1c40fc5ba87d54f
2015-05-20 22:22:29 +00:00
Changhoon Yoon
23dee8f298 ONOS-1858, ONOS-1857, ONOS-1860, ONOS-1862, ONOS-1898 : SM-ONOS
Change-Id: I206e72521cf663466bfcc612e1896bb22d87da06
2015-05-20 18:19:38 +00:00
Ray Milkey
39616f3a81 Add JSON to CLI commands
- Drivers
- Groups

Change-Id: Ib47dc75d9db839329e6cf8fc4439150848f604f5
2015-05-15 02:03:31 +00:00
jcc
de3e92eb78 【ONOS-1223】【ONOS-1870】the implements of label resource APIs.it include
commands
used to test
if there is any bug,LabelResourceManager,LabelResourceStore using
copycat,and junit test code.
the distribution strategy is that the master of devices handle all the
requests if applied label belongs to it.except for query request.
label store uses copycat instead of hazelcast to keep strong consistency

Change-Id: I77bde6a96f33098063573d37ed1ba787ae21973f
2015-05-14 22:11:30 +00:00
Ray Milkey
3078fc0620 ONOS-743 - Use REST API Codecs to generate JSON for CLI commands
Change-Id: I25e0840d1af03341c638f837498c95275e6cf31b
2015-05-13 17:03:39 +00:00
Thomas Vachuska
635c2d7ed1 Adding device driver inheritance mechanism.
Change-Id: I9c883d32ce0c39f961eddd5c4624dc23f794fe4d
2015-05-11 15:49:23 +00:00
Sho SHIMIZU
6d01d3df91 Inline static factory methods in BandwidthResource
Change-Id: I8ac7fbaea5c81c9558f88f6ac88bcf581466d073
2015-05-08 16:10:55 -07:00
Sho SHIMIZU
63feca7d26 Rename Bandwidth to BandwidthResource
To distinguish unit of bandwidth and resource of bandwidth

Change-Id: Ice52538f0c00f6d7743ca247d0f9bab3febdc94b
2015-05-08 23:08:36 +00:00
Dusan Pajin
676a9e4e37 Flow timeout shows in the FlowsList CLI command
Change-Id: Ia559f726dfd9a3507f6fc7c7351dc19f465fd60f
2015-05-08 16:33:54 +02:00
Ayaka Koshibe
4699b29d6c Command for basic testing of LinkResourceService
Change-Id: I65b3a3050255b2134cd4ffc3cad6e0c7d7df5515
2015-05-06 18:00:23 +00:00
Jonathan Hart
ea75084f12 CORD fabric app
Change-Id: I2d261762b432170463e1dbc40432193cad28c9b2
2015-05-05 23:41:06 +00:00
Ayaka Koshibe
e114f04812 ConsistentLinkResourceStore to replace HazelcastLinkResourceStore. Also
includes:

 - typo fix (intendId -> intentId)
 - refactored ResourceAllocations command so it doesn't use error handling as
   part of control flow
 - add ability to compare LinkResourceAllocations

Reference: ONOS-1076

Conflicts:
	cli/src/main/java/org/onosproject/cli/net/ResourceAllocationsCommand.java

Change-Id: I6a68012d8d7d359ce7c5dcd31e80a3b9f63d5670
2015-05-01 21:00:09 +00:00
Jonathan Hart
c3af35a9b7 Add static factory method to create ConnectPoints from strings.
Change-Id: I743b4a4fb433ad07cf6f2cbed3da7b6e19a74ebb
2015-04-30 22:20:29 -07:00
Brian O'Connor
11ff870f7a Fixing add intent commands.
Use empty treatment if there are not explicit modifications.

Change-Id: I9062c592859adcaf3c9bb17f81de83f2778005de
2015-04-29 19:37:19 -07:00
Madan Jampani
5756c35469 Trivial logging change
Change-Id: I8166b5cb886c16b30ad28886a000525ab2059943

Enabling Raft based device mastership store

Change-Id: Ide4dc559aa241ec2f3fa587701f6f32ba6856218
2015-04-29 14:45:05 -07:00
Charles M.C. Chan
41aff9fb4a Pass the selector/treatment set by CLI to the HostToHostIntent
NOTE:
During PathIntent compilation, the ethSrc and ethDst in the selector will be overridden by the MAC of the end-points.
Also, an output action will be appended to the treatment.

Change-Id: Ie2e621b91203a49237e7466b919abedceb3e697d
2015-04-30 00:41:04 +08:00
Charles M.C. Chan
2d89eca55b Add auto-completer for add-host-intent command (ONOS-1756)
Change-Id: I6a3c34ef8c9829b2361d6ea96e94b9d7cc830db8
2015-04-29 21:32:17 +08:00
Charles M.C. Chan
2184de1e7f ONOS-1756: Improve CLI auto completers
- Add more ICMP types and codes
- Add completer for --icmp6Type
- Add completer for --icmp6Code
- Add completer for --extHdr
    It is a multiValued option.
    For example, the following command will match an IPv6 packet with both fragment and routing extension header:
    add-point-intent --ethType IPV6 --extHdr FRAG --extHdr ROUTING
    NOTE: OVS 2.3.1 does not support OFPXMC_OFB_IPV6_EXTHDR match field yet.
- Change parameter of TrafficSelector.matchIPv6ExthdrFlags() from int to short since that field is 9 bits only

Change-Id: I55944399f3985f2cc09330a726f21983de273341
2015-04-28 17:47:22 +00:00
Ayaka Koshibe
0d886fcaf6 Fixes/improvements:
- Leaders command uses candidateBoard keys when using -c (list candidates)
   option.
 - Bug fix for lock retry

Change-Id: I42730a85b720fc5023b9b07bef153d975c95d4df
2015-04-27 19:39:55 +00:00