2097 Commits

Author SHA1 Message Date
Patryk Konopka
7e40c01118 [ONOS-6607] Get active flow entries count in FlowRuleService
Change-Id: I68b4d916f92427c06a82d3622fcc05738f64541c
2017-06-20 15:43:27 +00:00
Simon Hunt
10618f6806 ONOS-6327: Implement details panel for host view.
ONOS-6326: Add friendly names to hosts.
- PLENTY more YakShaving:
  * some cleanup of the device view handler
  * introduce navPath field to PropertyPanel
  * introduce "-" name annotation to represent "use default"
  * (and more...)

Change-Id: I2afc0f1f29c726b90e97e492527edde2d1345ece
2017-06-16 22:15:23 +00:00
Jordan Halterman
0d89ea342a Limit/validate string lengths for various identifiers to prevent DoS from large objects
Change-Id: Ib7c34ddf8bd161efdf8d00a50f3378f9b7366188
2017-06-16 21:45:12 +00:00
Yuta HIGUCHI
113091f88f Cosmetic fixes
- Fixed javadoc & checkstyle warnings

Change-Id: Ie62d257bf68fbb3e2597a04857912259aa6d1f19
2017-06-16 17:23:39 +00:00
Frank Wang
9986c0714a Add zh_CN test file for Lion localization
Change-Id: I3a17bb856d3b436fd2a65d7597a1e2c43d03d23a
2017-06-16 10:55:12 +08:00
Simon Hunt
8694308c4e ONOS-6327: Implemented details panel for host view.
- WIP: still have to render the host details in the panel.
- YakShaving:
   * augmented ConnectPoint to implement Comparable
   * cleaned up ConnectPointTest

Change-Id: I5c901099319820e08af812807ff65bf5dac1fb23
2017-06-15 13:43:16 -07:00
Simon Hunt
a5b1454496 Cleaned up LionUtilsTest so that further language bundle tests
can be added at the bottom. Also added a TODO to figure out
why the extended character sets aren't being handled correctly.

Change-Id: I2c79db11001307407d3e2f80ee2256ad2ae06648
2017-06-15 17:18:26 +00:00
Jian Li
67d47e8e19 Add Korean test file for Lion localization
Change-Id: I08a680d42e94be9c9032fb53af0d723cb22008c9
2017-06-15 16:17:55 +00:00
Sbhat35
99d6696d2a Improved comparator unit tests
Change-Id: Id8c5bccdd7360b4631e340837f4f8cda101a446d
2017-06-14 23:59:55 +00:00
Simon Hunt
b804203e38 Lion Utilities:
- set local from user.* properties
- but allow override with ONOS_LOCALE env var

Change-Id: I5e455f3dc00abb0f4229e9afc50871f543ffaad4
2017-06-14 15:36:33 -07:00
Yi Tseng
ee2c854c0b Add zh_TW test file for Lion localization
Change-Id: I30ce77ded84fa525c7386fabe66605946c5b6c46
2017-06-14 14:12:11 -07:00
Simon Hunt
7a8fe6eab8 Lion Utilities:
- Incorporate Italian message bundle in unit tests.

Change-Id: I858a427212ee1ac25c72b7bf4c6bbff8b16942df
2017-06-13 13:46:44 -07:00
Charles Chan
888e20a25d Remove host location when port down or device down
Also refactor Host Location Provider

Change-Id: I57d682ee51e80ddd7e141883521a12da705a336d
2017-06-13 18:58:10 +00:00
Charles Chan
61fc0d8cc9 Extend Network Config Host Provider to support multihoming
Change-Id: I6e9dd18a5189a7bf35a617a00bd46e4a32acf524
2017-06-13 18:52:06 +00:00
Andrea Campanella
22ed0a1af3 Adding italian test file for Lion localization
Change-Id: Ifd4a12c3dc21bc19a39b31d0acb1ac6edb72e06e
2017-06-13 17:11:18 +00:00
Simon Hunt
0c85f11fe2 Made a start on localization ("lion") utilities.
Change-Id: I838767cb49cb785e98d71475116c264f749d4aac
2017-06-13 17:10:20 +00:00
Yuta HIGUCHI
9eed0b1a34 Revisit Annotations merging
- avoid extra instantiation/copying when possible

Change-Id: Ia2f74a1fe2ff1176346316565c9bc6786cd7f6e4
2017-06-12 21:19:29 +00:00
Yuta HIGUCHI
6ee6b8ccd2 netty4 OpenFlow southbound
- separate I/O thread and message dispatch threads

