1895 Commits

Author SHA1 Message Date
Yuta HIGUCHI
652f27f0fe Inherit Intent Key on compilation
- Added Intent#key() method description
- Inherit key field from parent Intent during Intent
  compilation process
- Added assertion to existing unit tests

Change-Id: Iff85c5ec448b3f378957b7a20af865ad96cc3216
2016-11-21 21:37:09 +00:00
Ray Milkey
85267006aa checkstyle rule to check copyrights
Change-Id: Ia9bab40b5fe64fca539058a4316371f7acc0f387
2016-11-18 18:40:44 +00:00
Luca Prete
092e895f0d Adding Encapsulation in VPLS and correcting bugs.
Change-Id: Idc0c1834ae2bbd0fdaf564fd65360cc0f018d18d
2016-11-18 18:38:23 +00:00
Pier Ventre
ffe88d6de1 [ONOS-4595] Harmonize the sb of the Intent Framework
Changes:
- Moves PointToPointIntent to LinkCollectionIntent;
- Moves PointToPointIntent to the new FilteredConnectPoint API;
- Updates unit tests;

Change-Id: Iade5090b9289c5b2d9f4ee41aa0d2d01b5e3699c
2016-11-18 17:58:27 +00:00
Pier Ventre
81c47bfe1c Fixes [ONOS-5415] and [ONOS-5491]
Changes:
- Introduces ordering between core ports and egress ports;
- Introduces ordering between egress ports;
- Introduces ttl_in and tll_out in the link collection compiler logic;
- Optimized push/pop mpls/vlan actions;
- Optimizes dec ttl related actions;
- Optimizes ttl_in and ttl_out actions;
- Makes the optimizations configurable;

Change-Id: I60f187031e89c366ec9c79d1652a5fb0da96c206
2016-11-18 03:21:39 +00:00
Pier Ventre
766995d7ff [ONOS-5239] Adds encapsulation to LinkCollectionIntent
Changes:
- Adds encapsulation to LinkCollectionIntent;
- Cleans the code and adds comments;
- fixes ethertype issue for mplsPop
- Adds unit tests;

Change-Id: I4398426e73c5a9dd085689cb56162bd2c3b8f5af
2016-11-18 03:14:10 +00:00
Simon Hunt
d0fa284190 Layout and Region configs.
- Listen for topo-layout config changes.
- Augmenting UiTopoLayout to include fields for geomap/sprite, scale/offset

Change-Id: I2b1f747f41d39b64b0a1a53946c4cbd5750db9e5
2016-11-17 18:02:35 +00:00
Brian O'Connor
382243012a ONOS-4858 Resubmit pending intents with same timestamp
This will avoid needless recomputation if the intent processing is delayed.

Change-Id: I851c4ce65271a250da89f919886a3f26a774d20c
2016-11-16 17:07:01 -08:00
Jordi Ortiz
75f5fb91c5 MAX value positive, check value only in public constructor.
The max value originated a negative value.

Change-Id: I00ba9168e42edcf4ebb3f689151089097d9b69a7
2016-11-15 23:46:07 +00:00
Jonathan Hart
584ea2d587 Unit tests for Neighbour Resolution Service.
This patch involves a refactoring to split the neighbour actions
implementation out from the main NeighbourResolutionManager class.

ONOS-5276

Change-Id: I082b401ae9046a1ed983610af05da112bd2683d3
2016-11-15 18:21:42 +00:00
Yuta HIGUCHI
37dca33267 Exclude alien Port from Edge ports
- Remote end of inter-domain link can contain Port
  not managed by local cluster. Exclude them.

Change-Id: I74cd705d98d16ffefd14242ac273272bb1e6677d
2016-11-15 17:57:48 +00:00
Yuta HIGUCHI
22ba76dd99 Minor improvement dealing with Port
- include annotations in DefaultPort#toString()
- add method to retrieve a Port using ConnectPoint

Change-Id: I75f24e53235f46fa8deeb62b55bec2ecafae907c
2016-11-14 20:21:43 -08:00
Pier Ventre
6f63005f9f [CORD-545] Adds OVID support in ONOS core
Change-Id: Ib0c195825e86c245e626a11b0eac5d7003b561b0
2016-11-11 23:26:57 +00:00
Yuta HIGUCHI
8e46acf783 Config utility class for JSON handling.
- Config class, which can also be used as CodecContext
  to easily deal with ONOS related JSON Strings

