662 Commits

Author SHA1 Message Date
Andrea Campanella
af1fa39a53 [OS] Fix for XXE in netconf drivers xml utils
Change-Id: Ie38901decb59712c7cf6c717f42bbb746c1e1921
2018-06-26 09:46:49 +00:00
Jordan Halterman
a49c60ace7 Use count methods when printing simple flow rule counts via CLI
Change-Id: I2444b0ad913b0bab82b6fe642c89114322d5194b
(cherry picked from commit ca12103eed8b7407a849f7ac09b735bb4ee250bf)
2018-06-13 21:59:22 +00:00
Yuta HIGUCHI
8de4328a24 NumericPortNumberCompleter
- PortNumber which alwasy show candidates in decimal integer part only

Change-Id: I99ac27315a06b0fab9f5aa045ee35dbfef44200c
2018-06-04 18:21:48 +00:00
Yuta HIGUCHI
e7e71a8f9f Update checkstyle to 8.10
- fix issues detected
  - YANG custom registrator should be subject to checkstyle
  - fix Java 8 syntax related violations

Change-Id: I0fc52c6612a40d851fd9bc3bf019621776b1f92a
2018-05-21 16:00:21 +00:00
Ray Milkey
30ab515ffd Fix some problems discovered by static analysis tools
- Don't throw the base Exception class
- computeIfAbsent always returns an object here, no need to check for null

Change-Id: I1df467b804a632f141fe9e28c5aec1d73c4d1ee3
2018-05-09 01:31:24 +00:00
jaegonkim
185299e53f [ONOS-7639] intents-diagnosis CLI (initial implementation for P2P-flow rule intent)
Change-Id: Iba668809c6d2ad20fd86fb703f4d8e211acf2f14
2018-05-07 16:44:44 +00:00
Andrea Campanella
ab7d9abd45 Show chassisId in CLI and fix UI string
Change-Id: Iec755760d7c8a3a52502768f903d867907709543
2018-05-02 16:02:32 +00:00
Charles Chan
d916af9fab Introduce referenced group filtering in groups CLI command
Also include minor refactoring

Change-Id: I31f248e94f7c62651495d5402cbe22735c1fb6ab
2018-04-26 20:56:57 +00:00
Charles Chan
33f4a91efa Implement flow objective queue command
- View flow objecitve queus and caches
- Refactor flow objecitve service and remove deprecated method

Change-Id: I6bbd209a351e0d87c5ee518038b33f72dcb3058a
2018-04-23 14:29:13 -07:00
Charles Chan
3da0b1d301 Add 'topo' prefix to cluster CLI command
Since so many people confuse that with ONOS distributed cluster

Change-Id: I9216e20f33be86bbd51526ad9c183f018cc4d206
2018-04-18 19:59:23 +00:00
DongRyeol Cha
4df4948418 [ONOS-7572] Show information that the which leader of cluster has the intent
Change-Id: Ic89ccb0121db2bf3a1e679e1fc76fbdde31c824d
2018-04-11 19:05:57 +00:00
Jonghwan Hyun
2c95acfde8 Support double-tagged host
Change-Id: Ie4041a0b5159e7a8b3a9ed82b55ce3c26b520a3b
2018-04-09 23:17:44 +00:00
Charles Chan
bb11581385 Print device ID in packet-requests command
Change-Id: Ifec27e92c73ddcb6c5c0cf0ac308bdb978ccf01b
(cherry picked from commit 207e55b0bd508ca777a02dcc1d6c65fe3ec6ea07)
2018-04-06 22:42:49 +00:00
Palash Kala
67de597c5d [ONOS-7554] Option in DeviceSetControllersCommand CLI to remove controllers configuration from device
Change-Id: Ib5fb7eb71d8322ffdd556f472c299fc10251c4b7
2018-03-26 04:40:39 +00:00
Ray Milkey
054e23d0cf Add uptimes to device and cluster REST APIs
Change-Id: I0ccdf4e33135be4bcfd1674a76ff4b39e992268b
2018-03-22 13:48:50 -07:00
Ray Milkey
27cff8c805 Remove deprecated unfiltered connect point methods from multipoint to single point intents
Change-Id: I220a024568852d1f3168bac3f5cf47d0b3fd9d86
2018-03-06 17:17:59 +00:00
Thomas Vachuska
4b32fcb10c Fixing ComponentConfigManager to preset values locally; not just in the distributed store.
Also added 'preset' usage to the 'cfg' command.

