1866 Commits

Author SHA1 Message Date
Sho SHIMIZU
ef835c9d46 Make ResourceService API more flexible in parameter
Change-Id: Ic8b803cc6ae3b2798de525bfd6545ac5c57e8fdd
2016-08-09 00:17:51 +00:00
Yuta HIGUCHI
c3d69f52e5 Fix NPE when there's no secondary path.
Change-Id: I3bb8eeb2abf140d44cf4dc7186cf1bf316c23f70
2016-08-08 23:50:40 +00:00
Michele Santuari
208b1675d9 Polling link provider
The provider is capable of polling the environment using the
    device driver behaviour (LinkDiscovery)

Change-Id: Ia09f866299d38c4de9b13201c9cf63b03909164a
2016-08-08 23:16:43 +00:00
Kavitha Alagesan
c69c66ae54 Merged master fixed conflict.
Change-Id: I1260048f4cc90c422ce6033d506c25ec38d6cc3a
2016-08-08 17:56:09 +00:00
Yuta HIGUCHI
516a8ca0bc Typo fix
Change-Id: I5d2df10b35ff2af32a28418dcee442ea5011bed2
2016-08-05 23:00:01 +00:00
Yuta HIGUCHI
d90dbc9f66 Simplify EventHistoryManager
Change-Id: Ifefc68269e469883960359406d603e8c24b399df
2016-08-04 18:35:21 -07:00
Simon Hunt
4f4ffc3ece ONOS-4971: Synthetic Link Data -- WIP
- Enhancing UiRegion to capture the hierarchical (parent/child) relationships captured in the UiTopoLayouts.

Change-Id: I152e0d52d4580b14b679f3387402077f16f61e6a
2016-08-03 18:34:23 -07:00
Ray Milkey
bb23e0b5fb Fix Javadoc warnings
Change-Id: Icf8b6b6f77ea80d3975aa975226a178145067adf
2016-08-03 14:29:51 -07:00
Yuta HIGUCHI
d95d590b7e [ONOS-4513] Move optical Intent compilers out to optical-model (3/3)
- core/net is now optical clean
- reverting part of Change-Id: Ib8ddac6e93327ade9d42984d8eba66be7047d051
 which lead to loss of package import information, causing OSGi issue

Change-Id: Ie6b16abd3ecc872f0920d29c7577a10c44091af6
2016-08-03 18:54:43 +00:00
Yuta HIGUCHI
b9af6b79ef [ONOS-4691] Refactoring OpticalPortOperator (2/3)
- Define ConfigOperator for a Port
- Refactor OpticalPortOperator as PortConfigOperator
- Add plug-in mechanism for PortConfigOperator on DeviceManager
- Move OpticalPortConfig, OpticalPortOperator to optical-model bundle

Change-Id: I5d416305b0c1b0e31e0ad64baa92d126303548bc
2016-08-03 18:54:26 +00:00
HIGUCHI Yuta
f3ead25267 [ONOS-4513] Slice optical-model into separate bundle (1/3)
- net and cli bundle has dependency to optical-model bundle,
  which should be removed in the longer run. (ONOS-4626)

Change-Id: Ieff43ef2002ee21f4578a6e2a729cd35ce3eae3d
2016-08-03 18:54:13 +00:00
Yuta HIGUCHI
90e12291f5 Fix NPE in AbstractPathService.
Was triggering NPE when used in plain PathManager

- implement PathService to inherit interface javadoc

Change-Id: I345ec84ed3e61a383574fd58679fb00291b4bba0
2016-08-03 10:18:15 -07:00
Jayasree Ghosh
2d45985953 ONOS-4751-Fix:creating GroupType INDIRECT, multiple bucket(REST API)
Change-Id: Ic8d5a04b8b00ca43bfadbb3019aa5d72e799da6f
2016-08-03 16:56:38 +00:00
Simon Hunt
4854f3dede ONOS-4971: Synthetic Link Data -- WIP
- adding CLI commands for dumping Model Cache contents.

Change-Id: I28dfe179835de6cd0c5356faf87af46a239eb772
2016-08-03 15:41:29 +00:00
sangyun-han
d44b9574c8 Fix javadoc in DeviceAdminService
Change-Id: Ic0c54fdc49f391b1553ba836360e9380b15d1647
2016-08-03 15:10:17 +00:00
Brian O'Connor
d03d7dd559 Cleanup of AbstractPathService
Introduced in 45920ddeb82a317ee629537f1ac6cbc91f715bee

Change-Id: I02ed4b2a38fc60d4c86781e7b4eec4637c3892d4
2016-08-03 15:04:10 +00:00
Claudine Chiu
45920ddeb8 ONOS-2184 - initial impl. of virtual network path service; move path related methods from PathManager to AbstractPathService (since they are reused for VirtualNetworkPathService).
Change-Id: Ib4211d69a15c23a50de420b771877bb659539c22
2016-08-02 21:31:37 +00:00
Akihiro Yamanouchi
54f28e23ac [ONOS-4747] NETCONF function for FUJITSU OLT #2
- Enhanced device-setcontrollers command to apply additional key-value pair.
    e.g. onos> device-setcontrollers netconf:10.10.1.11:830 tcp:10.10.1.11:6630,ofconfig-id=1

