3094 Commits

Author SHA1 Message Date
Sho SHIMIZU
e7db6149b4 Register the root resoruce path
The root resource path must be registered before use of ResourceService

Change-Id: I9739522dd28300c27e209f2c88c937537f6a110e
2015-11-06 23:53:11 +00:00
Saurav Das
4f98008c10 CORD-48 Added support for broadcast next objective in OFDPA driver.
Changed groupid to show in hex for cli command 'groups'

Change-Id: I86474912a9fd775c36d5bc49545eaa58ecc46b47
2015-11-06 23:41:10 +00:00
Sho SHIMIZU
364cbacee8 Make the old resource APIs deprecated
Change-Id: Ib3158f3f363c928353f6ef82aac98a8e4e589953
2015-11-06 23:39:06 +00:00
David K. Bainbridge
34cc1025ac ONOS-3325 - enable configuration of local IP via environment variables
Change-Id: Ia8df1c126a76c8060e869554316593598dc5ec3e
2015-11-06 23:28:05 +00:00
Sho SHIMIZU
0b9c46889f Remove dependency on LinkResourceService from ObjectiveTracker
This resolves ONOS-3262.

Change-Id: I57b51b9d8ef1ed2d847ecddeca279b8afdb8725e
2015-11-06 11:25:45 -08:00
Sho SHIMIZU
fa62b475da Implement event notification of resource event
When a resource is registered or unregistered, a resource event is notified

Change-Id: I40e66761966ef2126366424a14bb3193fc850e5a
2015-11-06 11:25:37 -08:00
HIGUCHI Yuta
ca9cc8e28e Avoid use of Objects.hash when there's only 1 params
- directly call #hashCode() when hashed Object seems non-null
- replace with Objects.hashCode(Object) when Nullable
- replace with Long.hashCode(long), etc. when primitive

Change-Id: I08c24ebbe94cf4162d1491209a14baf953163e41
2015-11-05 21:47:59 +00:00
Sho SHIMIZU
3e255b1b73 Remove misleading todo comment
This patch relates to ONOS-3279.

Change-Id: I58d758dafa6e04fca0979d9a478078b03f51b5a1
2015-11-05 16:39:18 +00:00
Thomas Vachuska
c65dd7198e ONOS-3321 Added ability for applications to register a deactivation hook.
Change-Id: I284321474dbf9e39e8b61f7b907f637ba6b80aaf
2015-11-04 17:26:58 -08:00
Simon Hunt
cd1502725f ONOS-3320: PropertyPanelTest fails in non-English locale.
- Added formatter() instance method that can be overridden by unit test.

Change-Id: I38ee045edee852c95e27bead46800fb5dad4cf88
2015-11-05 00:04:57 +00:00
Sho SHIMIZU
f1a6279ea0 Enable ResourceRegistrar
Change-Id: I23b1c33ada224f302e08c0f6e8dfa7264048e19b
2015-11-04 21:12:07 +00:00
Sho SHIMIZU
1e0a34cea7 Fix bug that true is always returned even in failure cases
Additionally, remove catch block handling TransactionException, which
doesn't have to be caught in user side any more.

Change-Id: I359b50dbe0e1074a2bc4c8850459cb4463669aa8
2015-11-03 23:10:10 +00:00
Steffen Gebert
ba2d3b7871 Implement OFActionEnqueue (OpenFlow 1.0 only)
Realize the QUEUE Treatment using OpenFlow 1.0 Enqueue action.

The ConnectivityIntentCommand's --setQueue parameter is extended by a notion of
<port>/<queue> to support the difference from OpenFlow 1.3 Set-Queue, which is
not bound to a port.

Change-Id: I28cf70a7c004a1a3a14361e5186cfe42f09f1356
2015-11-03 22:55:40 +00:00
Sho SHIMIZU
d936b42182 Change the return type of commit() to indicate the result
Change-Id: I4658a89fb0a496baa929579ab7800d00e842d685
2015-11-03 18:54:28 +00:00
alshabib
dc5d8bd75d fixing bug that would not let device come back online
Change-Id: Ie2cc9c35159320d5abab0b38984baecc2928b00e
2015-11-03 00:58:25 +00:00
Jonathan Hart
3c25916dff Generic extensions to the treatment API to support protocol extensions like
OF experimenter actions.