Change-Id: I90df276e68328716784ca1f8624d4d0b8266ad24
(cherry picked from commit 8c73019d271efd7975f1f94c2aa32456dd73c170)
2018-02-20 22:16:38 +00:00
Pier Luigi
b29144d350 [CORD-2486] Improve Mcast CLI APIs
It adds following commands:
- sr-mcast-tree which shows the mapping group-tree
- sr-mcast-next which shows the mapping device-next
- mcast-routes which is similar to the unicast command (routes)

It improve following commands:
- mcast-join adds completer and improves output
- mcast-delete adds completer and improves output
- mcast-show improves output and adds completer

Change-Id: I4e273ac23b05142026b6b77317b0c9b7af76c3ec
2018-02-16 11:57:10 -08:00
Ray Milkey
a2cf3a1505 Remove deprecated connect point APIs for point to point intents
Change-Id: Ie7d29a9e6d54283d3a3310ed8b1e749a631031b1
2018-02-16 17:25:04 +00:00
Jon Hall
307ca97aba Only allow tab completion for one DeviceID in links command
Change-Id: I794018b10ebc2070ed1fc7226990aa4efd572c31
2018-02-15 22:30:23 +00:00
Ray Milkey
7f67cbcd16 Remove deprecated DeviceConfig CLI commands
Change-Id: Id644d6d2bb63f49e7028a9d6f1653dc510669d4b
2018-02-13 00:45:13 +00:00
Ray Milkey
640fedd7e6 Remove deprecated port behaviour classes
- PortConfig
- PortDiscovery

Change-Id: I88c9438969de00146c99bb75e928260ea8ce954a
2018-02-08 22:33:18 +00:00
Thomas Vachuska
1b1355d83f Adding ability to wipe-out UI model cache and network config.
Change-Id: I3d4aecb989c1d4fc2589471fa3ddd53f62c49eb5
2018-02-07 17:01:53 +00:00
Ray Milkey
2b4958a463 SONAR suggestion - don't use generic exceptions
Change-Id: I77c4325281e94e189b7f1212a932f7e912b56b51
2018-02-06 18:59:06 -08:00
Ray Milkey
3717e604d5 SONAR suggestions - prevent truncation of arithmetic expressions
Change-Id: I4694c0c3183b991a4f0db793f584bc77a5fb7d60
2018-02-02 23:06:44 +00:00
Thomas Vachuska
99b7bbe67e Adding REST API and CLI for managing UI user preferences.
Change-Id: If5a1b347bcf7443120c2dfbb096fca6695b8f0e2
2018-02-02 17:44:19 +00:00
Ray Milkey
42b6203896 SONAR suggestion - problems with string format calls
Change-Id: Ie6b985d2e4db79d6398b17e38a680920f52366b3
2018-02-01 21:09:07 +00:00
Yi Tseng
f18e66eb25 [ONOS-7406] Fix NPE when annotation is null
Change-Id: I1e51e6921c938d5f3e33c64338c5d1f645b45117
2018-02-01 02:39:12 +00:00
Yuta HIGUCHI
fbd9ae9cdf Various small fixes
Change-Id: I83802169d0d968f7b88d4be2cedba74b15fdd7da
2018-01-25 22:17:25 +00:00
Laszlo Papp
62c3e07f91 Order the annotation output
There is a slight worry of backward compatibility, however, Set does not
guarantee the order anyway. So, the northbound interface users could not
rely on any ordering. This means that making the order deterministic and
easily human readable just improves the situation without much
overhead.

Change-Id: I8a4de3ecac87a7499a107ad12c7a3038332868cd
2018-01-19 18:58:56 +00:00
Ray Milkey
74e5913ec3 Sonar suggestions - fixes to potential null pointer dereferences
Change-Id: I4e350a9d72a9322971d5d4f831f1bdf167986b87
2018-01-18 19:01:54 +00:00
Laszlo Papp
7cf6037b2c Expose optical properties
Change-Id: I30714563a6a02e5c4c777b759968251625ec4969
2018-01-12 18:58:24 +00:00
Yuta HIGUCHI
d8119809da wipe-out command does not need to inherit ClusterListCommand
Change-Id: I62c1971c15eca59b84d143051d77e8673ef9075c
2017-12-21 16:24:04 +00:00
Jon Hall
83300ca763 Add missing command argument to help
Change-Id: If1a1284e3402fc3035c20f20baabda0aef105276
(cherry picked from commit 30a6031e227729d0c53e26b80b7050b662591245)
2017-12-01 20:27:58 +00:00
Yuta HIGUCHI
820f034f98 Fix few commands handling PortNumber as args.
- should now be able to handle named ports

