3637 Commits

Author SHA1 Message Date
Yuta HIGUCHI
b440ef46cb EdgeManager fixes
- Edge point update should be triggered based on TopologyEvent.
  {Device, Link}Event can be triggered before TopologyEvent,
  which will result in use of the outdated Topology to determine
  if the port is an edge port leading to incorrect edge port set.
  (ONOS-4896)
- Ports on Edge Link should not be considered part of infrastructure,
  should be candidate for Edge point.

Change-Id: I7d69cc242ba7849996c1105ccd1956975db63480
2016-07-18 20:50:52 +00:00
Ray Milkey
1bce6fbc32 Fix NPE on shutdown if providers are already gone
Change-Id: I019786f26a589a5b82b72f736fa2d148571ea274
2016-07-18 18:58:10 +00: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
Ray Milkey
9ef2223bc1 Fix STC crashes due to devices not found
Change-Id: I23f17b125498fbc5a615498815f862b3544bea34
2016-07-14 22:22:17 +00:00
Madan Jampani
222229ea85 Removed usage of deprecated method
Change-Id: I896fd7db68a0c86893423548bc0a3489ac42ac77
2016-07-14 21:14:40 +00:00
Madan Jampani
ed969bac22 Fix logic that checks if the request tracking ConsistentMap was updated
Change-Id: I0f7c6e8b9ee89ab8209e36b6933345375dabf477
2016-07-14 21:14:07 +00:00
Thomas Vachuska
9514836c8b Fixed an NPE due to a race condition while processing pending network configurations on multiple nodes concurrently.
Change-Id: I4a37adc8d059f63115517dbe628233d1fd295d02
2016-07-13 21:52:18 +00:00
Madan Jampani
0583387a45 Implementation of Hybrid Logical Clock Service.
Change-Id: I52e231433d044f9e6156db7e28bde9fd199118e8
2016-07-13 21:51:37 +00:00
Kavitha Alagesan
df352c6dda Fix for the ONOS-4836
Change-Id: Iedf597bb79f27ca7834e85fc445ebd5736c852a7
2016-07-13 18:37:18 +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
Madan Jampani
80d2e97135 Fix AtomixConsistentMap::computeIf behavior to throw a ConcurrentModificationException when update races are detected
Change-Id: I6d2ab6b9864649e89156660949160261c511058a
2016-07-13 00:35:44 +00:00
Aaron Kruglikov
a1801aa54e Changing distributed primitive names to follow standard naming.
Change-Id: I9065584ced95fbb0a1920ba60226548729276cab
2016-07-12 15:17:30 -07:00
Aaron Kruglikov
b56c29619a Adding commands for the AsyncConsistentTreeMap, commands relating to transactions are temporarily removed.
Change-Id: Iec5b972fb9de2dbfdfbe315b330778139ba92c90
2016-07-12 11:59:09 -07:00
Yuta HIGUCHI
b6225b59b1 Bump MapDB version to final 1.x release version.
http://www.mapdb.org/changelog-archive/

Change-Id: I6d55f4090539b69dd24b1aa7cb822e0d1bd8873f
2016-07-12 16:08:31 +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
Ray Milkey
3880928b6f STC stacktrace fixes
- Shut down openflow meta app before driver test,
  was causing port collision issues with openflow server

- Fixed NPE in Network config store

- reordered tests to insure proper sequencing

Change-Id: Ib39330153f543ee960b8631a0dc9246ee4251851
2016-07-08 10:04:45 -07:00
Aaron Kruglikov
6afeccd9f9 Changing sever timeouts to reduce test failures.
Change-Id: Idf18e5309a5a14a4dcf51952a2d736035cc95975
2016-07-07 20:21:22 +00:00
Sho SHIMIZU
8f4f7afc9f Improve test coverage
Change-Id: If5b263f3b5a71463e93f1de2fc90edaef95df2b3
2016-07-07 17:38:35 +00:00
Yuta HIGUCHI
6237cfc1e8 Add method to create LinkKey for LinkDescription
Change-Id: Iaf8854d349ecd89ae901b76a38f173512eaacb63
2016-07-07 17:31:36 +00:00
Sho SHIMIZU
81416d0b17 Improve test coverage
Change-Id: I12d6827c644f45189f3a5929a8c1837aa112bdb9
2016-07-07 17:27:49 +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
Sho SHIMIZU
709a17930d Improve test coverage
Change-Id: I7c9c64eed96ce8e2fc9943834d0c5b7a60686926
2016-07-06 14:34:03 -07:00
Brian O'Connor
406e264c5c ONOS-4383 Updating traffic selector for {MP2SP,SP2MP}IntentCompilers
Apply egress action to ingress selector for non-ingress devices

