300 Commits

Author SHA1 Message Date
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
Charles M.C. Chan
e9c8bbcf37 ONOS-1264 Expose IPv6 support at the ONOS CLI level
Change-Id: I12b16eb97b011899984fda00db229b5a8ff00fa3
2015-04-23 21:09:18 +00:00
alshabib
08d9898714 FlowRule api no longer uses TableTypes. Existing usages are converted to
integer representations via Type.ordinal() call

Change-Id: Ie2a26c5ced166e12f0e1ea22e39cd5195455a1ad
2015-04-21 23:52:19 +00:00
Charles M.C. Chan
6f5bdc6b88 Javadoc improvement
Change-Id: I4f767af36101c32493a77570a9729f4e8c300136
2015-04-21 18:16:54 +00:00
Thomas Vachuska
ce9808a43a Javadoc clean-up and apps -s command clean-up.
Change-Id: I6a4859fd05edb17a02333e4d68496d54589b586b
2015-04-21 09:33:26 -07:00
Madan Jampani
fd45d5e929 Use similar return types for LeadershipService.getCandidates() and LeadershipService.getCandidates(topic)
Change-Id: I9aaea9dfa14e4e9916103a61c8e59290ad656aa7
2015-04-20 23:54:22 +00:00
Jon Hall
e97083c388 Fix for ONOS-1715: NPE in nodes cli command
Change-Id: I5a1c4e3a73162ee34ede1ea1aba641898822adea
2015-04-20 15:22:30 -07:00
Ayaka Koshibe
941f860994 ConsistentDeviceMastership on top of LeadershipService, and leaders CLI command
modified to filter on topic. This does not support changing candidate ordering
(yet).

Refernce: ONOS-76

Change-Id: I028a6df0acbe3c4e4ff7c228f687f640e48e13be
2015-04-17 06:19:40 +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
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
Ray Milkey
95c5087688 ONOS-1597 - add an optional appId to CLI commands that create intents
Change-Id: Iaf14f1a98f617eb025dab1b16542d68184082ceb
2015-04-15 17:40:36 +00:00
Thomas Vachuska
8ceee94383 Added means to allow manipulating device annotations from CLI.
Change-Id: Ie3193a68b0164e77eb7e1e16cbf93fb953b73cb1
2015-04-15 00:05:50 +00:00
Brian O'Connor
e709a3b976 Removing duplicate apps from ApplicationNameCompleter
Change-Id: Ib0a79a9971b017afeddf7f3c85b8a1970a072449
2015-04-14 15:02:27 -07:00
Srikanth Vavilapalli
10e75cd1dc ONOS-1443: Group bucket statistics support and group CLI formatting
Change-Id: Iaa6d8ae1f9222eb9c29d14bf1615a7449e50c4d3
2015-04-14 21:06:44 +00:00
Ayaka Koshibe
fd26a3055c Create local storage for topic candidates mapping. This also includes:
- using Optional in Leadership, and some commenting.
 - using MutableBooleans + compute()

    part of: Device Mastership store on top of LeadershipService
    Reference: ONOS-76

Conflicts:
	core/api/src/main/java/org/onosproject/cluster/LeadershipService.java
	core/store/dist/src/main/java/org/onosproject/store/consistent/impl/DistributedLeadershipManager.java

Change-Id: I7f090abb123cf23bb5126a935a6e72be00f3e3ce
2015-04-14 20:58:10 +00:00
Ray Milkey
b0352416ed ONOS-1602 - JSON output for cfg command in CLI
Change-Id: I439ea0982cc487417cd1d1a797d7f671ae6797f8
2015-04-14 17:23:32 +00:00
Thomas Vachuska
c40d463c27 Consolidating null providers and making them fully configurable and integrated with the ConfigProvider to allow arbitrary topologies.
Change-Id: I899e27a9771af4013a3ce6da7f683a4927ffb438
2015-04-14 01:23:24 -07:00