Change-Id: I11a10a47de451a9e3063b62f9450be19c3a9dae7
2017-06-12 20:28:12 +00:00
Andrea Campanella
241896c7af [ONOS-6463] general device Provider
Change-Id: Ibc045bffe14c24068adc7f0adc96366d0f1807a0
2017-06-12 17:15:41 +00:00
Yuta HIGUCHI
3142f646ac Avoid accidental link type override
Change-Id: I3462838f8208c231f7b7ff24e63a03984fae4475
2017-06-09 17:27:31 +00:00
Yuta HIGUCHI
2ad387d7a0 Respect bidirectional link config
- Evict link in both direction, only if the configuration is bidirectional

Change-Id: I64b5d6dcedbbaf6e4e4a146e9dd123c8444c85b3
2017-06-09 17:27:31 +00:00
Carmelo Cascone
43740a078d Pruned old BMv2 stuff
...making space for new BMv2 support via P4Runtime.

Change-Id: Ia34c1a152c0e6e006fd3b86afc5086316264b6f6
2017-06-08 15:39:42 -04:00
Carmelo Cascone
1022a4ef8e ONOS-6464 interfaces for protocol-independence (PI)
And also ONOS-6553, implementation of table entry classes

Change-Id: Ia7146b1bb0aac794e19b3fd8150c042e7ec70535
2017-06-08 18:59:46 +00:00
Simon Hunt
36740d0680 Remove deprecated use of 'sid' parameter.
Change-Id: I679a19581a04c2506fe0ea24f1c1e10e533bad35
2017-06-07 19:34:29 +00:00
Simon Hunt
1169c95d89 OS-1 : insecure UI websocket.
- notes on authentication of UI web socket connection.
- new classes: UiSessionToken, UiTokenService.
- UiExtensionManager now implements UiTokenService.
- UiWebSocket now expects an authentication event from the client
- websocket.js now sends authentication event as first event
- (fix websocket Jasmine test)

Change-Id: I4303c67f57fc618e911be244091f00bcc2823c91
2017-06-06 17:21:48 -07:00
Ray Milkey
0c6182f643 Remove deprecated proxy ARP implementation
Change-Id: I43164581b5d823acb4617cbea78e670cb7499346
2017-06-02 23:42:53 +00:00
Ray Milkey
a695719fa7 Remove deprecated flow statistics APIs
Change-Id: I0b44886f2e2f549377dd70ce123eefe73eb10fda
2017-06-02 23:42:19 +00:00
Ray Milkey
686fba0b67 Remove deprecated MPLS Intent classes
Change-Id: I6f4d6fd84ce41c26b8a30f5c0881c42c67a1f209
2017-06-02 23:40:46 +00:00
Jordan Halterman
485da340d6 Optimize FlowId hash computation.
Change-Id: If476d87c41658bba2b3d9fbe2f80265672a38019
2017-06-01 20:57:04 +00:00
Ray Milkey
0a42095a41 Remove deprecated NetTools class
Change-Id: Ie2f065ab9d544d7477f85fa1ebff34ce4cba1483
2017-06-01 17:26:53 +00:00
Charles Chan
cd06c69b69 Extend host structures to store multiple locations
Also update host location format in CLI and REST API

Change-Id: I0fbd655f642627dd3eb8a2925f83a3ee016fe4aa
2017-05-29 18:19:19 +00:00
Simon Hunt
9bb8fb976d Added CLI command ui-geo-map-list.
Change-Id: I867db6fe82fb94f1083beaf3e661aa0d692b1865
2017-05-26 16:49:05 -07:00
Jordan Halterman
0d1f3fa3ee [ONOS-6527] Support serializing multiple types using the same type ID when a serializer is explicitly provided
Change-Id: I4de04eaaea09eb81e2fe8bd28af934170c88a2d8
2017-05-26 20:54:32 +00:00
Jonathan Hart
46bf89b94b Implement listeners for ConsistentMultimap.
Change-Id: Ica07d444c18af8ba7a9bbb120623512def572a48
2017-05-26 17:00:41 +00:00
Yuta HIGUCHI
4d04b2c1f6 Avoid sporadic test failure
- Avoid 2-arg constructor which may endup using different timestamp