Change-Id: Ie6930f892d214b27725d98580c4ff83098e1c9ca
2016-11-11 10:54:53 -08:00
Author Name
e252a00e39 Implementation for ONOS-5327. Creating rest api for finding intent statistics.
Change-Id: Ic7facfe1507f8ce8507df0940d2c0bb8b62781be
(cherry picked from commit 5dd3d174e477528a05b0ead429bb629f46e4eb44)
2016-11-11 16:22:08 +00:00
Michele Santuari
576f09cf9f netconf provider basic unitest and fix ONOS-5532
Change-Id: I31f31ae5bea580d0cd5ee05bf88339002ea741fc
2016-11-11 16:19:37 +00:00
Ray Milkey
ef79434ff7 Fix Javadoc warnings
Change-Id: Ia5fe7785f76da92abbf940599cbd3d7dc6ac2cc5
2016-11-10 18:42:48 +00:00
chengfan
386620e93d [ONOS-3526]Web UI - Provide a 'Navigate to help page' link or button
Change-Id: I5260e625bb8890b31606dc31b43d4df84bd7eaf4
2016-11-10 18:09:22 +00:00
Simon Hunt
1e20daebb7 Added UI_TYPE annotation key, and augmented BasicDeviceConfig and BasicHostConfig to support defining a custom "uiType" value to override the glyph used in rendering on the Topology View.
Change-Id: I615540419bce6e89e3761ef6ed3b9906be64b266
2016-11-09 18:35:13 +00:00
Yuta HIGUCHI
6cad17936d Add resources to Intent.Builder
Change-Id: I9b1cfd48aebae8de82a1419ab38a3f09488a43a7
2016-11-09 02:14:30 +00:00
Yuta HIGUCHI
776f074b7d JSON Codec for FilteredConnectPoint
Change-Id: I5584361daa4b0753e583d97b201d5fa70e182778
2016-11-07 17:30:08 +00:00
Pier Ventre
f8543d837e Fixes [ONOS-5412] and implements [ONOS-5300]
Changes:
- Adds a new Interface for the selection algorithms;
- Re-implements FirstFit and Random selection;
- Adds a new option to select the algorithm;
- LabelAllocator provides a single interface;
- Fix MPLS encapsulation;

Change-Id: Ib07942355c45b7b9e7093fa85964c2ac20800b60
2016-11-07 17:21:44 +00:00
Konstantinos Kanonakis
9215ff2260 Adding support for VLAN_PUSH with EtherType (incl. Q-in-Q)
- Allowing VLAN_PUSH Instruction to use ethernetType (incl. using REST API)
 - Adding QINQ (0x88a8) Ethernet type
 - Updating InstructionCodec decoders/encoders
 - Updating TrafficTreatment/FlowEntryBuilder

Change-Id: I723cc936a8a49c39da9abe65ba9e5b1bdc1392bf
2016-11-07 16:49:14 +00:00
Simon Hunt
b7fd080f86 Implement host-device synthetic links.
Change-Id: I95ac1b8afd48ca551905a5448347a5fba03ab836
2016-10-27 12:21:56 -07:00
Aaron Kruglikov
61582a00a5 Creating new creators for multimap primitive and a name based getter for treemap primitive.
Change-Id: I981b3f1f8ee01fbdd0677c3eedc3d5024b8bcf1e
2016-10-26 16:50:19 +00:00
Sithara Punnassery
112ed82fa2 ONOS-5552 DocumentTree builder not available
Change-Id: Id0e9e0c647146c27e21e2ec2b2014789bbd9eca9
2016-10-25 18:31:35 +00:00
GUNiNE
9cd4819477 Remove deprecated PushHeaderInstructions, PopVlanInstruction class
Change-Id: I695649582060dc4cf8358a3f8d3676a6d88d142f
2016-10-25 16:39:38 +00:00
sangyun-han
6d33e807cb FIXME: Move to app package
Change-Id: Iac84243d5b4767109d3c375efa36fd67bf9892d0
2016-10-25 16:32:32 +00:00
Ray Milkey
a6b21125bc Improve test coverage for DefaultDeviceDescription
Change-Id: If779ceb26f390fbe6e3ec4302a4c9cb054a21fe2
2016-10-25 16:23:35 +00:00
Simon Hunt
d7395c832b Added UiTopoLayoutId network config to BasicNetworkConfigs.
Change-Id: I3ec54a883e0b79f3cce5e9aff2f7ae7d56cc593e
2016-10-21 21:45:49 +00:00
Charles Chan
cad338a4cb CORD-413 Implement MPLS Termination in OFDPA3 pipeliner
Additionally, this patch includes
- Minor refactoring
- Skip method length checkstyle for FlowEntryBuilder::hasSetField

Change-Id: I7887f454f552a9e346c323524f359929deadf427
2016-10-19 16:55:56 +00:00
Simon Hunt
4f3a407796 ONOS-5411: BasicRegionConfig and BasicUiTopoLayoutConfig.
- added setters to BasicRegionConfig.
- implemented BasicUiTopoLayoutConfig.
- also furnished unit tests.

