1687 Commits

Author SHA1 Message Date
Madan Jampani
d5b200f5f9 When a Copycat client is in SUSPENDED or CLOSED state fail-fast all its operations
Change-Id: I821ca0a488e68d004b4e41b6d8ac28368f09ffcb
2016-06-06 17:16:27 -07:00
Andrea Campanella
6c71a0500a Deprecating PortDiscovery in favour of DeviceDescritpionDiscovery
Change-Id: Ie9cff7937412c62c8a5a3b75b87a43952017f146
2016-06-06 16:00:02 +00:00
Sho SHIMIZU
b6c63a3a20 Move BandwidthCapacity out of resource pacakge
Change-Id: I80b4ed484ea505092c45c78f89fbe065c09aab6c
(cherry picked from commit 086af1db475cf9182f8dba83e1b96038301e22fe)
2016-06-04 20:31:47 +00:00
Madan Jampani
0d14a0c0ed Lower default operation timeout for distributed primitives to 5s
Change-Id: I141bd0589002c409ba7a6470931f506bbca05c7b
2016-06-04 16:12:31 +00:00
Simon Hunt
5c1a938147 ONOS-4646: Provide temp. mechanism for topology overlays to modify link details data.
Change-Id: I00b78b1da1580883e09af87ed470e6142a1ec19b
(cherry picked from commit 4f732d2)
2016-06-02 10:03:22 -07:00
Sho SHIMIZU
eeef6f4ca5 Refactor: Move DiscreteResourceCodecs to impl package
Change-Id: I2ee85d9207615208ce88d04b5fbfaa153cab323a
(cherry picked from commit 74bd8a4f1bc6f81362e33a8cf389aa1048d81a49)
2016-06-01 21:42:35 +00:00
Sho SHIMIZU
2795d63edd Make serialized resources more compact to omit redundant parent resource ID
Change-Id: Icafe92f35bded405dd39e57ad8380bca82a6d720
(cherry picked from commit d68739b5839e1d2be907d3806e2c742df9da95fd)
2016-06-01 20:29:00 +00:00
Konstantinos Kanonakis
d7690cf761 Populate listBuilder with existing conditions when creating a FilteringObjective copy.
Change-Id: Ide63c7b5e94c41c2a821b464065b86bb8b89c395
2016-05-31 23:27:06 +00:00
Sho SHIMIZU
e4f76edbae Add a set of discrete resources that can be encoded as interger
This is for ONOS-4281

Change-Id: I83de45368485a3c4f6c052b64ef82e846c0553e3
(cherry picked from commit 8a70393458fbaff16a26859d11dbc62f49f469b3)
2016-05-31 19:53:41 +00:00
Simon Hunt
b1ced8e014 ONOS-4619: Web UI -- Support for chained dialog operations.
Also added bool() helper method to JsonUtils and RequestHandler.

Change-Id: Ie3a9db983f0936b1ad48488ce19d1cdc2e20c16a
(cherry picked from commit 9bf9356)
2016-05-27 19:43:01 -07:00
Madan Jampani
d7ff34d6f2 Ensure one can add/remove status change listeners for LeaderElectors
Change-Id: Ief362489fe9b563606f07d52c300629af23b6372
2016-05-26 18:21:26 -07:00
Aaron Kruglikov
44a1fef950 Updating multimap API and commands and providing implementation.
Change-Id: Iff49b429cfc7c0142f3ab2e1dde1a32e85f20e87
2016-05-26 19:59:16 +00:00
Sho SHIMIZU
cf98b1af27 Modify DiscreteResourceCodec interface
This is for ONOS-4281

Change-Id: Idaa4e3666946ebf1a76abfeb54c626dfb50082c4
(cherry picked from commit 81b75a9e00061d655b2cfbdb8c734753b2bb8c09)
2016-05-25 18:22:39 +00:00
Steven Burrows
3a9a6447b3 Topojsons have all been formatted with jsonlint
Added topojson files for all supportted maps, optimised the countries topojson files to remove unused properties.

