1866 Commits

Author SHA1 Message Date
Brian Stanke
11f6d53693 ONOS-2184 - Initial implementation of Virtual network Intent service.
Change-Id: I03103b4eca797cd32480fbd0e3b4cf0385b50ef2
2016-07-06 17:28:30 +00:00
Andreas Papazois
34a82cfae2 [GEANT] Rate limit on port via NetConf and refactoring.
Change-Id: Id5b5a196bed3b28159160b94bc5ae838d00cb765
2016-07-01 18:30:30 +00:00
Thomas Vachuska
2d6c599891 Fixing an issue in basic device config where config always overrode the type to switch.
Change-Id: I0c48e3d9b41fd60f0429d6a2c989a9f5e6e12f40
2016-07-01 12:42:26 +02:00
Charles Chan
b3ef1fd63b Fix GroupKey interpretation in REST
Input string from REST should not be converted into byte array directly.
Before: "1" -> ascii 49 -> 0x31
After: "0x01" -> 0x01
GroupKey is a byte array with arbitrary length and represented by hex string

Change-Id: If27101f0e5522212c7e434fab58b66e67e9676d7
2016-06-29 14:57:13 +00:00
Jimmy Yan
4deb03b729 Use LambdaQuery in OpenFlowDeviceProvider to get details for optical ports and fix OmsPort totalChannels()
Change-Id: I09bee1ad1cbf4b8d7185c2b022ffed4d8b2ef2e7
2016-06-28 20:44:47 +00:00
Madan Jampani
6a4237d62a Fix AtomicCounter addAndGet
Change-Id: I51e87a327b19956d76f9916a376414b5eea38929
2016-06-27 03:20:54 +00:00
Aaron Kruglikov
8e0a08a19d Disambiguation of the difference between reachability and availability.
Change-Id: Ie4c7468453d64a48a0bf712737f927f7086a5bc5
2016-06-23 00:33:30 +00:00
Yuta HIGUCHI
6eb00cce43 Allow reading PortDescription from DeviceStore
DeviceManager had to reverse-engineer PortDescription
in order to mark port off-line, etc.
which required domain specific knowledge.
(e.g., OpticalPortOperatorr#descriptionOf)

required work for ONOS-4691

Change-Id: I954f5f2db2cb7db938f498ead4c8e3f84212a53f
2016-06-18 07:02:07 +00:00
Hyunsun Moon
10f2adeb18 Removed deprecated methods in Falcon
Change-Id: I535d19de70da0352ffb9c2a897099af57e01287c
2016-06-17 02:25:31 +00:00
Deepa Vaddireddy
0c49b607a1 Fix for JIRA ONOS-4620. Whenever networkconfiguration is deleted even the queued will be removed
Change-Id: I8d7f1a873af90cf86ea34f1a2b1585ef4c3e46e4
2016-06-16 20:47:56 +00:00
Sho SHIMIZU
637ae5d013 ONOS-4690: containsKey() in TransactionalMap
Change-Id: I13a5eea3871a9a6cc5f808b662584d1892ff19bd
2016-06-16 16:49:34 +00:00
Hyunsun Moon
1251e19d7a Refactored bridge config to take bridge description
OVSDB provides lots of bridge configuration options but the exisisting
bridge config implementation only allows some of them by overloading
addBridge method. Also some of the bridge properties were set static
and unable to configure. This patch fixes these limitations.

- Added some bridge config options to the bridge description
- Deprecated multiple overloaded addBridge methods
- Some code clean up

Change-Id: Ibc828177b210bd4b215aea0b63cc359776c13e03
2016-06-16 07:52:07 +00:00
Brian O'Connor
1b2aea88c0 Removing gratuitous relativePath from pom.xmls
The default value for relativePath is: ../pom.xml

Change-Id: I1f5e5e6bfa1e91fcddae4f8cb8ab0c00c276e6b0
2016-06-16 07:05:31 +00:00
Madan Jampani
6c02d9e1f5 New ApplicationStore that uses a single ConsistentMap to track all app related state
Change-Id: Ieacc97f213add8ece8f462cd9971fb6ef3d0dde5
2016-06-16 05:52:12 +00:00
Carmelo Cascone
17fc9e41df Major refactoring of the BMv2 protocol module (onos1.6 cherry-pick)
- Created 3 separate sub-modules: API (doesn't depend on
    Thrift), CTL (depends on Thrift), THRIFT-API (to generate Thrift
    sources)
- Implemented 2 new services (for device configuration swapping and
    table entry management) needed to distribute BMv2-specific state
    among ONOS instances.
- Implemented a BMv2 controller (previously other modules where
    using separately a Thrift client and a server)
- Added a default BMv2 JSON configuration (default.json) and interpreter
    to be used for devices that connect for the first time to ONOS.
    This allows for basic services to work (i.e. LLDP link discovery,
    ARP proxy. etc.).
- Changed behavior of the flow rule translator and extension selector,
    now it allows extension to specify only some of the match parameters
    (before extension selectors were expected to describe the whole
    match key, i.e. all fields)
- Various renaming to better represent the API
- Various java doc fixes / improvements

Change-Id: Ida4b5e546b0def97c3552a6c05f7bce76fd32c28
2016-06-16 00:47:42 +00:00
Thomas Vachuska
d27097cc32 ONOS-4604 Fixed flow objective installation
Removed context from objective toString methods.
Removed duplicate flow objective delegate notifications in the store for next objectives.
Synchronized queueing of forwarding objectives for pending next objectives to avoid notifications race.
Changed logging for better readability.

Change-Id: Ic2bd411a891ea035a2c5513b24dea5fbd48f187d
2016-06-14 19:43:02 -07:00
Yuta HIGUCHI
839b6edf50 Fixing file permissions
- removing executable bit from .java files

Change-Id: I7e993372e1edf942fefb5aaea2e302b3b2baebd9
2016-06-15 02:22:16 +00:00
Charles Chan
fc5c780fa1 CORD-61 Dynamic XConnect support
- Add new XConnectConfig with unit test
- Gather XConnect features into XConnectHandler
- Introduce ObjectiveError.Type.GROUPREMOVALFAILED
- Rename
    - NetworkConfigEventHandler -> AppConfigHandler
    - XConnectNextObjectiveStoreKey -> XConnectStoreKey
    - Test json file
- Refactor

Change-Id: I8ca3176ed976c71ce9e28b7f3722ce80d49c816f
2016-06-14 15:06:11 -07:00
Sho SHIMIZU
9cc4a241cf Make resource retrieval more efficient when specifing resource type
This resolves ONOS-4666

Change-Id: I9d09b60531ca48b36fc20f43498cda62f1badb8b
2016-06-14 21:17:09 +00:00
Saurav Das
b5c236e2eb In this commit:
Bug fix when optimized SR re-routing fails, do full re-route
   Bug fix filtering objectives should be called for new device even if there is an existing grouphandler
   Bug fix NPE in ofdpa driver due to null check on the wrong variable
   New cli command for debugging flow-objectives for pending next-objectives
   Flow objective cli commands now start with "obj-"

Change-Id: I819f82d1d67769cb9fbbde60f099d29b8e7f7c9e
2016-06-14 21:08:22 +00:00
Jayasree Ghosh
3684dc7c5c ONOS-4635:Fix Issue with add flows using flowobjective-forward REST API with incorrect priority
Change-Id: I929918b61aec83c2dc2cdca456dfdb1d2d736c01
2016-06-14 11:54:43 -07:00
Jian Li
11260a0192 Try to use ModMplsHeaderInstruction and ModVlanHeaderInstruction
Change-Id: I0b486907ef718a6dfa3e92696397fe5a7e851aed
2016-06-13 15:46:14 +00:00
Kavitha Alagesan
14dc5136c2 Fix for the Issue - flow rules greater than max-priority ONOS-4613 .
Change-Id: I8870eb5f8840ed2f04cfac3b5c70d6bd7f249a1d
2016-06-13 13:52:38 +00:00
Brian Stanke
8e9f8d1510 ONOS-2184 - Adding VirtualNetworkTopologyService using Virtual networks.
Change-Id: Ib7071314b49e23dc67459f70e7ca345f8a97db4e
2016-06-09 17:10:35 +00:00
Ray Milkey
e022ef6c14 Unit tests to be sure drivers will load
Change-Id: I95cd5c7ffa52727cab409541b7dd0e6d5a8d0bd4
2016-06-08 23:01:34 +00:00
Jonathan Hart
54b83e8996 Improve network config validation errors to show which fields are invalid.
Previously, uploading invalid config results in a generic error message
which makes it difficult to figure out what is wrong with the config

Change-Id: I307d2fc0669679b067389c722556eef3aae098b9
2016-06-08 13:47:45 -07:00
David K. Bainbridge
ae06fc4cbd ONOS-4674 - update the version parsing to treat everything after the last separator as a single value
Change-Id: Ie4deac82c4e08eb7fccb12df7c2687a1adead889
2016-06-08 08:43:42 -07:00
HIGUCHI Yuta
cc10558d5c Bugfix: OpticalPortOperator should be able to overwrite port number.
- bug introduced in ONOS-3503.
- added exact equality comparison method to PortNumber
- removed null PortNumber case handling test

Change-Id: I6d1f191b5a64b79426de9d80cffadd6c9de96d56
(cherry picked from commit fdb82fa496ba319fbff49e56956377dcc1c71d5f)
2016-06-07 20:55:36 +00:00
Sho SHIMIZU
50a6dbefa6 Remove API deprecated in Falcon
Change-Id: Ie73d2fcbb79342e1808f78d9c0e75d6ebc540207
2016-06-07 14:59:44 +00:00
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