7182 Commits

Author SHA1 Message Date
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
Jian Li
65f5aa24f0 [ONOS-4176] Implement influxdb retriever for querying metrics
Change-Id: Ia1f3fc4fb3c76fafd003320940b8fe16b039ddae
2016-03-24 19:28:14 +00:00
Sho SHIMIZU
94eff80e81 Remove deprecated interface, its implementation and CLIs
Change-Id: Id644a8cd07abd6e0ece6392790943d401a81d180
2016-03-24 19:13:21 +00:00
Jian Li
e1d97c99e5 [ONOS-4176] Extract InfluxDB access config in a separate service
With existing implementation, influxDB access related configuration
should be done in both reporter and retriever which may cause
potential inconsistency. With this commit, both reporter and
retriever refer to access configuration from InfluxDbMetricsConfig
so that we do not need to configure access parameters two times.

Change-Id: I25159abb24e46d9593ef71224da3f79e3687d36c
2016-03-24 18:55:07 +00:00
Jian Li
9d61649f0f [ONOS-4042] Bump up Jersey from 1.19 to 2.22.2
- Fix unit test errors of web/api
- Fix default page redirection problem
- Fix compilation errors of web/gui
- Fix configuration of aaa, acl, cordfabric, cord-gui, dhcp, mfwd,
  olt, openstack, segmentrouting, vtn, virtualbng, xos-integration
- Fix unit test errors of cpman, vtn, acl, faultmanagement
- Fix compilation errors of openstack, virtualbng, xos-integration,
  REST SB controller
- Rearrange features.xml to resolve bundle dependencies
- Remove all of stale Jersey 1.x libraries
- Rearrange web.xml to point new Jersey 2.x servlet

Change-Id: Ic17f461ede0aa36fa8d470546d8069152dc1d134
2016-03-24 18:54:28 +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
2b74d4ebf8 Adding demo cell.
Change-Id: I6a71e2b4516d4c7f2a2e76e000cdf46b78cad541
2016-03-24 11:20:07 -07:00
Charles Chan
361154b9d3 Rename OFDPA pipeline according to the naming convention
Change-Id: Ia7709aded0c20cf556031a723a986b9baca3ffa8
2016-03-24 18:13:28 +00:00
Thomas Vachuska
341310c043 Adding a listener mechanism for updated preferences.
Theme updates are now propagated to all user sessions.

Change-Id: If0e3f417294ee503c1186710c614d813b7cbd88e
2016-03-24 10:14:13 -07:00
Jian Li
7011bdd2ee Fix typo in RegionsResourceTest
Change-Id: I486af535e57876b63854c5d11cb754ec3bb0c989
2016-03-23 23:23:06 +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
Simon Hunt
5e869353bb Update simon's single cell (amoeba evolution)
Change-Id: I8342e28c70664de2b45d34ce9efb96fc517fdf33
2016-03-23 18:12:30 +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
Simon Hunt
4a24a3e06f Re-configuring simon's uk cells.
Change-Id: I54c53f58bf65e4b917b4335cf193ad5d81899805
2016-03-23 17:55:36 +00:00
Hyunsun Moon
80b0387663 [Goldeneye] CORD-568 Ensure location transparency of node init operation
- Added MapListener for cordvtn node store and made the init process to be
  triggered by map event, so that the leader can do its job regardless of
  the location where node init CLI command happens
- Fixed equals and hashCode override to use all node attributes except for
  the node init state
- Adjusted some log levels

Change-Id: I45688afa60de3516d91132e8a6c49cf90c4dcae4
2016-03-23 17:48:49 +00:00
Mark
4c96452cee [Goldeneye] add command line switch to supress core flows
Change-Id: Ide8439ff967394b3b3a2f94243e5d5b2251a1384
2016-03-23 17:33:10 +00:00
Andrea Campanella
d63fd0423c [Goldeneye]Adding SB app requirment on drivers
Change-Id: I359494d92429646e04fd2720b7c6b257eb0df668
2016-03-23 17:28:12 +00:00
A.R Karthick
32a7a4287d Enable SO_REUSEADDR option for radius server Datagram Sockets.
This helps in fixing "address in use" exceptions while creating the datagram sockets.
This was hit while triggering repeated radius server reconfigurations.

Change-Id: I084c1d83499c010036fcfbca0ad86d40f4e4db88
2016-03-23 17:03:26 +00:00
Andreas Papazois
9492abb0ff Cleanup of trimming on NetConf replies.
Change-Id: I7d3b031893328af33949bea4166423434ded1424
2016-03-23 16:58:55 +00:00
HIGUCHI Yuta
709e4fe330 Prune first to speed up utility function 'o'
Change-Id: I22c46a0a8b690a58c18186aa85c0491e470c3c9b
2016-03-23 16:58:06 +00:00
Sho SHIMIZU
ff18f8cdb9 Inline variable to remove redundancy
Change-Id: I6cb771794f5a03c77cd09d3e4e048bd271d63285
2016-03-23 16:53:58 +00:00
gaurav
367859325b changes for cord-485 using device id in variable
Change-Id: Ied52ff808841397698c49fa13d4937868c14749d
2016-03-23 16:51:14 +00:00
drl
b04ca9962b Fix ONOS Jira-4189
Change-Id: I9725f4e8cfd7382dd2c34066951e993543e86539
2016-03-23 01:22:37 +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
Jian Li
b97f6fbb52 [ONOS-4176] Implement influxdb reporter for backing up metrics
Change-Id: If899955c06cc5a5619a529178be8eb1bffa5b498
2016-03-22 01:18:50 +00: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
Thomas Vachuska
a42ce0b2c2 Adding ability to drop OAR files to install apps.
Change-Id: I989a92db4c94ef86d029d6b36f769f28e4fee52d
2016-03-21 21:01:40 +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
7261c7b31e [ONOS-4127] Backup metric service to ganglia monitoring server
- Initial implementation of metric service reporter
- Unit test for metric service reporter
- Bump up metric lib from 3.1.0 to 3.1.2

Change-Id: Ia178df759d671dfc15cffaacb09d5279ad3d9ad8
2016-03-21 19:51:00 +00:00
Gaurav Agrawal
78f72400fa YANG: Line number and character position addition for cardinality failure + Increase readability of Error message and function name
Change-Id: I467a536a9d2a6cbb29873491fdb0a91f211deefd
2016-03-21 19:21:51 +00:00
Vidyashree Rama
8a6b128e26 string issue fix for few yang construct like config, mandatory + allowing yang constructs as identifers and string
Change-Id: I8dd01dc60d280a843b0a485681caa6bfcac013c2
2016-03-21 19:21:23 +00:00
Andrea Campanella
b074ecbc7f Removing old YangTools based on ODL parser
Change-Id: I92cf989b58340d9b9f9a9268262c4e05b2fa5717
2016-03-21 18:31:28 +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
Priyanka B
21f4b73629 PCEP protocol message update
Change-Id: Icdea6c105553cd3dec1cacea6e2951f9e422b676
2016-03-21 17:47:06 +00:00
Thomas Vachuska
fa74dd7926 Adding ability for the server to notify clients about GUI additions/removals.
Change-Id: I505f68c33cb9cf7b875b53792f8442ba0cf0662a
2016-03-20 19:11:12 -07: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