1270 Commits

Author SHA1 Message Date
Madan Jampani
1ffa46b5b3 Using AsyncLeaderElector primitive for Leadership
Change-Id: I0ff91ddaa3b5dec79e073496044c2f860ae94616
2016-04-04 14:36:55 +00:00
Sho SHIMIZU
17c09dabbf Tighten visibility of constant
Change-Id: I05a54e4389d08499b21109868adec18ddbe2bb8d
2016-03-31 21:48:28 +00:00
Sho SHIMIZU
ec932bd9ba Fix missing return statement in MPLS label allocation
Change-Id: I1ff26d253585d09b75ceecf819efa0d027057e50
2016-03-31 12:34:35 -07:00
Simon Hunt
11a2928009 Privatize error messages.
Change-Id: Id6eb4119f677141cb827431effa428ecbd57a530
2016-03-31 09:16:55 -07:00
Luca Prete
283a96205e Using VlanId String None instead of -1
Change-Id: I2597ac37285cc3f40ad1304d668564a56a5b862f
2016-03-31 15:45:40 +00:00
Sho SHIMIZU
0d39bbab7c Remove method not being used for long
Change-Id: Ie2254472c9da3ca320347be53fad383ad4db1c8d
2016-03-31 15:38:25 +00:00
Sho SHIMIZU
97a93dde0d Tighten visibility of method
Change-Id: Ic82518a6733c6a67030a013b7193a56178061d07
2016-03-31 15:22:57 +00:00
Sho SHIMIZU
f36a83661a Fix one of the causes of ONOS-3954
Return statement was missing on an allocation failure

Change-Id: If6107462061ef56cd45ccb9e6d67d47f6aae9f43
2016-03-31 14:33:40 +00:00
Saurav Das
a2d37500d9 CORD-613 Adding ability to administratively enable or disable a port via CLI.
Currently uses the OpenFlow device provider to change portState.
Also fixes a bug in PortNumberCompleter.
Adds completion options to portstats for deviceId and portNumber.

Change-Id: Idcce775fe8bc5484fdd0e630bcb5026b85125478
2016-03-30 21:46:43 +00:00
Ray Milkey
f80bbb22c2 Initial BUCK build
Change-Id: I64e8a979301989062f4545a4841b06c15a372049
2016-03-29 21:39:14 +00:00
HIGUCHI Yuta
67023a2132 Minor javadoc fixes.
Change-Id: I1488e7f26a447543191aaa46070a16c5968db0b6
2016-03-28 13:35:44 -07:00
Sho SHIMIZU
f60e45f18b Remove L0SubType.LAMBDA which now gets unnecessary
It's because IndexedLambda the type heavily depends on is removed

Change-Id: Ie549255353a2d605f528decfefd0c11f9728d7d8
2016-03-28 18:16:59 +00:00
Michele Santuari
6ebb36e564 fix mastership
Change-Id: I1f82bfed7ba98df492326c9c4a7be0764b3a6488
2016-03-28 10:12:04 -07:00
Claudine Chiu
dce081580b [Goldeneye] ONOS-4017: Mastership service considers Region information when determining mastership.
Change-Id: I6c79239f2e071d865bf04e4d9d790ca9b2d04694
2016-03-28 16:24:16 +00:00
Sho SHIMIZU
57f2efd60e Remove Instruction.DROP deprecated in Emu
Change-Id: Ida5a5f489815dd1e972f6bfc8646e1e1bf0e8edd
2016-03-24 23:50:22 +00:00
Sho SHIMIZU
e18cb12e94 Move files under newresource package to resource package
Change-Id: Ifedb99be4671ada97fafe3ecfd196939207baa86
2016-03-24 23:16:59 +00:00
Sho SHIMIZU
ec07ffd403 Remove dependency on LinkResourceAllocaations from IntentCompiler
This change breaks backward compatibility of IntentCompier API

