878 Commits

Author SHA1 Message Date
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
Michele Santuari
00cc1f794b retry netconf ports discovery
Change-Id: If00ae3caec2a618002b31ab05e082ef97b3b793a
2016-10-17 13:17:14 +00:00
Victor Silva
ff5871b061 OpenFlow: use same timer throughout all component lifetime
Calls to the modified methods (all configuration changes through the
CLI, for example) of OpenFlowDeviceProvider and OpenFlowRuleProvider
cause a switch from executor to another one on PortStatsCollector and
FlowStats collector respectively.

Since these Collectors are constructed with a Timer argument, we might
as well use those timers properly right away.

Change-Id: I32aa8c89d9615ea065e5fd9fd7dfc70da96b9739
2016-10-17 13:03:54 +00:00
Yixiao Chen
5ece00f435 [ONOS-4880][ONOS-5021]IETF TE Topology Provider
The provider introduces IETF TE Topology YANG models and interacts with RESTCONF
client and YMS to provide IETF TE Topology to TE Topology Core subsystem.

This issue implements the interaction with RESTCONF client to obtain network topology
in JSON from south bound.

Change-Id: If203a98db69a516c8b09cb9247724e49a95abe4f
2016-10-11 19:44:37 +00:00
Simon Hunt
1ff090116a Fix incorrect boolean check for lat/long == 0.
Change-Id: I85672b455fb884ecac620b4dc38cddd9b4def8cd
2016-09-28 10:14:47 -07:00
Prince Pereira
141ed81ba3 Fix for ONOS-4803. Issue with of error msg parsing by flood light.
Change-Id: I43b8ce5ab21000670359c76cc24d9a457ff6e125
(cherry picked from commit d258135aa601c66d8395dfc8cd740e4297127741)
2016-09-28 04:31:34 +00:00
sdn
5e935458fe Fix for ONOS-5033 hosts - dynamic or static
Change-Id: I3791370db0037968003abc23c918c63119d2dba2
2016-09-27 17:18:48 +00:00
Jonathan Hart
f353e40e59 Disabling host probing for now because it needs to consider the source of the probes.
Also fixed HostLocationProvider to not learn hosts with broadcast addresses.

ONOS-5317.

Change-Id: Ie94032cca6e488960d7181839882db55dd2da743
(cherry picked from commit 338991e56edd960513451f559fc011f7fb27a1a7)
2016-09-23 17:26:47 +00:00
Charles Chan
5bf536108b Bumping OpenFlowJ version to 0.9.6.onos
OFDPA_MPLS_TYPE experimenter OXM is introduced in 0.9.6.onos

Change-Id: I4acbc98d80cc418b12006059618dcad9311cd277
2016-09-22 20:30:47 +00:00
Victor Silva
7944d14530 OpenFlowDeviceProvider: call modified to properly grab configuration
Call modified() to grab configuration, if it exists. Current
behavior is to ignore previous cfg files and only really change
the property after configuration events.

Co-Authored-By: Thiago Sousa Santos <thiago@waltznetworks.com>

Change-Id: I48408cc77a296f4ed47a026856ca41458c9c62b7
2016-09-20 19:17:57 +00:00
Brian O'Connor
bfc02ecd22 Bumping snapshot version to 1.8.0-SNAPSHOT
Change-Id: I4ca57b277d8ac814b8a10b107d995cb1cc4d499d
2016-09-16 17:41:55 +00:00
sangyun-han
ce4b2aa6c4 Remove repeated license
Change-Id: I6bb5e769d0adf9e5e71e718196afb4356d4c8335
2016-09-16 16:11:53 +00:00
Brian O'Connor
b19fc86f82 Bumping version back to 1.7.0-SNAPSHOT
Change-Id: I1df9d0f12cd7ec7597499d41cacebdbe75899556
2016-09-16 00:12:21 -07:00
Brian O'Connor
338bc0cf19 Bumping pom versions to 1.7.0-rc2 and fixing some maven issues
Change-Id: I6169420328333d0916452aa92efbfa961d72e9c4
2016-09-16 00:11:45 -07:00
Brian O'Connor
0a33421f3b removing unused dependency
Change-Id: Icce596a2a6c07f56566e8c098a4551a29e1af62a
2016-09-16 06:49:16 +00:00
Brian O'Connor
0a4e6742b8 Copyright update
Change-Id: I534d938da3820f6fb814aed3bb4a0855fa41ddd5
2016-09-16 06:48:34 +00:00
Ray Milkey
3188c9b733 Fix NPE if flowSpecCapability is not specified
Change-Id: Iac5958cdbcd495f3b661771628de429eb2a07556
2016-09-15 03:28:32 +00:00
sdn
94b001597a Fix for ONOS-5034
Change-Id: I61158511680851be375b93c365fc32c0573e9edc
2016-09-12 23:18:32 +00:00
Jonathan Hart
66da814510 Change order of openflow app dependencies.
Fixes ONOS-5196 where flows for packet requests weren't removed on deactivate
because the device provider deactivated before the others and the flows
could no longer be removed from the flow store.

