3094 Commits

Author SHA1 Message Date
Jonathan Hart
b14221c357 Add support for reconfiguring interfaces in SDN-IP.
Change-Id: I2ea85d85432e661c3cbdca5e5a8b16678a242369
2016-03-24 21:01:31 +00:00
Sho SHIMIZU
aec0d37dbb Remove constructs deprecated in Emu from old resource API
Change-Id: I384cb924f950e366b2a01f205233ba726dec9eb4
2016-03-24 20:26:02 +00:00
Sho SHIMIZU
f08a83525b Remove methods in the deprecated old resource API
Change-Id: I5ccb8e30fc1a48208f28384d4c444f864ffe9cb7
2016-03-24 19:56:25 +00:00
Sho SHIMIZU
73aae6c62e Remove ResourceId deprecated in Emu
Change-Id: I0b0be22523b3d9f3ded0339d20718a97450f7748
2016-03-24 19:43:16 +00:00
Sho SHIMIZU
25e32ec5e3 Remove constructs deprecated in Emu from old resource API
Change-Id: Ia4fd5d4c45d91b82b78ace18e96512c800adfcd6
2016-03-24 19:29:33 +00:00
Sho SHIMIZU
05b24f8fd1 Remove LinkResourceStore and its implementations
They were deprecated in Emu

Change-Id: I4272c7788bcd74ad7f272392a67b07bde6b09df4
2016-03-24 19:28:38 +00:00
Sho SHIMIZU
94eff80e81 Remove deprecated interface, its implementation and CLIs
Change-Id: Id644a8cd07abd6e0ece6392790943d401a81d180
2016-03-24 19:13:21 +00:00
Sho SHIMIZU
b1681bda10 Remove dependency on LinkResourceService from Constraint
Change-Id: Ib9c488331b22eef6769a767c6186ef7d2e8b1501
2016-03-24 18:23:57 +00:00
Sho SHIMIZU
394918d9f7 Separate resource search from resource allocation
This is a preparation task for the future Intent Framework major
enhancement that aims to consolidate resource allocation invocations
into the Framework side instead of the compiler side.

Declaring required resources and allocating the resources need to be
clearly separated. This patch tries to separate these phases.

Change-Id: Id254fe103803daf60ef2576fb5d717e9faa68c03
2016-03-24 18:22:32 +00:00
Thomas Vachuska
fba7f3d972 ONOS-4137 Adding a "ready" check-mark glyph to the node instances.
Introduced a new INSTANCE_READY type of ClusterEvent.

Change-Id: I7f77ebae56cb18c196cd3ec7f2735faa4ca363db
2016-03-23 23:10:44 +00:00
Michele Santuari
6096acd0d6 Add MPLS encapsulation behaviour ONOS-3467
- MPLS encapsulation using constraint
- New MPLS encapsulation test
- Fix VLAN encapsulation test

Change-Id: I94670bcd51a95a0272f786681e51d6785a56c4f5
2016-03-23 21:45:51 +00:00
Jonathan Hart
b11c4d0ae9 Allow list-type config to be POSTed to subjectkey/subject/configkey endpoint.
Also add validation that the given JSON node is appropriate for the config
type (list vs object).

Change-Id: Ib1c12b538860a6f18b8311c5f5a786608c04beb8
2016-03-23 20:54:02 +00:00
Thomas Vachuska
7a8de847ad Added ability to track whether or not node has all components running fully.
Change-Id: Ib2b90c7a842976a3b3a9711367fa1eed43103b17
2016-03-23 19:10:15 +00:00
HIGUCHI Yuta
060da9a13a Improve Executors related logging behavior
- Specify Logger for the Executor
- Use Executor#execute instead of ExecutorService#submit for
  fire and forget type of usage.
   Note: submit() will swallow thrown Exception

Change-Id: I507b841dc3feedf4ad20a746c304518d68fb846a
2016-03-23 17:57:16 +00:00
Charles Chan
fbaabae0a2 Support more instruction type in EncodeInstructionCodecHelper
Change-Id: Ifb790f0b1e2afb0396633034d1f6d62a120a9a46
2016-03-22 23:27:20 +00:00
Madan Jampani
329dd1b66b Avoid autoboxing in high frequency code paths
Change-Id: I3b34bed6e99714daab7b4a18b36ef6c5cafb019c
2016-03-22 22:38:19 +00:00
Madan Jampani
65f24bb7f3 Moving to Atomix version 1.0.0-rc3
Change-Id: I75572a52b530741f482455d59922327121a03999
2016-03-22 22:38:10 +00:00
Madan Jampani
0da01a47f8 Do not wrap exception with TransportException
Change-Id: Ifd59da2a78a7c95a78758cbcf7a5fe015ed25f13
2016-03-22 22:37:58 +00:00
Thomas Vachuska
0af2691210 Adding server-side user preferences.
More work still needs to get done to allow client to process
server-pushed preferences updates.

