537 Commits

Author SHA1 Message Date
Jian Li
fb16e99e85 [ONOS-401] Support JSON output parameter for MetricsListCommand
Change-Id: Id327a4d406dc924ec53dc54bb9939654759d947a
2016-02-23 03:35:22 +00:00
Jonathan Hart
9ad777f926 CordMcast clears remote routes on startup to prevent being out of sync.
It also reads existing routes on startup.

Change-Id: I13b8ffae2b57d1e82181a8a745bda185d56f368d
2016-02-21 22:48:51 +00:00
Rimon Ashkenazy
f0699705ac [ONOS-2476]: Circuit intent support for ODU Multiplexing
Change-Id: I37229e7107e38baf8416102598f27004ef319665
2016-02-19 20:20:29 +00:00
Jonathan Hart
00cdddaa60 Send PIM Join/Prune messages based on events from the McastService.
Also change Interface to return a list of addresses rather than a set
to allow applications to rely on the order of configuration

Change-Id: Ie7f62fee507639325ee0a77b8db4088dae34597e
2016-02-19 18:53:12 +00:00
Charles Chan
f38aca7fd5 Implement groups CLI command autocompletion
Change-Id: I0bb9eff30c03a5d08f69280879ec2be869cb6539
2016-02-19 08:29:12 +00:00
Ayaka Koshibe
e018a92b14 Check for standalone device IDs as args for paths command
Change-Id: Ia821345bbee2a9910d64fa37e033dec60d0da869
2016-02-18 08:48:15 +00:00
Claudine Chiu
31ad527ec2 ONOS-3931: move "org.onosproject.incubator.net.key" to "org.onosproject.net.key"
Change-Id: I90da894317583ce8d6cfb238e933ff28ad2c83ca
2016-02-18 08:46:33 +00:00
Sho SHIMIZU
74ac9010f8 Add a method to get resource type name: simpleTypeName()
last() is removed as the new method takes over its role

Change-Id: Id3737529787da5d5bb513355cdbc443f2b7b17e2
2016-02-18 03:51:26 +00:00
Brian Stanke
e312fc7c6c ONOS-3658 - Adding CLI commands to display and manage Device Keys.
Change-Id: I98d7d3b7bc9a61f106a6b79b38d7ddaebbfb3288
2016-02-17 15:19:17 +00:00
Sho SHIMIZU
f08cb4c0e0 Define valueAs() to get the enclosed value and remove volume()
volume() is replaced by valueAs()

Change-Id: I3dbcbd6a0b8fcd28f0064272fe1fa6d7259e0a87
2016-02-17 01:20:22 +00:00
Sho SHIMIZU
ef7e290e20 Make use of Optional more idiomatic
Change-Id: I42b3261169e7cb8408f46c5831f72115f77fd779
2016-02-17 00:38:48 +00:00
Sho SHIMIZU
003ed3273e Add a method to check the type of resource
Change-Id: If4b44688c0a93a43dfa9a4c2cb77c52599159751
2016-02-17 00:37:09 +00:00
Naoki Shiota
8874592df6 bug fix: resources CLI command with -t(type) option didn't work for ContinuousResource.
Change-Id: Ib1443e2a5395c7f75ef3da583019978aab4a742a
2016-02-17 00:17:42 +00:00
Jonathan Hart
1d00639523 Move multicast CLI commands into the core with the core mcast system.
Change-Id: If442803cf530cfeb949e7fbce34f74db082f30c1
2016-02-11 22:54:20 +00:00
Rimon Ashkenazy
8ebfff047b Add OTN device and ports
Change-Id: I18f3376d1466077e95d7324a27a660302f0123b3
2016-02-09 20:36:40 +00:00
Sho SHIMIZU
dd3750cf01 Use ResourceId or DiscreteResourceId when specifying a resource
Change-Id: I4e29558ec649510c8d08bb5e5f8ed10c189252e5
2016-02-09 20:32:50 +00:00
Madan Jampani
cadd70bd6e Refactor transaction support in preparation for migration to latest APIs
- Added a explicit transaction id type
 - cli command now just returns the identifiers of in-progress transactions
 - Removed redriveTransactions until a better alternative is provided
 - Removed DatabaseUpdate and replaced its usage with MapUpdate

Change-Id: Ic4a14967072068834510cd8459fd2a6790e456ef
2016-02-08 23:29:02 +00:00
Madan Jampani
c27b6b2deb Fix files with windows line endings + Add checkstyle rule to catch this issue
Change-Id: Ic1905f2121c5c2ab66259f7f531c1e36fe58e9d4
2016-02-05 19:51:54 +00:00
Ray Milkey
b7f0f64dcc ONOS-3460 - Link provider that enforces strict configuration
This provider uses the "links" configuration of the network
config and only allows discovery of links that are in
the config.