Change-Id: I88cc5896d17fdbf89807f911f9c23e4f19f6a5ad
2015-11-02 22:02:11 +00:00
Ray Milkey
ccda0b5dc7 Enable checkstyle rule to enforce package-info.java files
Change-Id: If837601380e4950b46ad1332bd3c20ef59cc216e
2015-10-30 17:21:08 -07:00
Sho SHIMIZU
f26e692cf3 Remove dependency on LinkResourceService from MplsPathIntentCompiler
In addition, revise test to make the situation more realistic

Change-Id: If23648b77f2eddbe27873711dab3b196a4a2729d
2015-10-30 17:26:57 +00:00
Sho SHIMIZU
cc0e65dbb0 Move MPLS label selection logic to MplsPathIntentCompiler
Change-Id: I2c64ca2a6ac363a0138e6940471893673ce3b83f
2015-10-30 15:48:58 +00:00
Ayaka Koshibe
144bab0c35 opticalUtils advertises correct port types
This should proactively prevent linc-OE from misbehaving if support for changing
port type through the network config system is added.

Change-Id: I80667f0292922eca37a51f3e461b6745ecbf9d46
2015-10-30 05:58:44 +00:00
Sho SHIMIZU
81cdc395b7 Make MPLS label request specifiable for a particular MPLS label
Change-Id: I4626229040c61e927a468ab5c486a907af0108ae
2015-10-29 22:47:47 +00:00
Sho SHIMIZU
36163f94bb Make LinkResourceService deprecated
Change-Id: Iff92b25f51b9b1d8da4e8ed869afc51e5048d978
2015-10-29 22:47:08 +00:00
HIGUCHI Yuta
501c465c04 Add DataRateUnit to help specifying Bandwidth.
Change-Id: I2b83922d98cab5571408b920a89bb8b704934255
2015-10-29 22:39:44 +00:00
Sho SHIMIZU
7f44cfc47d Remove dependency on LinkResourceService from optical intent compiler
Change-Id: I1fae0a33817de973676a02cf40d4bb378aac0460
2015-10-29 22:16:47 +00:00
Sho SHIMIZU
4a503af8c5 Add a missing field to show it in toString()
Change-Id: Ie2d4a2c37319fe60914d8e8a270f6b420e8df06e
2015-10-29 14:45:16 -07:00
Charles Chan
c42e84e5b2 [CORD-46] Create a broadcast group for each subnet
DONE
- Expose subnet-to-ports information from DeviceProperties and DeviceConfiguration
- Create subnetNextObjectiveStore to store <DeviceId, IpPrefix> to nextId mapping
- Implement broadcast NextObjective in SpringOpenTTP
      Use ALL group type to achieve broadcast

TODO (not in this submission)
- Push ARP table for a host when its location is learned
- Push default ARP table miss rule. Action = to the broadcast group

Change-Id: I2de28095e85289e75af3fc7a02c811b270b342ad
2015-10-29 21:16:45 +00:00
Sho SHIMIZU
c25a00860a Move wavelength selection logic to OpticalConnectivityIntentCompiler
Now, LinkResourceManager doesn't have a logic to select lambda(s)

Change-Id: I008d770f4f142f3d67afa734e50bd8761a0aafd2
2015-10-29 17:09:16 +00:00
Madan Jampani
fcc49c5467 Remove mapdb dependency from core api pom
Change-Id: Idab32efc1c2f627949a8476bbbcc910323e6f8ff
2015-10-29 16:49:09 +00:00
Sho SHIMIZU
e7f4f3f1c3 Define and implement a method to query available resources
Change-Id: I49fbcdf215e402603ea15f469d41e572f1cce1c6
2015-10-29 09:01:54 -07:00
Ray Milkey
f64cf414e6 Javadoc fixes
Change-Id: I63c3f127bbe6fef94096c46a60b057d65b69a10e
2015-10-28 16:17:30 -07:00
Hyunsun Moon
aab8c67058 CORD-223 Added ovsdb driver methods for bridge and tunnel interface creation
Change-Id: Ida80a4ef5b66cebb83b2629054c68a3546526d23
2015-10-28 21:50:42 +00:00
Sho SHIMIZU
9a2b82960b Enable new resource APIs and re-enable optical intent compilers
Change-Id: I8fb0b20be342e123a1bfe4cc61577dfddbbf9332
2015-10-28 21:05:22 +00:00
HIGUCHI Yuta
584107a683 ONOS-3224 HostToHostIntent should have implicit non-OPTICAL constraint
Change-Id: Ibd6214e9b12199f56f0761cfdaa1eb45a600eb1c
2015-10-28 19:56:24 +00:00
Yafit Hadar
5796d97985 REST API related implemetations for ODU SIGID and SIGTYPE Fields in Flow Criteria and Instruction
Change-Id: I78ddc162409d377b8c55e7f8eedd9a91939ab277
2015-10-28 18:30:28 +00:00
Sho SHIMIZU
a06767890d Refactor: Revise implemtation of getAvailableLambdas()
Change-Id: Ief731b9c3b9899819ad26549ecab936d14cad74a
2015-10-28 18:05:08 +00:00
Sho SHIMIZU
6603a85091 Fix indent
Change-Id: I2b54e8f9a95b41959b952d3c1414783843b84ac0
2015-10-28 18:04:09 +00:00
Charles Chan
ad3b550f5f [ONOS-1264] Add IPv6 unit test for ProxyArpManager
Change-Id: I1d4ec1f06508bd1bf1d54b299b0ae4ac1d5482d9
2015-10-28 17:46:07 +00:00
Simon Hunt
4a6b54b1cd ONOS-3129 : GUI Intents to Topo :: part 2 - pushing data through topo view and having the intent path show up.
Change-Id: Ie626a46e189d2b704d683e0f58762a68cd3d3a7d
2015-10-28 17:44:11 +00:00
Saurav Das
88f4c84497 Added a TrafficTreatment to the filtering objective to cover those
pipelines where the filtering action is accompanied by a corresponding
change to the permitted packet. Fixed Filtering Objective javadocs.