Change-Id: I6e80e3f3677285cb19cfa3b6240c1b13aac56622
2016-03-22 13:25:31 -07:00
Saurav Das
8be4e3a4cb In this commit:
Removing dependence on hashing for unique groupkeys in ofdpa driver.
    Group-store no longer removes groups from store if a group-operation fails due to GROUP_EXISTS.
    Group-store also checks for unique group-id when given by app.
    Group-provider now logs warning before making call to core.

Change-Id: I4a1dcb887cb74cd6e245df0c82c90a50d8f3898a
2016-03-22 18:26:04 +00:00
HIGUCHI Yuta
49e03a3406 Remove testDb file after JUnit run
- Using TemporaryFolder rule should ensure that they'll be removed
  regardless of test results.

Change-Id: I75539ae38aa0a8c3f8c00437f28c007422cd72c6
2016-03-21 22:07:35 -07:00
Rimon Ashkenazy
0c59de0f77 OpticalCircuitIntentCompiler - fix resource allocation failure (bug ONOS-4184)
Change-Id: I0e86bd8d309423ea835a4fa1988dc0971b84ef02
2016-03-21 21:39:36 +00:00
Brian Stanke
5df1447e7f ONOS-4076 - Virtual Network CLI commands and bug fixes in
DistributedVirtualNetworkStore.

Change-Id: I7bf67527bccb598385f15ad70091e3f8458d35d3
2016-03-21 21:04:15 +00:00
Sho SHIMIZU
4e2149e120 Remove LambdaConstraint as IndexLambda is soon removed
Change-Id: I1b0a2b3e09d87bb2b8cf39136de15d0f3368f589
2016-03-21 19:52:10 +00:00
Jian Li
d9b5f55457 Refactor getIntegerProperty and isPropertyEnabled methods into Tools
- Add getIntegerProperty and isPropertyEnabled methods which take
  default value as third parameter
- Remove all duplicated code from RefactiveForwarding, GroupManager,
  FlowRuleManager, CoreManager, HostLocationProvider and ProxyArp

Change-Id: Ifc93aa813acfdd4cbac0166497d7b526b08b2090
2016-03-21 18:29:18 +00:00
Saurav Das
244311924c CLI command to help debug the mapping of next-Objectives to the
groups that are created by device drivers.

Change-Id: Iff9e04e5e96b2cabbdb40e83215315d2e27791a6
2016-03-21 18:04:20 +00:00
Ray Milkey
c747729bab Refactor Comparator class to break dependency of core/net on the CLI
Change-Id: I6f3165f399ab448eff5c5d2232f4b96f10ebf57e
2016-03-18 19:03:24 +00:00
Jonathan Hart
834c8d74f9 Fixed bug in Flows REST API for handling flows with no app ID
Change-Id: I67dc2bd7a1f5df71f29b16bed70922eba8cbae27
2016-03-18 10:16:58 -07:00
HIGUCHI Yuta
805d96c5a4 Fixes for Persistent{Map, Set}
- Remove unnecessary repository in pom
- Move Tests to appropriate path/package
- cosmetic fixes

Change-Id: I017293837626a976fe64f811583bb6e314edbd65
2016-03-17 13:29:09 -07:00
Sho SHIMIZU
602edca6b5 Tighten visibility of variable
Change-Id: Ia5cbed246414478d2f7de50ca6a67c4c6b2451b1
2016-03-11 17:20:38 -08:00
Brian O'Connor
955c316b54 Starting snapshot 1.6.0-SNAPSHOT 2016-03-10 15:27:19 -08:00
Brian O'Connor
55b4d80176 Tagging 1.5.0 (Falcon) 2016-03-10 15:24:41 -08:00
Madan Jampani
23696428f8 Starting snapshot 1.5.0-SNAPSHOT 2016-03-09 14:02:04 -08:00
Madan Jampani
b7a5420285 Tagging 1.5.0-rc3 2016-03-09 13:47:32 -08:00
Brian Stanke
0e5c94ea46 ONOS-4075 - Distributed virtual network store implementation,
and virtual network manager Junit tests.