Change-Id: I79445f5048b21c10e49d4f30d33a5b5a267a9afc
2016-09-02 22:10:50 +00:00
Sho SHIMIZU
ac54c70e86 Remove unnecessary semicolon
Change-Id: I81a5aa229252ee96ced23465f56f10d3148620cc
2016-09-01 14:32:06 -07:00
Avantika-Huawei
9e848e8717 Move PCE label handling from APP to protocol.
Change-Id: I26ae21b27ac2dc9ae3302030f6860e0e371c342c
2016-09-01 11:37:25 +00:00
Ray Milkey
3c4124a97e Fix ConcorrentModifcationException in statistics map
Change-Id: I46746afccb0d49277d365589fa7ae550b7c2acb1
2016-08-31 20:41:21 +00:00
Murat Parlakisik
c6759e80bd ONOS-4374 Enable installing flows with hard_timeout
Change-Id: I4e60e93aad44c7e8f8913fa4dd3ed5a2565d7034
2016-08-30 17:46:55 +00:00
Jonathan Hart
38feb6eddc Revert "Fix for ONOS-5032 and ONOS-5034"
This reverts commit 50ad080683317df192a0f7159d9902dc1c403ed2.

Change-Id: Id2f9924a28c18686b4be30200244dbd0c975e90a
2016-08-29 23:16:45 +00:00
Sho SHIMIZU
c218bfaa7c Check equality of String with equals(), not "=="
Change-Id: I0113edf6161d97578b2f21c3db21c7bcbd8fdce6
2016-08-29 11:07:55 -07:00
Deepa Vaddireddy
50ad080683 Fix for ONOS-5032 and ONOS-5034
Change-Id: Ib964252dd05754ce7069a7a82ccb1d1c29bfa978
2016-08-26 03:22:47 -07:00
Victor Silva
94fa13ed46 [ONOS-5166] GroupModBuilder: no longer ignore weights
We provide an interface for assigning weights to buckets
in a group and thus we should not silently ignore it.
Properly set bucket weight to bucket.weight().