Added Javadocs for UiTopoMap

Refactored Topo Maps to use UiTopoMapFactory, UiTopoMap classes.

Change-Id: I976137baa7f62a81e48231e1612b967d39dc641d

Refactored Topo Maps to use UiTopoMapFactory, UiTopoMap classes.

Change-Id: I976137baa7f62a81e48231e1612b967d39dc641d

Added Copyright

Change-Id: Ie62171ba6ab08bbf955bc444cd2db41d0c30baaa

Added file path for topojson or svg

Change-Id: Ib1fc79672079ec4c6e2cd35bc39a28abeafca297

Line break to account for the soft limit

Change-Id: Ib2b57ceee139b20a73d7ad0110b37fc1b5326ed7

Added File Path to the Map Class

Change-Id: Ic6ae4ca507e58155bb106ad46be14e048dc3a95c

Added File Path to the Map Class

Change-Id: Ib2200b0bf315f9dccb581447ddb4b6f6669e34ff
2016-05-25 00:20:01 +00:00
Jian Li
ddfd2ebacc Deprecate PushHeaderInstructions and PopVlanInstruction
PushHeaderInstruction is used by mpls header push, pop, vlan header
push. Also PopVlanInstruction should be augmented to cover vlan
header push case.

Change-Id: Ic0da77b1f86e1e4a396080caa463d1d727b4c7dd
2016-05-24 20:25:56 +00:00
Jonathan Hart
f564ab1337 Remove erroneous @deprecated javadoc tag
Change-Id: Ib5d2859b002f9d663e840ffdb083acd64c2403c7
(cherry picked from commit 605eed37870b53854aefeddf24b0d518cb8e0256)
2016-05-24 17:22:15 +00:00
Brian O'Connor
e642f7cf7b Bumping version to 1.7.0-SNAPSHOT
Change-Id: Id105bf08ecbdac6d4e214ae035b4220aea90f29f
2016-05-23 18:35:29 -07:00
Jonathan Hart
3fc7e83f5d Small clarifications to FlowRuleService javadocs.
Change-Id: If15f4e1818542f07a3653416ced85cdd3fe01277
2016-05-23 15:41:11 -07:00
Jonathan Hart
5acc88a706 Update flow rule service javadoc to avoid confusion around groups.
Change-Id: I66b3185ed6e5294ae6f0fd6327a106affa880736
2016-05-23 10:50:20 -07:00
Ayaka Koshibe
4822922b23 [ONOS-4424] Tag LLDP/BDDP source address with fingerprint
Link probes incorporate cluster fingerprint in source
MAC address. This removes the need for an additional TLV and the
complexity associated with it, and also adds fingerprinting to
BDDPs for free.

 - fingerprint in Ethernet source address. The old default MAC
   value is only used when the CusterMetadata service isn't ready.
 - remove support for TLV fingerprint field and associated config
   knobs.
 - links at control domain boundary are classified as EDGE type links.

Change-Id: Idb07dd06fbeee25e9fcee3fbdddec7a7dbb2c397
2016-05-21 19:02:12 +00:00
Thomas Vachuska
92b016b1c0 Enhanced layout service and hooked-in the ui topo session.
Change-Id: I357143766deb3f0d697a3e7963a53968ccdf3bc8
2016-05-20 19:11:49 +00:00
Brian Stanke
612cebf3cc ONOS-3633 - Adding intent event listener to PointToPointIntent virtual network
provider. Intent events will either set the virtual link state to ACTIVE or
INACTIVE.

Change-Id: I34b65b2bfff29b791e7b2eb4d7cefb2ec4e88672
2016-05-19 21:14:05 +00:00
Simon Hunt
eae81ee7bd Added host-related unit tests for model cache.
Change-Id: Iac27f62daed2c8e9114ce924c3014f35eb0ae5ce
2016-05-19 12:33:22 -07:00
HIGUCHI Yuta
163efb5060 Some improvements around EventuallyConsistentMapBuilder serializer handling.
- Allow directly passing KryoNamespace
- Add some registration id gap before ECMap's internal registration
- Some improvements for ease of registration issue investigation
-- Add friendly name to ECMap's internal KryoNamespace
-- Add backtrace information