Change-Id: Id47d89c8dc9207352b56f6213a45b3cd1b0070c0
2017-05-26 16:33:09 +00:00
Jordan Halterman
6440b09d32 Fix incorrectly spelled DEFAULT_OPERTATION_TIMEOUT_MILLIS constant... Driving me crazy!
Change-Id: I9e46454f5298f8e7603438129d17f9d305da6210
2017-05-25 17:32:17 -07:00
Ray Milkey
8521f810b4 remove deprecated isDurable() method
Change-Id: I000fe7dc49b6ba231cc7483cf0ad67593b50f06e
2017-05-24 21:17:33 +00:00
Jordan Halterman
a1c8f718e6 [ONOS-6508] Copy ImmutableList in DiscreteResourceId constructor to ensure binary serialization formats match across all resource IDs
Change-Id: I7018214a4a25f619363c1b1b53d54b9dfec756e2
2017-05-24 21:01:37 +00:00
Jordan Halterman
5a1053eb46 [ONOS-6497] Add globally unique numeric ID generator primitive
Change-Id: Ic2d9214cfa885344694b8ba4250054dd6a33144e
2017-05-23 21:20:52 +00:00
Yuta HIGUCHI
6deacbde1e DisjointPath should've been immutable.
Change-Id: I8499bd53acd62425c3aa8b0bce4958d6c0054712
2017-05-23 18:15:15 +00:00
jaegonkim
80bee53a79 [ONOS-6451] Datapath type setting function for supporting OVS DPDK addBridge
Change-Id: Ib6a8fa79dc1221e1387f8888f606306c671c4133
2017-05-23 08:33:24 +00:00
Yuta HIGUCHI
b6e0e914ce Moving NetconfDeviceConfig to API bundle
- Move the class to API bundle to allow config manipulation via API
- Avoid sweeping whole device tree on every Device event.
- code clean up

Change-Id: I58ebdc89688c6c9250bb546585c227d486b30df2
2017-05-22 18:41:03 +00:00
Ray Milkey
16efe17b4f Remove deprecated flag on a method that has no replacement
Change-Id: Iece715e3c6985f0df77c23a3ef6f3b6dab9cb2db
2017-05-22 18:39:14 +00:00
Yuta HIGUCHI
a684b6ea99 Add K-shortest path API to PathService.
Change-Id: I96732666f31a7a2b2df9a16f63e77bc0a367da83
2017-05-19 15:45:52 +00:00
Michele Santuari
b1b4489de0 fix obstacle constraint to support edge links
support paths including edge links (e.g., compilation result of
hostToHostIntent) for the obstacle constraint

Change-Id: I0f82e3cb8e4b88ffd30a9275e5e7dcaf5fbae122
2017-05-19 15:43:22 +00:00
Yuta HIGUCHI
9f2d724c0b Added builder for PortDescription
Change-Id: I37cf78ba7d2cebb021806a0441f2bf231a855c28
2017-05-19 15:40:12 +00:00
Jimmy Jin
e9b7a02ff9 OpenFlow message processing for new loxi
Depends-On: Id69c8597eb4564653c56cdc90f2dcec50afbdd25

Change-Id: Ib14fbadd3debf98ce1d56343179f8e7929f8ade8
2017-05-19 15:40:12 +00:00
dingdamu
d3a0b215dd Fix latency constraint
1. Consider that the type "Duration" in the String is composed by
characters and numbers, it's not easy to convert it to double for
comparison, I modified the latency's annotation to
cfg.latency().toNanos().
2. Exclude two EdgeLinks for the calculation of the whole path's latency
3. The unit of latency in ONOS is not the same, so I set all the latency units to
nanoseconds.
4. Add the latency constraint option for ConnectivityIntentCommand.

Change-Id: Iddf5634880e43ed563db9978659db5eb9ee6c7f8
2017-05-19 02:01:23 +00:00
Yuta HIGUCHI
4f8a377740 ONOS-6468 Fix for race condition between compilation and installation complete state.
- Fix for a bug where intent compilation complete state,
  can overwrites intent installation complete state,
  if intent installation completes before compilation complete state is written to the store.
  - Introduced internalState version on IntentData,
    which is effectively mutation count, in order to avoid
    batch write of compilation result overwriting installation result

Change-Id: I5d77dfbe496e690ebdf2b4f9643d2b64c4233182
2017-05-18 21:26:07 +00:00
Andrea Campanella
5d4f9f4bd3 Removing deprecated annotation
Change-Id: I8fda28b0a5c86ff41a7005f38d128d6c578146f4
2017-05-18 00:23:58 +00:00