Change-Id: I2cb5941dbd9829ade6fa89d5546bbc6aab44f83f
2016-08-02 21:08:15 +00:00
Simon Hunt
9818919b73 ONOS-4971: Synthetic Link Data -- WIP, merge anyway
- created temp Topology2 View (topoX) to "process" and display topology data.
- made root layout parent of itself (just like /.. = /) to simplify layout hierarchy operations.
- added nodeType property to JSON rep of regions/devices/hosts.
- augmented peers to include devices.
- added skeleton topo2NavRegion event.

Change-Id: I8219125d7dfe33d211350ae27111a3d9de6eb4ca
2016-08-02 10:08:03 -07:00
Simon Hunt
10973dd2f1 Added ui-cache-regions CLI command.
Change-Id: I196543792c85e40e582f9456e4e50dd33bedf111
2016-08-02 00:36:44 +00:00
Brian Stanke
fb61df4c6a ONOS-2184 - Implementation of virtual network topology provider.
Change-Id: I846ba56c138187c6e5435692798e709b74a78020
2016-08-01 18:19:47 +00:00
Madan Jampani
f2fd465287 Use default op timeout value for DefaultLeaderElector calls
Change-Id: I086ea91b037c4995bf2bea375911a473182f6551
2016-07-29 00:08:13 +00:00
Yuta HIGUCHI
faa7c6727f Fixing javadoc
Change-Id: I1d325ae71b9f1df7a2387a134269d3e5cad12e41
2016-07-28 13:42:07 -07:00
Aaron Kruglikov
b6ec9cdc7b Adding interfaces for synchronous consistent multimaps.
Change-Id: Ie0bfc0b8317d7b1c0e0f50738ab4b05aa242e488
2016-07-28 11:33:57 -07:00
Madan Jampani
819d61dfb8 Work queue improvements
- Fixed logic to ensure only session to which task is currently assigned can complete it
- Support destroy method to reset work queue state
- Removed deprecated DistributedQueue primitive

Change-Id: I4e1d5be4eb142115130acf15ff34035cb9319a1a
2016-07-28 04:22:28 +00:00
Jon Hall
7a8bfc6caa [ONOS-4460] Relinquish device role when partitioned away from cluster
Change-Id: I578029614cced96a2d4503e4fe3052c927f051ab
2016-07-28 00:37:14 +00:00
Thiago Santos
877914d664 [ONOS-4931] fix doc of FlowEntry.life(), add life(TimeUnit)
Fix the doc: life() returns the time in seconds, not milliseconds.

Add new method life(TimeUnit) that allows specifying the timeunit to
receive the life value as as seconds might not be enough for
all applications and OpenFlow can provide this value to nanoseconds resolution
(in its spec).

Change-Id: Ia6a7573797249e0edc04e03c7204a550a2823742
2016-07-26 21:32:46 +00:00
Jonathan Hart
195c037b7d Deprecated unused NetTools class
Change-Id: I5b0a125461eedc4185989a821ccd9afd6a81a82c
2016-07-26 17:26:42 +00:00
Aaron Kruglikov
6a164354d8 Changing tree map interface to only allow a value type parameter, key is always string.
Change-Id: I727e62401998fec63acf9e584cfb79a6ed02b569
2016-07-25 12:57:11 -07:00
Yuta HIGUCHI
f13b3df62f Fixing ConsistentMapException type.
Change-Id: I0f0fbf62a7a38e588a222bc2144f7c36cacd2dc6
2016-07-25 12:13:22 -07:00
Aaron Kruglikov
3e29f66193 Adding additional TreeMap resources
Change-Id: I103a8c5e6fb1c5e7a6ae0942e0b746367da18736
2016-07-25 17:43:54 +00:00
Simon Hunt
b1ce2609cb ONOS-4326: Working on topology topo2start processing.
- Added getPeers() to UiTopoLayoutService.
- Fixed wipe-out command to leave the default layout alone.
- Fixed handling of null-region (associated with default layout).
- Added refresh() method to model cache.
- Fixed regions-topo-2 device IDs

Change-Id: Iee49b47ff6702bed9751be7b63392577422d4763
2016-07-25 17:20:07 +00:00
Thomas Vachuska
e7ea688a60 Allowing driver loaders to refer to classes loaded by others.
Change-Id: Ife4e50758620d4c052a7bb81740d9b9305647317
2016-07-22 22:24:16 +00:00
Nicholas Dean
126b8afeeb ONOS-4802 sp2mp intents now apply treatment at the egress switch
Change-Id: Ibdd675f331e522c8b9f1d0e2e9fd5d6b93162fd1
2016-07-22 18:56:46 +00:00
Thomas Vachuska
eb851cdefd Adding commands for managing layouts.
Adding support for wiping out regions and layouts.
Refactored UI layout manager to allow public knowledge of default layout id.
Enhanced test topo for layout hierarchy.