Change-Id: I7c87b3aefbaea4b2ed12b38c3e0813e9d195c7a9
2016-05-19 16:38:52 +00:00
Madan Jampani
39b3b19799 Deprecate MastershipService::getDevicesOf method
Change-Id: I79ac1cbd7765229d39a5e2c614c98f17760f52a1
2016-05-19 16:23:43 +00:00
HIGUCHI Yuta
03666a3d08 Remove duplicate registrations.
- MapEvent.class, MapEvent.Type.class, Versioned.class part of API,
  and all the existing caller was supplying API as base namespace.
- MeterId, MapUpdate part of API
- Default{Device, Port} part of API
- WallClockTimestamp is always added by ECMap

Change-Id: I654c892549e6dddbe5e1f86dbb41d1ca4e84611f
2016-05-19 15:23:17 +00:00
HIGUCHI Yuta
c299d07a11 Avoid creating new KryoNamespace instance.
- Avoid creating new KryoNamespace instance when there's only 1 namespace specified.

Change-Id: I7acd1af21623660d6de4f1090b0731a15762cd14
2016-05-18 15:20:13 -07:00
Hyunsun Moon
61b73e9d3d Added more network config validation checks
Change-Id: I9e810206fc3e744c86f854865dfdd9614a84fdf7
2016-05-18 21:33:54 +00:00
Simon Hunt
58a0dd0cef Included connect point port number in definition of UiLinkId.
Added dumpString() to ModelCache / UiTopology.
Added more unit tests for ModelCache.

Change-Id: I842bb418b25cc901bd12bc28c6660c836f7235bc
2016-05-18 20:59:54 +00:00
Simon Hunt
c0f20c1b9a Implemented initial loading of ModelCache.
Created UiLinkId to canonicalize identifiers for UI links, based on src and dst elements.
Added idAsString() and name() methods to UiElement.
Added toString() to UiDevice, UiLink, UiHost.
Created Mock services for testing.

Change-Id: I4d27110e5aca08f29bb719f17e9ec65d6786e2c8
2016-05-17 10:37:37 -07:00
HIGUCHI Yuta
f46dc4fca8 [ONOS-4513] Move utilities not specific to optical out of optical package.
Change-Id: Ib4d33008c61f17b8ff220142a0d15db31e5fcfb9
2016-05-16 20:51:20 +00:00
Naoki Shiota
bd1974c6d2 Made ResourceManager to accept arbitrary ResourceConsumer implementation. (ONOS-4406)
Change-Id: If41564824770c2a8b78237a206c036df94141117
2016-05-13 14:43:52 -07:00
Carmelo Cascone
1797282926 Fixed multiple extension criteria bug
Change-Id: I57157b83b605e7315c3849743a931f270e8f86a8
2016-05-12 10:59:16 -07:00
HIGUCHI Yuta
deae31ec05 [ONOS-4513] Move DefaultOpticalDevice to reduce package exported.
Change-Id: I88db1508290e8d3722d46e85b947b4fdc9f4b66d
2016-05-11 17:56:03 +00:00
HIGUCHI Yuta
5be3e820cf ONOS-4417 Remove OtuPort out of core.
Change-Id: Ibc72ee617b238005585f0bcd873b9123e48ee7fc
2016-05-09 23:39:00 +00:00
HIGUCHI Yuta
4c0ef6b54a ONOS-4416 Remove OduCltPort out of core.
Change-Id: I04324a72e48af84afdbfa32b84c8e57f39411000
2016-05-09 23:38:47 +00:00
HIGUCHI Yuta
95d83e8067 ONOS-4415 Remove OmsPort out of core.
Change-Id: Ic796c4e715789ba18f350f28e29db04dd537822f
2016-05-09 23:38:16 +00:00
HIGUCHI Yuta
34a3f69be1 ONOS-3503 Remove OchPort out of core.
- Implementation of a Behavior OpticalDevice has the knowledge of
  translating annotations into optical specific port.
