1747 Commits

Author SHA1 Message Date
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
Brian Stanke
11f6d53693 ONOS-2184 - Initial implementation of Virtual network Intent service.
Change-Id: I03103b4eca797cd32480fbd0e3b4cf0385b50ef2
2016-07-06 17:28:30 +00:00
Andreas Papazois
34a82cfae2 [GEANT] Rate limit on port via NetConf and refactoring.
Change-Id: Id5b5a196bed3b28159160b94bc5ae838d00cb765
2016-07-01 18:30:30 +00:00
Thomas Vachuska
2d6c599891 Fixing an issue in basic device config where config always overrode the type to switch.
Change-Id: I0c48e3d9b41fd60f0429d6a2c989a9f5e6e12f40
2016-07-01 12:42:26 +02:00
Charles Chan
b3ef1fd63b Fix GroupKey interpretation in REST
Input string from REST should not be converted into byte array directly.
Before: "1" -> ascii 49 -> 0x31
After: "0x01" -> 0x01
GroupKey is a byte array with arbitrary length and represented by hex string

Change-Id: If27101f0e5522212c7e434fab58b66e67e9676d7
2016-06-29 14:57:13 +00:00
Jimmy Yan
4deb03b729 Use LambdaQuery in OpenFlowDeviceProvider to get details for optical ports and fix OmsPort totalChannels()
Change-Id: I09bee1ad1cbf4b8d7185c2b022ffed4d8b2ef2e7
2016-06-28 20:44:47 +00:00
Madan Jampani
6a4237d62a Fix AtomicCounter addAndGet
Change-Id: I51e87a327b19956d76f9916a376414b5eea38929
2016-06-27 03:20:54 +00:00
Aaron Kruglikov
8e0a08a19d Disambiguation of the difference between reachability and availability.
Change-Id: Ie4c7468453d64a48a0bf712737f927f7086a5bc5
2016-06-23 00:33:30 +00:00
Yuta HIGUCHI
6eb00cce43 Allow reading PortDescription from DeviceStore
DeviceManager had to reverse-engineer PortDescription
in order to mark port off-line, etc.
which required domain specific knowledge.
(e.g., OpticalPortOperatorr#descriptionOf)

required work for ONOS-4691

Change-Id: I954f5f2db2cb7db938f498ead4c8e3f84212a53f
2016-06-18 07:02:07 +00:00
Hyunsun Moon
10f2adeb18 Removed deprecated methods in Falcon
Change-Id: I535d19de70da0352ffb9c2a897099af57e01287c
2016-06-17 02:25:31 +00:00
Deepa Vaddireddy
0c49b607a1 Fix for JIRA ONOS-4620. Whenever networkconfiguration is deleted even the queued will be removed
Change-Id: I8d7f1a873af90cf86ea34f1a2b1585ef4c3e46e4
2016-06-16 20:47:56 +00:00
Sho SHIMIZU
637ae5d013 ONOS-4690: containsKey() in TransactionalMap
Change-Id: I13a5eea3871a9a6cc5f808b662584d1892ff19bd
2016-06-16 16:49:34 +00:00
Hyunsun Moon
1251e19d7a Refactored bridge config to take bridge description
OVSDB provides lots of bridge configuration options but the exisisting
bridge config implementation only allows some of them by overloading
addBridge method. Also some of the bridge properties were set static
and unable to configure. This patch fixes these limitations.

- Added some bridge config options to the bridge description
- Deprecated multiple overloaded addBridge methods
- Some code clean up

Change-Id: Ibc828177b210bd4b215aea0b63cc359776c13e03
2016-06-16 07:52:07 +00:00
Brian O'Connor
1b2aea88c0 Removing gratuitous relativePath from pom.xmls
The default value for relativePath is: ../pom.xml

Change-Id: I1f5e5e6bfa1e91fcddae4f8cb8ab0c00c276e6b0
2016-06-16 07:05:31 +00:00
Madan Jampani
6c02d9e1f5 New ApplicationStore that uses a single ConsistentMap to track all app related state
Change-Id: Ieacc97f213add8ece8f462cd9971fb6ef3d0dde5
2016-06-16 05:52:12 +00:00
Carmelo Cascone
17fc9e41df Major refactoring of the BMv2 protocol module (onos1.6 cherry-pick)
- Created 3 separate sub-modules: API (doesn't depend on
    Thrift), CTL (depends on Thrift), THRIFT-API (to generate Thrift
    sources)
- Implemented 2 new services (for device configuration swapping and
    table entry management) needed to distribute BMv2-specific state
    among ONOS instances.
- Implemented a BMv2 controller (previously other modules where
    using separately a Thrift client and a server)
- Added a default BMv2 JSON configuration (default.json) and interpreter
    to be used for devices that connect for the first time to ONOS.
    This allows for basic services to work (i.e. LLDP link discovery,
    ARP proxy. etc.).
- Changed behavior of the flow rule translator and extension selector,
    now it allows extension to specify only some of the match parameters
    (before extension selectors were expected to describe the whole
    match key, i.e. all fields)
- Various renaming to better represent the API
- Various java doc fixes / improvements

Change-Id: Ida4b5e546b0def97c3552a6c05f7bce76fd32c28
2016-06-16 00:47:42 +00:00
Thomas Vachuska
d27097cc32 ONOS-4604 Fixed flow objective installation
Removed context from objective toString methods.
Removed duplicate flow objective delegate notifications in the store for next objectives.
Synchronized queueing of forwarding objectives for pending next objectives to avoid notifications race.
Changed logging for better readability.

Change-Id: Ic2bd411a891ea035a2c5513b24dea5fbd48f187d
2016-06-14 19:43:02 -07:00
Yuta HIGUCHI
839b6edf50 Fixing file permissions
- removing executable bit from .java files

Change-Id: I7e993372e1edf942fefb5aaea2e302b3b2baebd9
2016-06-15 02:22:16 +00:00
Charles Chan
fc5c780fa1 CORD-61 Dynamic XConnect support
- Add new XConnectConfig with unit test
- Gather XConnect features into XConnectHandler
- Introduce ObjectiveError.Type.GROUPREMOVALFAILED
- Rename
    - NetworkConfigEventHandler -> AppConfigHandler
    - XConnectNextObjectiveStoreKey -> XConnectStoreKey
    - Test json file
- Refactor

Change-Id: I8ca3176ed976c71ce9e28b7f3722ce80d49c816f
2016-06-14 15:06:11 -07:00
Sho SHIMIZU
9cc4a241cf Make resource retrieval more efficient when specifing resource type
This resolves ONOS-4666

Change-Id: I9d09b60531ca48b36fc20f43498cda62f1badb8b
2016-06-14 21:17:09 +00:00