1738 Commits

Author SHA1 Message Date
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
Saurav Das
b5c236e2eb In this commit:
Bug fix when optimized SR re-routing fails, do full re-route
   Bug fix filtering objectives should be called for new device even if there is an existing grouphandler
   Bug fix NPE in ofdpa driver due to null check on the wrong variable
   New cli command for debugging flow-objectives for pending next-objectives
   Flow objective cli commands now start with "obj-"

Change-Id: I819f82d1d67769cb9fbbde60f099d29b8e7f7c9e
2016-06-14 21:08:22 +00:00
Jayasree Ghosh
3684dc7c5c ONOS-4635:Fix Issue with add flows using flowobjective-forward REST API with incorrect priority
Change-Id: I929918b61aec83c2dc2cdca456dfdb1d2d736c01
2016-06-14 11:54:43 -07:00
Jian Li
11260a0192 Try to use ModMplsHeaderInstruction and ModVlanHeaderInstruction
Change-Id: I0b486907ef718a6dfa3e92696397fe5a7e851aed
2016-06-13 15:46:14 +00:00
Kavitha Alagesan
14dc5136c2 Fix for the Issue - flow rules greater than max-priority ONOS-4613 .
Change-Id: I8870eb5f8840ed2f04cfac3b5c70d6bd7f249a1d
2016-06-13 13:52:38 +00:00
Brian Stanke
8e9f8d1510 ONOS-2184 - Adding VirtualNetworkTopologyService using Virtual networks.
Change-Id: Ib7071314b49e23dc67459f70e7ca345f8a97db4e
2016-06-09 17:10:35 +00:00
Ray Milkey
e022ef6c14 Unit tests to be sure drivers will load
Change-Id: I95cd5c7ffa52727cab409541b7dd0e6d5a8d0bd4
2016-06-08 23:01:34 +00:00
Jonathan Hart
54b83e8996 Improve network config validation errors to show which fields are invalid.
Previously, uploading invalid config results in a generic error message
which makes it difficult to figure out what is wrong with the config

Change-Id: I307d2fc0669679b067389c722556eef3aae098b9
2016-06-08 13:47:45 -07:00
David K. Bainbridge
ae06fc4cbd ONOS-4674 - update the version parsing to treat everything after the last separator as a single value
Change-Id: Ie4deac82c4e08eb7fccb12df7c2687a1adead889
2016-06-08 08:43:42 -07:00
HIGUCHI Yuta
cc10558d5c Bugfix: OpticalPortOperator should be able to overwrite port number.
- bug introduced in ONOS-3503.
- added exact equality comparison method to PortNumber
- removed null PortNumber case handling test

Change-Id: I6d1f191b5a64b79426de9d80cffadd6c9de96d56
(cherry picked from commit fdb82fa496ba319fbff49e56956377dcc1c71d5f)
2016-06-07 20:55:36 +00:00