Change-Id: I7dce89e793140ee365a016f4bf26f0ccf206b8dd
2016-08-24 15:15:16 -03:00
Kavitha Alagesan
6704df3767 Fix for ONOS-4877
Change-Id: Ibdb6dfea672c0900fd3d8dea0441c55c23940f81
(cherry picked from commit 6683c2fcdc6659f2bd481a4536cb6f36fbe3a152)
2016-08-23 05:07:50 +00:00
Thomas Vachuska
586bc4f764 Fixed a potential NPE in link discovery.
Change-Id: I3bff307e54a1e3bdac1053dfea6e96ae3cd29f07
2016-08-19 20:31:08 +00:00
Sho SHIMIZU
1375cfe976 Simplify boolean expression
Change-Id: If0f8d497ac927bdd007292e45f0e394c207163d2
2016-08-19 20:03:35 +00:00
Sho SHIMIZU
f204ff7561 Remove unnecessary return in void method
Change-Id: I4863119ae13587f4d7fc60e55094c9d8d701c4e7
2016-08-19 18:41:53 +00:00
Sho SHIMIZU
9efeb81a80 Remove final modifier because of private method
Change-Id: Ia3678bb5ebe7a1719efade734f3212d16d68e38f
2016-08-19 16:34:53 +00:00
Sho SHIMIZU
ca5969409d Remove unnecessary String constructor call
Change-Id: I559e270b38f3f9d7e1cdb5544ca6c9d3e73100d4
2016-08-19 03:22:41 +00:00
helenyrwu
89470f1d99 Group event indicating failover of previously used live port
Change-Id: I32749b38d5e4fab93fa97bbf6587bd0dc91db88c
2016-08-18 16:56:47 +00:00
Yuta HIGUCHI
0de4ba9401 Remove duplicate version specifications
Change-Id: I0fe6027e66815ab2e7db5e090dd5aea39b3c36e1
2016-08-18 15:59:50 +00:00
Hyunsun Moon
0b59e19a36 Fixed OVSDB dependencies
Change-Id: I252f44e7defd58d2714c9f6c00e6cfcd54c1a06e
2016-08-11 21:55:28 +00:00
Prince Pereira
788797ef87 Fix for BAD-ACTION ONOS-4688 , BAD-MATCH ONOS-4755 and other flow-mod errors.
Change-Id: Icf1a4883da50354bcebdad4c1a9693285d4cf8b4
(cherry picked from commit aaff2927f0c4d67406d4694ca9ddc26c10df71d8)
2016-08-11 16:21:43 +00:00
Jimmy Yan
a010ebc099 Bump up openflowj version to 0.9.5 in features.xml files
Change-Id: Iefeee8771fcbc0a35c6cdc2e128802f324f572d6
2016-08-10 19:46:46 +00:00
Sho SHIMIZU
a09e1bbdbd Use Collection#forEach() instead of Stream#forEach() for simplicity
Change-Id: I0a1aea4bdb5d305c50273e6ff749fe71bd2a295a
2016-08-09 17:44:13 +00:00
Sho SHIMIZU
ef835c9d46 Make ResourceService API more flexible in parameter
Change-Id: Ic8b803cc6ae3b2798de525bfd6545ac5c57e8fdd
2016-08-09 00:17:51 +00:00
Michele Santuari
358f30e6ee add buck file for netconf alarm
Change-Id: Ibdb4f3df1e0edae20507453e23ac24c5aa2e5e02
2016-08-08 23:43:19 +00:00
Michele Santuari
208b1675d9 Polling link provider
The provider is capable of polling the environment using the
    device driver behaviour (LinkDiscovery)

Change-Id: Ia09f866299d38c4de9b13201c9cf63b03909164a
2016-08-08 23:16:43 +00:00
Konstantinos Kanonakis
4d67dd86cc Making NetconfDeviceProvider try to get actual device description from device in checkAndUpdateDevice()
- Getting device description only if controller is currently Master for device

Change-Id: I870b2f19fd5e09e198e2c73bcabf9869504f2c94
2016-08-05 22:42:52 +00:00
Yuta HIGUCHI
c7f35cfe24 Move optical-model dependency to openflow-base
- move optical dependency from openflow meta app to openflow-base

Change-Id: Ibbfdb88b252dd77e103eec7d776f4fde9b33bcab
2016-08-04 00:41:19 +00:00
Yuta HIGUCHI
1d547bf406 [ONOS-4513] decouple optical-model from CLI
- core/cli is now optical-model clean
- Add command for pretty printing optical-ports

Change-Id: I2926ef6d52971d1a7f6642dfe4098d7ed2422363
2016-08-03 18:54:55 +00:00
HIGUCHI Yuta
f3ead25267 [ONOS-4513] Slice optical-model into separate bundle (1/3)
- net and cli bundle has dependency to optical-model bundle,
  which should be removed in the longer run. (ONOS-4626)

Change-Id: Ieff43ef2002ee21f4578a6e2a729cd35ce3eae3d
2016-08-03 18:54:13 +00:00
sangyun-han
07a572fc94 [ONOS-4668] Refactoring port statistic collector using SharedExecutor
- Add OpenFlowSwitchAdapter

Change-Id: I7bd9c61d8961bee18eca2c1ac0e5fca610e166e5
2016-08-03 04:02:12 +00:00
Jonathan Hart
bbac354990 Fixing drivers & providers Buck app builds
Change-Id: I6a02a68568037eca0a0b82ad4f83ff18bfeada5f
2016-08-02 17:38:19 +00:00
Jonathan Hart
bdfb5cb428 Fix cpman Buck build
Change-Id: I08d6db71a4e78a5528377cc4489decaa5b763248
2016-08-01 13:59:49 -07: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