Refactoring will be done in a subsequent patch set - the DiscoveryContext and
LinkDiscovery classes are duplicates, they need to be refactored so the
LLDP provider and the Network Config provider can share them.

Change-Id: I4de12fc1c4ffa05e3cac7767b8a31f48ba379f6c
2016-02-03 21:22:12 +00:00
Charles Chan
a449aaea8c Strip newline and extra spaces in application short description
Change-Id: I963902e13c70bf4f383841a9d77ded95caf3b106
2016-02-01 23:56:27 +00:00
Madan Jampani
087276776b Leaders cli improvements:
-c option now returns term and term start time.
 -j option returns all info (including candidates)
 -fixes the NPE identified in ONOS-3846

Change-Id: Ifbbd1aab92df78113f5abab09d360cee7f43c2d0
2016-02-01 20:47:46 +00:00
Madan Jampani
620f70d03f LeadershipStore updates:
- Now tracking leader and candidates for a topic using a single map.
 - Using term numbers that are incremented by one every time a new leader is elected.
 - Introduced a separate LeadershipStore to conform to the  manager-store pattern

Change-Id: I1d03a6c5e8ff0e68ef0c1e3a6c2d425c4856e470
2016-01-30 23:14:12 -08:00
Sho SHIMIZU
83258ae504 Use more concrete type for return value
Same resources are not allowed for a parent and Set is more suitable than
Collection

Change-Id: Ib45179819d81376678bf8949864b12b5bd721085
2016-01-30 16:33:41 +00:00
Sho SHIMIZU
460b97251b Move static factory methods to the utility class
Change-Id: Icf458adf78f51823e4ffa31346595fa9716485bf
2016-01-28 13:43:21 -08:00
Sho SHIMIZU
f95b96eaa3 Change the APIs to instantiate Resource and ResourceId
Now, DiscreteResource/DiscreteResourceId is provided by DiscreteFactory.
Similarly, ContinuousResource/ContinuousResourceId is provided by
ContinuousFactory. These factory instances can be obtained by static
factory method such as Resource.discrete(...) or Resource.continuous(...).

Change-Id: Ic94f7336c0e1f74cf2dddcac899de300362aff3e
2016-01-28 17:31:58 +00:00
HIGUCHI Yuta
1d7c9cbe6d ONOS-3732 Bandwidth resource registration using netcfg.
- Uses netcfg defined value as available resource if defined,
  else uses port speed as available Bandwidth resource

Change-Id: I2dde9a9194025194ed8785b4608f064debab182b
2016-01-27 13:09:56 -08:00
Naoki Shiota
d762746f43 Fixed a bug that resource command doesn't filter aggregatable types (MplsLabel and VlanId).
Change-Id: I156fcedb5e5823bc04d10160311af4f81169b221
2016-01-27 18:17:03 +00:00
Sho SHIMIZU
f33b893003 Move inner classes to upper level
Rename as follows.
- ResourceId.Discrete -> DiscreteResourceId
- ResourceId.Continuous -> ContinuousResourceId
- Resource.Discrete -> DiscreteResource
- Resource.Continuous -> ContinuousResource

Change-Id: I80e59d1eec07128743bacc582a8725bd4d5489b4
2016-01-26 18:59:11 +00:00
Andreas Papazois
c93117db69 [GEANT] Adding driver/behavior for setting configuration on NETCONF devices.
Change-Id: Iced3ba42c5b1d43d64c06fd19234017dc8a21278
2016-01-25 17:37:03 +00:00
Jonathan Hart
c7840bd784 Improvements to flows list command.
* Added -s option which gives more succinct output.
 * Display each flow on one line for easy grepping.
 * Added ability to filter output by table ID.
 * Flows are now sorted by descending priority within a table.
 * Removed the use of toStringHelper in instructions and criterion to produce
   less verbose output.

Change-Id: I1c874c776491386488ea5a4d23627b20f1e5728b
2016-01-23 15:19:19 +00:00
HIGUCHI Yuta
634df8fc5d resources command enchancement
- Aggregate output of some Discrete resources
   Currently supports: VlanID, MPLS label, Tributary slots
- Add support for Continuous resource