Change-Id: Ic913f2ac8e1cfd7a0fa2a7631bd5c207b9747eee
2017-11-29 17:42:26 +00:00
Thomas Vachuska
5ca0f7ad6b Enhancing diagnostic and test facilities for troubleshooting
- added new CLI to list driver providers
- added ability to power on/off borrowed cells
- enabled ONOS service to restart on boot/death

Change-Id: Ifc889cdbc0740e5d3286c9836dfecc38d458bbc5
2017-11-29 17:25:43 +00:00
Palash Kala
a06a61694c ONOS-6950 Annotate device through network configuration
Change-Id: I39d5ca39667bb1478a090408ff3c1af33220a0b2
2017-11-28 18:02:40 +00:00
Yi Tseng
ac81f5f8ab
Show string table id instead of numeric table id
Change-Id: Id672e49e369533259b924a1d1554aa25fbeab04c
2017-11-14 00:35:43 -08:00
Jon Hall
deb4ff521a Fix last updated time in the 'nodes' cli command
Change-Id: I16a12958556b41429923f438708d1abf819c10b1
2017-11-06 22:22:45 +00:00
Yuta HIGUCHI
4a6852e9d9 Add option to print loaded driver name only
Change-Id: If4997ade96e26ad59944b5b27d41eeb2d402661d
2017-10-31 22:55:30 +00:00
slowr
370d9081e7 [ONOS-7144] Membership CLI Command
Change-Id: I7f36e288f3ff2ebb5a1df74123a8e1adb22cb769
2017-10-25 18:26:02 +00:00
Yuta HIGUCHI
0c47d5386e Deprecate joda-time
- ref:
  http://blog.joda.org/2014/11/converting-from-joda-time-to-javatime.html

Change-Id: I1115e8053f601e78cb933ccbfa664ff8787d2da1
2017-10-20 09:40:05 +00:00
Jordan Halterman
28183eea1d Replace Unified* services with MembershipService for subgroup membership
Change-Id: Iabff173ce3501d1ed300513cac445bb712614bd9
2017-10-19 23:45:32 +00:00
Claudine Chiu
579969d988 ONOS-7096 vCore suport VirtualPort enable/disable
Change-Id: Ifa004d47ecc66700f6e401f0c6a8ad242ca3f77a
2017-10-18 20:26:46 +00:00
Jordan Halterman
980a8c1566 [ONOS-7054] Implement prototype of ISSU protocol
Change-Id: Id543c0de9c97b68f977c824cbc987b35d81beb2d
2017-10-06 21:14:56 +00:00
Andreas Pantelopoulos
250ad71bb6 Auto complete when listing groups type. Fixed identation when listing buckets.
Change-Id: I10415fc0a9f0f2f75b287c49d315588869ca535b
2017-10-03 18:01:06 +00:00
Yuta HIGUCHI
0ef3387f6c Add unique suffixes to app name completer candidates
- Add appname suffix acceptable as appname fragment
  app activate [appname fragment]
   e.g., app activate conf[tab]
    => config configsync configsync-netconf

Change-Id: Ibea0a3d3995f54001fbfd5015db8f3785c353e3d
2017-09-14 14:46:35 +00:00
Yuta HIGUCHI
de4b7e21c8 Add clusterId to summary command
Change-Id: Iff2bf108b88a5bb5b72da1e63b2214735bbaad44
2017-09-13 18:09:01 +00:00
Carmelo Cascone
868b1bc90f Fixed exception when using portstats -t -d command
+ minor styling of the printed stats table

Change-Id: I139cae73e618e719aa73be7514ee3dc4c4dd6640
2017-09-13 17:24:41 +00:00
Thomas Vachuska
08b4decc39 ONOS-6980 Adding support for download of application bits.
Change-Id: I742950690b50038cac0bb2ad2da4eaac5781da85
2017-09-06 17:37:43 +00:00