Change-Id: I254fd494175e753f542f12a664618c1a83f72127
2016-07-21 15:50:36 -07:00
Simon Hunt
977aa05481 ONOS-4326: TopoRegions: Implement basic structure of response to 'topo2Start' event.
- this is WIP: still need to extract data from model cache.

Change-Id: I5ab843a1c352275a8da89964c886b660e3b8b616
2016-07-21 11:58:52 -07:00
Simon Hunt
d5b96731d7 TopoRegions: created skeleton Topo2 UI view for development of the "region-aware" topology.
- Added initial event generation (layout/region/ etc.) -- WIP

Change-Id: I2f93eea7505ff0400085d7f67491f6b61231cb86
2016-07-15 19:04:10 +00:00
Akihiro Yamanouchi
8d3a9d3a72 [ONOS-4837] NETCONF function for FUJITSU OLT #4 and #5
- Add the following commands for FJ OLT
  volt-onus <netconf:target> <ONU ID>
  volt-setonu <netconf:target> <ONU-ID:parameter type:parameter value>
  volt-onustats <netconf:target> {ONU-ID}
  volt-rebootonu <netconf:target> <ONU-ID>
  volt-ethloopback <netconf:target> <ONU-ETH-ID[:loopback mode]>
- Add the method of doUserRpc() in Netconfsession/NetconfSessionImpl
   *If you dont allow to implement the method, i can move it to our XmlUtility method.
- Add new behaviours in /core/.../net/behaviour, and @Beta in the interface.
- Move those behaviour interface to fujitsu driver directory.
   * VoltPonLinkConfig.java as well.
- Update fujitsu-drivers.xml
- Change the method name from doUserRpc to doWrappedRpc

Change-Id: Ic39d3a11ba35d2377e552af097eda65c5554c63f
2016-07-14 22:37:52 +00:00
Madan Jampani
0583387a45 Implementation of Hybrid Logical Clock Service.
Change-Id: I52e231433d044f9e6156db7e28bde9fd199118e8
2016-07-13 21:51:37 +00:00
helenyrwu
fd296b6142 [ONOS-4681] Enables device registration in GossipDeviceStore,
exposes availability, and polls NETCONF device reachability.

Change-Id: I5492c7b6109c3431d71555a9104c7e97fc6e75be
2016-07-13 10:02:10 +00:00
Yuta HIGUCHI
e18a2ef92e Fix javadoc error
Change-Id: I011adce4ba0c2ef3fee3399c4a55f47e81708264
2016-07-11 23:34:38 -07:00
Madan Jampani
35708a94b7 Distributed work queue primitive
Change-Id: Ia8e531e6611ec502399edec376ccc00522e47994
2016-07-12 02:00:47 +00:00
Madan Jampani
54c5e238e6 Removes deprecated withPartitionsDisabled method
Change-Id: I9a39c0584d0e5d62d5719639598c5cc25bcb8e2f
2016-07-12 01:56:36 +00:00
Akihiro Yamanouchi
d4912841d7 [ONOS-4795] NETCONF function for FUJITSU OLT #3
[Done]
- Add vOLT ponlink commands for FUJITSU OLT
- Add new implementation with respect to the commands
- Move those commands to Fujitsu drivers directory
- Modify BUCK to avoid an error

Change-Id: I7a61234e18367aa74445800dd09f98c10edc35c4
2016-07-11 16:15:10 +00:00
Hyunsun Moon
89478668d2 Added patch interface add and remove behavior, and implemented OVSDB driver
Change-Id: Ic7632906fcfe50ec224fabdc15cb902a70150fae
2016-07-11 15:24:18 +00:00
Hyunsun Moon
dd14e8e6e4 Refactored tunnel and interface config behavior
- Added tunnel interface configuratoin to interfaceConfig and
  deprecated tunnelConfig
- OVSDB client service provides interface create/remove APIs instead
  of tunnel interface create/remove, and this APIs can be used to
  create/remove various types of interfaces like tunnel, patch, tap and so on
- Use tunnel description when create tunnel interface so that we can extend
  more config options later
- Some cleaup OVSDB client

Change-Id: I4653595504a27b18384a92ebe4b31ce9d99237cd
2016-07-11 15:20:52 +00:00
Pier Ventre
91a9912645 Adds the control for Encapsulation Constraint.
Change-Id: I98b09704d077d55ea0f65b15fb11da61e52851ac
2016-07-09 11:10:47 +02:00
Yuta HIGUCHI
6237cfc1e8 Add method to create LinkKey for LinkDescription
Change-Id: Iaf8854d349ecd89ae901b76a38f173512eaacb63
2016-07-07 17:31:36 +00:00
Phaneendra Manda
8db7d092ba [ONOS-4612]Update SFC flows inline with the Official OVS NSH patch
Change-Id: If58517841096a939860d88aa78eca7cae46b9935
2016-07-07 17:19:48 +00:00
yjimmyy
646aa02614 Implement PowerConfig for Oplink Devices
Change-Id: I939126580f8d3cdcdbcd9a46f6ee5cacbd25051d
2016-07-07 03:30:46 +00:00