Change-Id: I98b4c591d09cc4b5d0e0ff89eaeac44ba07e6326
2016-07-06 19:05:09 +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
Sho SHIMIZU
99514fbbaa Simplify branch condition
Change-Id: Ib2fe28d74ea520032415a05df809a66a7f33c6e2
2016-07-05 22:35:30 +00:00
Sho SHIMIZU
684701677c Fix bug in releasing a continuous resource
Change-Id: Idcc1faaf0ce9cd7856233dc2107dcc8329e6be94
2016-07-05 20:51:32 +00:00
Claudine Chiu
25f07bea59 ONOS-2184 VirtualHost CLI and REST api's
Change-Id: If0ebe4268f3161a34223eca58e3f1bdbb8d0c9be
2016-07-05 20:49:38 +00:00
Madan Jampani
67fd1e6233 SecurityMode: Ensure store event handling happens in a background thread to avoid deadlocks
Change-Id: Id32b8ab0cf040cf2ed255f3527426f39bc58476c
2016-07-05 19:51:22 +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
Sho SHIMIZU
4920d051d0 Make sure to supply Kryo serializable set to constructor
Change-Id: Ida776fc3e7fbcacb604ae578865f2a280970101c
2016-07-01 18:15:14 +00:00
Madan Jampani
6a2923168e Make CoreEventDispatcher's listener processing time tracking thread-safe
Change-Id: Ib9f109e41fd1b78ce9771a2bb54e8bf3dda38d6c
2016-07-01 18:06:56 +00:00
Frank Wang
e0eb5ce4d0 [ONOS-4789]some services don't remove listener in deactive function
Change-Id: I74c3f4eb14edcd93d06a8838a4205df381c7f678
2016-07-01 17:55:00 +00:00
Sho SHIMIZU
a1a590b921 Fix NoSuchElementException reported in ONOS-4763 and ONOS-4757
Change-Id: I973b6c33f02defac3463b6e53ea177056f1f9714
2016-07-01 17:25:00 +00:00
Sho SHIMIZU
09ed38756d Fix unit tests and bugs of EncodableDiscreteResources
Change-Id: Iea3b39dbdcfabaf23fa7e7ef6cb8a98bfe432081
2016-07-01 16:40:16 +00:00
Aaron Kruglikov
43d843d7b1 Removing tests to avoid build failures.
Change-Id: I1eae3495e9dcc4746a8bbdc5839bbbe21485a522
2016-07-01 16:29:32 +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
Aaron Kruglikov
b5a41e594e Changes to speed up tests.
Change-Id: I1830f564710b9cb06d9c41d31e31854a272fbf4d
2016-06-30 15:24:57 +00:00
Sho SHIMIZU
317b49810c Remove a constructor unnecessary due to the custom serializer
Change-Id: Iac2e46a73b5c6391be201c1fd6b6da2d30abd26f
2016-06-29 23:50:23 +00:00
Jon Hall
1195afbc7f Dynamic Clustering fixes
Addresses [ONOS-4501] and maybe [ONOS-4404]

Change-Id: I2bce2d60106e6887d692de484d22b109678ffd46
2016-06-29 22:35:30 +00:00
Jon Hall
db2cf75d2c Fix for reading remote cluster metadata file
Log exceptions when trying to access metadata file
Close connections opened when checking file availability

Change-Id: Ibe89e66ba52dba1c47b559bb784fd7376a3319f2
2016-06-29 20:43:11 +00:00
Carmelo Cascone
804c0010e3 Added kryo serializer for ImmutableByteSequence
Serialization was failing when the inner ByteBuffer instance was a
HeapByteBuffer. Also, simplified ImmutableByteSequence.toString()

Change-Id: I4f75086a9b6536205fb43b78a0e4d2bfce9e8a5c
2016-06-29 16:26:10 +00: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