Change-Id: Ic1f82822c894e3c394aa95df1e76ae59fe218120
2016-03-09 20:35:25 +00:00
Madan Jampani
07b54481a2 Disable Atomix unit tests until some stability issues are resolved
Change-Id: If6bd5756bacc2c8d6ff01eecd173db7e5e4b966c
2016-03-09 19:14:06 +00:00
Jian Li
70dffe4447 Support to encode and decode setqueue id in InstructionCodec
Change-Id: I911e14b750d5264755687a9eff322502ba9ed118
2016-03-09 17:40:28 +00:00
Heedo Kang
4a47a304c4 More APIs permission for new ONOS APIs
Change-Id: I43fee65254adca451f77431bfbf5accdf95b81ab
2016-03-09 00:54:41 +00:00
Jian Li
fd46e1d293 Refine application title and category in app.xml and pom.xml
- Remove ONOS keyword from application title
- Capitalize each keyword in application title
- Make it consistent to use App, Provider and Driver in
  application title
- Add right category name for each application
- Add missing application title and category
- Make application category comment more descriptive

Change-Id: Ib886b4a4293c38bd546a4107b20569f1bd7031a7
2016-03-08 18:41:50 +00:00
Thomas Vachuska
096bcc8995 ONOS-4129 Fixing issue where two pending configurations with the same config key, but for two different subject classes are encountered.
Change-Id: I4de7f6e22bdf038dff91630f4cf576d9c38e9807
2016-03-08 17:17:49 +00:00
Saurav Das
0fd79d91ea Group handling changes:
Edge case fix in group store where extraneous group buckets are updated so the group can be reused
      Bug fix for broadcast group in OF-DPA as there can only be one l2flood group per vlan
      Group operation failure codes are now reported by the provider to the core
      Group ids are displayed in hex in a couple of places

Change-Id: Ib48d21aa96e0400b77999a1b45839c28f678e524
2016-03-08 02:12:14 +00:00
Simon Hunt
5829c346b8 Fixed defect in CachingAsyncConsistentMap (wrong method call).
Change-Id: I5873d1476ac68e6c2ee4462e629b00313214ef36
2016-03-07 17:01:43 -08:00
Jian Li
e099166d74 Remove ambiguity on instruction naming in InstructionCodec
In current implementation, the instruction that is defined in each
encodeLX hides the instruction that is defined out of methods.
This commit changes local instruction name to corresponding
instruction name to remove naming ambiguity.

Change-Id: I1f7f0766b66e903daa8ca3ebdea934366ec98308
2016-03-07 22:46:01 +00:00
Jian Li
47b2623316 Support to encode and decode meter id in InstructionCodec
Change-Id: Icdac264b81a9f6edf93198cc5e729521601cbe49
2016-03-07 21:27:30 +00:00
Simon Hunt
afae2f71fc Apps-- added onos.app.title property to applications.
Change-Id: Id845390ee0bee5b871c0ce9f47b2ce98fbcf26b9
2016-03-07 19:30:59 +00:00
Jian Li
ce8c560247 Support to encode and decode group id in InstructionCodec
Change-Id: Icd0947f494f572831e8b5c8d82d47c85eb074824
2016-03-07 17:45:53 +00:00
Marc De Leenheer
81df608444 Avoid null pointer exception when comparing annotations
Change-Id: Iedcd138fb6cbc5be6bdf79890e872d1d4a9ccc82
2016-03-05 11:02:51 -08:00
Madan Jampani
9c159378d7 Fixes how primitives and map keys are mapped to partitions
Change-Id: I68c9acabb400108def6eda394e2d5c8444ea5800
2016-03-04 17:08:02 -08:00
Madan Jampani
f172d40250 Cluster scaling enchancements
- Updated ConfigFileBasedClusterMetadataProvider to handle both file and http protocols.
	- Server open logic updated to handle joining an existing cluster.

Change-Id: Idbaa39733c7bf814510c94c4b21e3714b3f97f8f
2016-03-05 01:06:30 +00:00
alshabib
6cb8636739 fix removal of rules in a distributed setting
Change-Id: I44cb49990b8051f5f1542c11cbda6846049906e3
2016-03-04 21:34:13 +00:00