Change-Id: I7f3c1a1a3553c0fdbfe5e7e48c6426cde1602efd
2015-10-28 14:57:20 +00:00
Saurav Das
a002972f68 Removed unnecessary unused interface.
Change-Id: Icb4a848ce790644a0c8695747f3777f1e0190eda
2015-10-27 20:59:20 +00:00
Simon Hunt
e2b6a2bab6 Fix for ONOS-3220 : Implement Comparable on intent Key.
Change-Id: Ibba4a972d2e3a82b5bf9256893a82501236021cb
2015-10-27 19:11:16 +00:00
Ray Milkey
e3026a4eb4 Fixes for Javadoc errors
Change-Id: Icf8fa2918faf071407e33c1fecc2ebac817cc817
2015-10-27 18:23:12 +00:00
Jonathan Hart
4bb4b056b8 Moved persistence tests to correct directory so they are not part of runtime bundle
Change-Id: Iae5d4d4b48c15873ff77c2fd6be9d1d2fcaea5a2
2015-10-26 18:10:56 -07:00
Aaron Kruglikov
92511f22a0 Creating persistence service.
Change-Id: Ib78b4001a24c71b4096e5a2a446dbd5009aa1090
2015-10-26 21:48:30 +00:00
David K. Bainbridge
e676dabe61 added equality functions that do a deep content check
Change-Id: Ibc64373587622fa6911d18e21d1695577cc36301
2015-10-26 18:25:23 +00:00
Simon Hunt
de99e0b339 GUI Topo -- Badges - Enhanced uitopo archetype to also use badges.
Change-Id: I80cd4783a4154a2ccce6054175022b97ef7bc6c1
2015-10-26 16:30:02 +00:00
Ray Milkey
8f7feed4a4 Unit tests to improve coverage
- DefaultPacketRequest
- PacketEventTest
- PacketProcessor

Change-Id: I86d1416f808ebc901ed84204f2e772dc25f9eb58
2015-10-26 16:20:25 +00:00
Madan Jampani
ec1df02f3e In preparation for dynamic clustering support:
- Added Cluster metadata service and metadata store interfaces
- Added a static cluster metadata store implementation that is backed by a local file.
- Consolidated the existing cluster.json and tablets.json metadata files into a single cluster.json file that has all the cluster related metadata.
- Removed dependency on ONOS_NIC env variable.

Change-Id: Ia0a8bb69740caecdcdde71a9408be37c56ae2504
2015-10-23 17:51:08 +00:00
Jonathan Hart
3e594649d5 Change OLT app to push Q-in-Q tagging flows rather than transparent VLAN flows.
Device VLAN is set through configuration, subscriber VLAN can be added using
CLI (eventually this will come through a call from the AAA app).

Moving towards generalizing this app as an 'Access Device' app rather than purely OLT.

Change-Id: I9b82b39f6a2dee2c6f10f3fd13b261f3e0313db7
2015-10-22 18:48:19 +00:00
Simon Hunt
13cc0835fc GUI Topo -- Added missing glyphs
Change-Id: I5895b86248bc084c9e71c52cdb6161ae5b736e4a
2015-10-22 09:23:32 -07:00