Change-Id: I5d002ba7f43f8b8d06228507b7463c29296aec90
2016-01-22 18:12:53 +00:00
suibin zhang
4d2b490389 fix push-test-intents with latch is 0 before countdown
Change-Id: Ie9891612490f82b5067e795592e577952838b988
2016-01-20 18:44:15 +00:00
Jian Li
02c109c08c [ONOS-3634] Add CLI for displaying extended application properties
Change-Id: Ia2ef8cff5c71c75bdf2a3e0cf1cad992537c6d84
2016-01-20 08:48:09 +00:00
Andrea Campanella
d8d92db11d ONOS-3754 Create driver/behavior for Ciena waveserver
Change-Id: I2e8741f0ad858eb712f7fe4f4a5fdf5e146aefd6
2016-01-15 23:58:53 +00:00
Sho SHIMIZU
8fa670a8f9 Refactor: Rename ResourcePath to Resource for a better name
Also the followings
- Rename variables from path to resource
- Update Javadoc

Change-Id: I07da7e7d13882f2134a3687c66ed91a9de5b0849
2016-01-14 20:54:42 +00:00
Sho SHIMIZU
31f37edd99 Define sub-types of Bandwidth to reduce round-off error
Two sub-types are defined
- LongBandwidth
- DoubleBandwidth
LongBandwidth can reduce round-off error cause by floating point arithmetics.
These classes are not exposed outside the package and only instantiated
through static factory methods.

Change-Id: Ice5d8ff1397c9dd9c8c1fff46af256fff08fa616
2016-01-14 07:35:50 +00:00
Naoki Shiota
3f342188d7 Modified onos:resources CLI command to be able to filter resource types (ONOS-3617).
Change-Id: I3465cca0ba44fce14d3607be5f4fccf29cfabbed
2016-01-14 06:59:00 +00:00
Toru Furusawa
72ee30ca50 [ONOS-3730] Populate portSpeed for ODUCLT and OCH ports.
Also move the enum definition of ODU client port signal type outside of OduCltPort class.

Change-Id: Ibdff21d9707ad3d79587f579ad675f673cf9afeb
2016-01-13 19:27:54 +00:00
Ray Milkey
aef4585a6d Revert changes to use constants for Sonar suppression
It turns out that suppression annotations have to have the actual
string literal in them; if you use a defined constant SonarQube
ignores the suppression.

Change-Id: I3628df116d182b01a108da0d6f059784a3be4fed
2016-01-13 17:19:20 +00:00
Charles Chan
33a79ce92b Sort portstats result by port number
Change-Id: I1165ae5d05f1ea557e7841d76977ad69060f01c2
2016-01-08 20:46:17 +00:00
Aaron Kruglikov
12faf8de83 Adding driver and behavior for getting configuration on NETCONF devices.
Change-Id: Id6986f60e8c3db0d8295576b856c04c82ae0edcb
2016-01-06 09:11:44 +00:00
Ray Milkey
9f87e51954 Sonar related fixes
- suppress SONAR warning for printing stack trace in CLI
- add string constants for the Sonar suppression identifiers

Change-Id: I03992f89675f9d074347042b7a196dbcc1036c28
2016-01-05 23:55:33 +00:00
HIGUCHI Yuta
4f074c09f7 Completers for netcfg command
Change-Id: I925825f3ddb3ffde8fb59d8d0d4ccb9faf92fe37
2016-01-04 19:04:39 +00:00
Brian O'Connor
bd7f878a7c ONOS-3124 Sketch of simplified intent domain service
Change-Id: I6d8304214897ba75a299bfd9bd90b4591ae8eb04
2015-12-17 22:33:44 +00:00
Ray Milkey
4fd3ceb3df [Falcon] fixes for Sonar Critical bugs
Change-Id: I0a63578727693a2517f3002bd4f4c391b6f44aea
2015-12-17 17:39:44 +00:00
Brian O'Connor
880dc20ddb Starting snapshot 1.5.0-SNAPSHOT
Change-Id: If9ce4ca5f5f6d089e9f088e710367f4e2ca1c9b6
2015-12-16 22:53:14 -08:00
Brian O'Connor
5a2856fd01 Tagging 1.4.0 (Emu release)
Change-Id: I55e4dbcecbfac86cccae27aa99a813910bd5557a
2015-12-16 22:47:51 -08:00
Brian O'Connor
6b7707101b Switching back to snapshot 1.4.0-SNAPSHOT
Change-Id: Ie726afc2df730a1009db421328267f2dcfedfd66
2015-12-15 15:48:42 -08:00
Brian O'Connor
d1cdd19530 Tagging 1.4.0-rc3
Change-Id: Iddb1e8adff820e81794bf83f5861519e9a787880
2015-12-15 15:36:45 -08:00
Brian O'Connor
b22ba656bb Switching back to snapshot 1.4.0-SNAPSHOT
Change-Id: Ic0ff8fe27d46b0662f596db9185591736efa6cf9
2015-12-11 17:02:48 -08:00