Change-Id: I965ce5817c7f36b56e634a318989447071130c2a
2016-10-19 00:17:54 +00:00
sangyun-han
b885ed0d74 Change wording to improve clarity
Change-Id: Id13da84f3b6e4e690d793924e2f4b86c9a266d43
2016-10-17 13:12:03 +00:00
Simon Hunt
1bee52920f Partial revert of hosts/regions work to fix NPE with null provider.
Change-Id: I7dacad818ca9ffa2ea8085c499990c8e92644607
2016-10-14 11:19:14 -07:00
Simon Hunt
351282d5fc Revert "Fixing Hosts filtered by RegionId... for topo-2 view."
This reverts commit 4aef6c371a5fd25171ef9ea8faf193d662c5544c.

Change-Id: Ib2959eb73686af2788525710e33f8fc8db78b819
2016-10-14 16:27:48 +00:00
Simon Hunt
4aef6c371a Fixing Hosts filtered by RegionId... for topo-2 view.
Change-Id: I7779edc5e25957e9fcd0203b05942e9122461b13
2016-10-13 19:48:31 -07:00
Simon Hunt
f59d36b054 ONOS-5411: Introduce basic region config.
Change-Id: I3f58e5758d0b350a9e8a03093a1475dbbacfc446
2016-10-13 21:23:57 +00:00
Brian O'Connor
3d59f71a92 getting javadoc to build
Change-Id: I7f214c6ce5a876f458626e12c8cfdd3072ad107f
2016-10-12 14:53:27 -07:00
Sithara Punnassery
589fac2283 ONOS-5318 Proprietary Config Store
Change-Id: Ic787d73d9d541a93f5e957a3369dbab4b5fa9a6c
2016-10-12 20:04:49 +00:00
Konstantinos Kanonakis
c4a9e87e36 Creating L2SwitchVlanConfigBehaviour to manage VLANs on legacy L2 switch devices
- Allows creating/deleting/enabling VLANs on a device as a whole
- Not to be confused with applying VLANs on interfaces (e.g. access/trunk VLANs)

Change-Id: Ib830ecea77cdf882b3f9486fbea23d2acea6b947
2016-10-07 00:01:14 +00:00
Steven Burrows
19e6e4fa6e Implementing region hosts for topology 2
Change-Id: I6d1e45b1152b2387d4ff981dc0666868235eb1c3
2016-10-06 18:24:18 +00:00
Yi Tseng
2a81c9de9e [ONOS-5264] [ONOS-5242] Intents w/ FilteredConnectPoint
Change-Id: Ibe9062c904ad9a6c3ba001fe57be7cec49eb8a4d
2016-10-06 02:27:02 +08:00
Prince Pereira
3ff504c8e8 Fix for ONOS-5175. GroupId refactoring.
Change-Id: I951392bdc69fe1ef694d321164b0b49032617d6b
2016-09-29 16:22:13 +00:00
Prince Pereira
46c82d4d79 Fix for ONOS-291. Highlighting intents in ONOS GUI for selected links.
Change-Id: I757aa40b96d92014fa2d720539da20dd309ec9b1
2016-09-29 10:40:45 +00:00
Brian O'Connor
a78f060013 ONOS-5309 Clearing installables from intent data object on successful uninstallation
Change-Id: Ic77af12f98bc1519efb2e2703223e340aa5b20e4
(cherry picked from commit 24389970b336c3bb2fb883f2aaa87f7b457bde4a)
2016-09-28 21:38:07 +00:00
Frank Wang
72c5e43240 [ONOS-5097]adding group table entry failed
Change-Id: I17fc9f156e1f10800caba2cbc180dac45e97a675
2016-09-28 17:07:37 +00:00
sdn
5e935458fe Fix for ONOS-5033 hosts - dynamic or static
Change-Id: I3791370db0037968003abc23c918c63119d2dba2
2016-09-27 17:18:48 +00:00
Aaron Kruglikov
d77cc111e0 Adding consistent document tree.
Change-Id: I5a70daf3cec7fa83f063bdcb82e1bf38b75419b1
2016-09-23 23:33:08 +00:00
Charles Chan
d5c3b93072 Bugfix: default value is not applied to config correctly
This could further cause NPE somewhere else where a default value is expected

Change-Id: I71c8f87b5e25b6e5445e03527ee82d84ff05086c
2016-09-23 05:51:17 +00:00
Yuta HIGUCHI
852fecd1b6 -
Typo fix

Change-Id: I8651523a35f424dbb18bed838496f1b7ce0f799d
2016-09-22 18:39:25 -07:00