Change-Id: I471d0e28d97c2379f66d980d3176f89022c3a470
2016-03-24 22:54:08 +00:00
Sho SHIMIZU
07ade9b816 Use Stream API instead of for loop
Change-Id: Ic5ce334a6d3891d2d43d1e5bb573e59efd0a9461
2016-03-24 21:43:17 +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
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
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
Rimon Ashkenazy
0c59de0f77 OpticalCircuitIntentCompiler - fix resource allocation failure (bug ONOS-4184)
Change-Id: I0e86bd8d309423ea835a4fa1988dc0971b84ef02
2016-03-21 21:39:36 +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
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
Heedo Kang
4a47a304c4 More APIs permission for new ONOS APIs
Change-Id: I43fee65254adca451f77431bfbf5accdf95b81ab
2016-03-09 00:54:41 +00:00
Simon Hunt
afae2f71fc Apps-- added onos.app.title property to applications.
Change-Id: Id845390ee0bee5b871c0ce9f47b2ce98fbcf26b9
2016-03-07 19:30:59 +00: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
Ray Milkey
d7909ca0e3 Fixes for javadoc errors
Change-Id: Idb4f08df4e2c794528b1f359f3fef6c4850eabc8
2016-03-04 08:47:02 -08:00
Thomas Vachuska
5d8994ffce Starting snapshot 1.5.0-SNAPSHOT 2016-03-03 17:13:26 -08:00
Thomas Vachuska
40d5255ca9 Tagging 1.5.0-rc2 2016-03-03 17:08:36 -08:00
Ray Milkey
d931a9bf75 Refactor some core testing adapters to not be in the openflow hierarchy
Change-Id: Ia2604337e4b9a7bfa4f6c3c06c5defc499143cba
2016-03-03 06:17:00 +00:00
Sho SHIMIZU
8a4f8a1d04 Refactor: Reserve resources only in one place
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: I7b238f24996b3f1dc97afda6d188426001052127
2016-03-03 03:42:23 +00:00
Thomas Vachuska
8378ccf28f Making default single table pipeline accept SPECIFIC as well as VERSATILE flow objectives.
Changing flow objective intent compilers to use SPECIFIC flag.

Change-Id: Ib275fe0fa38b66045fcdc225233a37ad0897bac6
2016-03-03 03:07:24 +00:00
Sho SHIMIZU
98de57aa77 Refactor: Rearrange method definition order
Change-Id: I86d853a0066b0ac42508091f5b76042c3e8cabfa
2016-03-03 01:39:03 +00:00
Sho SHIMIZU
9fe0f36ab5 Refactor: Simplify method
Change-Id: I84e88480d7b005db4585afa7f9296f8a2d7cbef3
2016-03-03 01:05:16 +00:00
Sho SHIMIZU
aa00e50076 Refactor: Reduce use of null
Change-Id: I5b7197481553be38a664568ec1122854c2597989
2016-03-03 01:05:11 +00:00
Ray Milkey
2e78d9077d Unit tests for flow objective manager
Change-Id: I2f4e3084493174fcff7d64d2da1806b7b811b41f
2016-03-02 18:24:42 +00:00
Ray Milkey
0a9ad9a3bc Use VERSATILE for flow objectives from paths
Currently the default pipeliner does not support SELECTIVE mode

Change-Id: I6647f9645f200888bb5c59e4134c6967a3f776dd
2016-03-02 18:21:23 +00:00
Thomas Vachuska
3debf50b27 Fixing up config message in the intent registrator.
Change-Id: I98bfc517e812f8cc81dcb58658822d5088853d4b
2016-03-01 21:57:48 +00:00
Thomas Vachuska
bdbdd246aa Adding configurability for registration of flow-based intent compilers.
Added configurability of the intent manager number of workers.

Change-Id: Id5e221e077ef3246a7f274bad2e40166313899f5
2016-03-01 19:31:41 +00:00
Ray Milkey
db74ec71cd Flow Objective compiler for link collections intents
Change-Id: Ie9d820b1d7d4cdee5411a7318c246c90e3fa91d0
2016-03-01 18:37:03 +00:00