- OpticalDeviceServiceView checks if the Device is a OpticalDevice
  and translate all the Ports to optical specific port before returning.

- This commit contains feedbacks, issues, and fixes by Michele Santuari.

- Note: 3 more Port types to go (OduClt, Oms, Otu)

Change-Id: I4cbda8bc1922fbdd4dac8de8d02294bad74b8058
2016-05-09 22:24:41 +00:00
Andreas Papazois
1ed54cf0fa [GEANT] Command device-interfaces added.
Change-Id: If70eedc5e8e0d83bc4d31c556fbf8382cbe97cec
2016-05-09 15:56:26 +00:00
Hyunsun Moon
65b38cb6c0 Fixed consistent map event listener remove
Change-Id: I8e73faa31353929fe2a7b4c85923f64abaf5e497
2016-05-06 18:29:27 -07:00
Madan Jampani
ccdf9da90b New partitions cli option for displaying client information
Change-Id: Iba0a9f7ea809368bf0965b44d8ff60e7486ee3d8
2016-05-06 03:39:43 +00:00
Simon Hunt
642bc456a4 ONOS-4326: Focusing on add/remove cluster member. (WIP).
If reviewing this, please refer to http://tinyurl.com/onos-ui-topo-model

Change-Id: Ic6568074ac768ec828f9103e92caab5e9a06ade6
2016-05-05 22:49:53 +00:00
Madan Jampani
0463cf98ee New API for specifying an executor when registering a map listener
Change-Id: I1fc92e0a3da576d88d5ece4a666af8ad1c1fb9d8
2016-05-05 21:36:37 +00:00
Sho SHIMIZU
9e00ba7261 Avoid unnecessary instantiation
Change-Id: I81f6331c9d5ed618ebf3695ae4c032d7d26ffc96
2016-05-05 17:53:07 +00:00
Jian Li
25fc9ad269 Add a set of synchronous version of methods for MastershipService
Change-Id: I61da650eb545c14b5fa824ac92d1ebe62126dec3
2016-05-04 20:32:54 +00:00
Sho SHIMIZU
c0e010ddde Implement compact serialization for a set of discrete resources
This is for ONOS-4281.

Change-Id: I08a9fc4fd334c499c7a09d2960145743a798094e
2016-05-04 17:58:45 +00:00
Sho SHIMIZU
f01fe1c62f Define codec interface for discrete resources
The codec defines how to encode the given resource into an integer and
to decode the given interger to a resource.

This is for ONOS-4281.

Change-Id: I5e9143c9f0285f588274f6649a146bbc1e13dcdb
2016-05-04 16:59:08 +00:00
Jian Li
72f3f10f95 Change the data type of Data Point value from Double to Object
Change-Id: If5243fcb25c9893601695743b562ce88b844c64d
2016-05-03 18:49:38 +00:00
Jian Li
1077dd78fa Add annotation to ChartModel
Change-Id: I7c299ccb3a6363fac1c66ce001813e2197029e1e
2016-05-03 16:45:36 +00:00
Saurav Das
59232cf8f8 Changes include:
bug fix for host IP and MAC flows not being generated sometimes in multi-controller scenarios
      bug fix for filtering objectives not being sent sometimes when ports become available later
      npe fixes in ofdpa driver for cases where selectors or treatments may not be available
      new cli command to manually trigger routing and rule population
      portstats option on cli to display only those ports with non-zero stats
      group cli command tab completion displays choices in lower case (similar to flows)
      segment routing cli commands now start with sr-

Change-Id: Idcd641882d180acbd304e5560ed3483b5a943f96
2016-05-03 00:52:58 +00:00