2209 Commits

Author SHA1 Message Date
Thomas Vachuska
b877a6fd6d Modified UI model objects to be backed merely by IDs of the core model objects.
Change-Id: I4ca81fb1c877ee4ce4209d405fd8c6645c8f5d20
2017-04-14 18:51:45 +00:00
Simon Hunt
c4ca710a76 Europe Region Demo data script written.
- Added LayoutLocation class
- Added RegionAddPeerLocCommand class
Note: still need to plumb through peer locations to UI JSON.

Change-Id: Ic3513a3880f50b440fe318dce6896b66d7e79704
2017-04-10 10:34:57 -07:00
Simon Hunt
b3656d4ac8 WIP:: Initial stab at regions demo for Europe.
Change-Id: I80402aea2b3d57bf104db0c0fba68bebda0cae9e
2017-04-07 18:16:05 -07:00
Jon Hall
b471f2c7b6 Add Unit tests for ClusterEvent
- override ClusterEvent's hashCode, equals, and toString

Change-Id: I85e3ff7d60b2c76559d71a4093cff73eee064cf9
2017-04-06 13:56:36 +00:00
Jon Hall
3557db5bd7 Add unit tests for ClusterMetadataEvent
- add toString, equals, and hashCode to ClusterMetadataEvent

Change-Id: Idb1031c01cc6333be76851bb1b2ee196a8732d76
2017-04-06 00:11:48 +00:00
Jon Hall
672a3ed843 Add unit tests for MastershipEvent
- Add hashCode and equals for MastershipEvent

Change-Id: I7897b9efc139db014ebee0b00025b257ca00a4b6
2017-04-06 00:10:28 +00:00
Jon Hall
d543513b78 Add unit tests for ClusterMetadata
- fix a typo
Change-Id: I13f615857b82ef5bf69b437ffb8b9f82d3d7c48e
2017-04-06 00:06:21 +00:00
Jon Hall
a3fcf6754a Fix Sonar issue:
Strings literals should be placed on the left side when checking for
equality

Change-Id: I4537e08936731ace55aeecb3ad941269ec1eb191
2017-04-05 22:54:30 +00:00
Ray Milkey
278e75b90d Add unit tests for FlowEntryWithLoad class
Change-Id: I9663ef207555a6b7371fbf59f2bbe2c0b169c83d
2017-04-05 22:43:15 +00:00
Jon Hall
f074af907b Add unit tests for PartitionEvent
- add hashCode and equals for PartitionEvent

Change-Id: I9f0b2ed7dbadae56ed2045360f56f9be24399183
2017-04-05 22:42:42 +00:00
Yuta HIGUCHI
a8a1375e96 Clarify expected String content
Change-Id: I91e8f19269dfb4b96aa6f8d6bdd42f53b3dc4a0c
2017-03-31 17:41:11 +00:00
Simon Hunt
21281fdddc Refactored Traffic Monitor code to display packets / second.
- cleaned up "rate thresholds" for coloring links.
- added unit tests for TopoUtils.
- "Monitor All Traffic" button on toolbar now cycles between 3 modes.

Change-Id: If33cfb3e6d6190e1321752b6d058274d3004f309
2017-03-31 07:03:33 +00:00
Donghee Yoon
c708e3c8a2 remove dereferencing a null pointer
Change-Id: I2e55920e430a20585c3997122b02540306b21dca
2017-03-31 06:42:48 +00:00
janani b
d821b18cab [ONOS-6224] L3VPN service delete
Change-Id: I2eabb231def39dba6613dc5b95f2b16594133ad4
2017-03-30 18:40:20 +00:00
janani b
f7060cdb24 [ONOS-6199] Huawei driver create and instance delete.
Change-Id: I61e1a8518e9bd2a1a5ed9430052a3e6d3233f148
2017-03-29 23:56:10 +00:00
Gaurav Agrawal
dab4d7789f Enabling port statistics discovery in NETCONF device provider.
Change-Id: I17e6b0832d60ca64db2bc7de1c3184e5c125fdf2
2017-03-29 15:16:02 +05:30
Yi Tseng
fa394defdc Fix for ONOS-5175. GroupId refactoring.
Science DefaultGroupId was deprecated, remove it from ONOS

Change-Id: I82394e58ec1ba10c37492ed77546e233de9f934f
2017-03-24 21:13:57 +00:00
Thomas Vachuska
e2bd115395 Changing default path separator to "|" to unblock dynamic config demo.
Change-Id: I154f369d71ceee26bde6516a978f332a15d389e5
2017-03-23 13:42:32 -07:00
Pier Luigi
f90c650fd5 [ONOS-6033] Corsa pipelines should filter the clear deferred actions
Changes:
- Fix for Corsa CDP6410
- Fix for Corsa CDP2100

Change-Id: I5e9d2869c76f8ad65adc697955094dcf6dd101e2
2017-03-23 16:53:46 +00:00
Simon Hunt
ed81ed63bb Added scale and offset parameters to LayoutAddCommand.
- Also, allow dot (.) to be used as a token for null.

Change-Id: Ic04e9624c03f7f45b14b0ec8a209b6804f6333c4
2017-03-22 15:55:36 +00:00
Ray Milkey
9011dfe7bd Unit test for DefaultConsistentMap
Change-Id: Ia64d989eda26aa50839995feceb3ad36b7d91569
2017-03-20 22:50:55 +00:00
Sho SHIMIZU
8add0f65d2 Simplify the method chain
Change-Id: I658cf03d9bff8a798f0ae84bea04300de49f6714
2017-03-17 19:38:11 +00:00
Thomas Vachuska
43de6ee303 Refactoring abstract driver loader to assure that default drivers get loaded first by default.
Change-Id: I2fd213d8f49b6390ec8f005795bb95661aaee793
2017-03-16 16:02:37 +00:00
Marc De Leenheer
ec551d365b Allow links to be configured as unidirectional.
Change-Id: I25eedc96aab9316c2210952b6ce8cb7ee468412e
2017-03-13 18:20:52 +00:00
Yuta HIGUCHI
76767fad4a "inject" Device provider
- feature to specify # of ports to inject

Change-Id: I4095814f3207b15b59fac9ff7f263c2f3d0a9c7b
2017-03-13 17:18:20 +00:00
MaoLu
937cf4293f change roadm app to support EDFA/ROADM/OPS devices, add OPS PowerConfig/LambdaQuery behaviour
Change-Id: Ieb6de727e766fdeb63740c0704f83fd11e44b935
2017-03-13 05:52:42 +00:00
Yuta HIGUCHI
09697d0a5d ONOS-6067 avoid sending FlowRule against EDFA device.
- Also exclude optical amplifier type from default no-LLDP list

Change-Id: I220d0a3cfa95d80644707cbe3395d3ed63540716
2017-03-07 07:01:44 +00:00
sangyun-han
04c461d567 :Revise behaviour to return empty list
Change-Id: I5e1dfa80cab1b8a8c5a245421be38b44e629cab3
2017-03-03 16:48:22 +00:00
Yuta HIGUCHI
44f18e9094 ConfigFlowRuleProgrammable
- FlowRuleProgrammable implementation which acts as it has accepted any FlowRule request.

-- To be used for a device which exist in-line transparently (e.g., Amplifier ONOS-6067)

Change-Id: Ief09297eb900b804b1c8eb4d6705bbad85a552ad
2017-03-03 16:41:00 +00:00
Yuta HIGUCHI
24bc76b07a Add support for local-status in ForwardingDeviceService
Change-Id: I2e2750cb3ef069d4f3f763ef045fe5c686f9874a
2017-03-02 20:13:21 +00:00
Yuta HIGUCHI
b7a1f8e455 cosmetic fix for OpticalPathIntent
Change-Id: I596d30be1398bd231f6e0f92e0fb0077a165c149
2017-03-02 02:23:17 +00:00
Andreas Gilbert
75b882f7e8 [ONOS-5939] added traffic selector bitwise match on TCP/UDP/SCTP source/destination port
Change-Id: Ibf5947f7a6cac86fab77d15990116040fd8e5ef5
2017-03-01 20:07:39 +00:00
Jordi Ortiz
6d17a49e01 TestConsistentMultimap
Change-Id: I32d2f38dea7ca2659afde0d5365b6d9167194107
2017-03-01 19:48:46 +00:00
Yuta HIGUCHI
e37560f498 Some class of constraints should not be used for link cost evaluation.
ONOS-6021

Current ConnectivityIntentCompiler simply picks first non-negative cost as Link cost value.

Some class of constraints are used to express Path viability or IntentCompiler's behavior.
Those constraints tend to returns fixed arbitrary non-negative link cost, which probably is not the best option to be used as Link cost during path computation.

This patch will:
- Introduce base class for constraints which should not influence Link cost.
- Introduce base class for constraints which should not influence Link cost or Path viability.
- Exclude above classes from link cost computation in ConnectivityIntentCompiler

MarkerConstraint
 base class for Constraints,
 which is not meant to influence Link cost or Path viability.

PathViablityConstraint
 base class for Constraints,
 which is not meant to influence Link cost.

Change-Id: Ice8b83a18cfe3bf5a68c25a853667bfaedb2b1a1
2017-03-01 19:44:06 +00:00
Shashikanth VH
8b1a5efd5f flow specification.
Change-Id: Iacb8eae8fe7cce769a019ecffa6073c015ff80d1
2017-02-28 18:51:11 +00:00
Saurav Das
018605fb4e In this commit: CORD-799
Bug fix for host-update to not remove and add the same IP addr
   NPE fix in ofdpa3pipeline
   Removing unused code in ofdpa2pipeline
   Ability to add or revoke port filters for port-updates
   Retry filters retry for a longer time
   Bug fix for suppress ports to not suppress filters
   Filters now sent only by master instance
   Removing the MPLS BOS=0 rules for now until inconsitent hardware behavior is fixed

Change-Id: I8b4ee4af6de263531e0696af86e65f1c502f5f85
2017-02-23 00:25:41 +00:00
Michal Mach
ce774338fa [ONOS-5911] Port removal after receiving OFPR_DELETE port status reason.
Change-Id: I1f3f6c752da5f989a2d727f378e9f04fbbb71341
2017-02-23 00:24:21 +00:00
Yuta HIGUCHI
0083a5120d Revisit parents handling in drivers command
Change-Id: I35050a0790e871be69bb5517bb49223def97f624
2017-02-22 00:27:26 +00:00
Thiago Santos
943cd54b1f [ONOS-5853] FlowRuleBuilder: automatically set temp/perm field
Add a new method to the interface to allow setting the idle timeout
directly and it will automatically decide if the rule is permanent
or temporary.

Currently the rules created from OF switches would always be made
temporary, even if the idle-timeout was 0. This would cause ONOS
FlowRuleManager to believe they had expired and would remove them.

To reproduce set up a cluster and make a device change mastership, the
new master would have all rules as temporary, even the ones that were
permanent previously on the first master.

Change-Id: I6bca5ba4d0e2194efad21a98cbcd0ab040977f03
2017-02-22 00:22:29 +00:00
Yuta HIGUCHI
5f3f3c4e92 Add description about latency annotation
Change-Id: I91d831ff2ce67a1cc8d762f7f59a7ee01a6f1718
2017-02-18 02:23:52 +00:00
Yuta HIGUCHI
7438f5a982 Mechanism to add Port annotation via netcfg
- intended to be used for driver to support ONOS-5895

Change-Id: Iddcf6f1b99273e8f8670b5f64fc9831e5f4ce3cd
2017-02-17 22:28:18 +00:00
Alan Deikman
8d858750da ONOS-5976 Added CodecContext service to UiMessageHandler to allow
handlers to use JsonCodecs.

Modified the DeviceView to utilize the JSON Codec context capability
for demonstration purposes.   Functionality should be identical.

Change-Id: Ic6d25b4be6fc634dfa88277f17f93287af4c331c
2017-02-17 21:46:43 +00:00
Frank Wang
e11a98d97b [ONOS-5565]Implementation of QosConfig and QueueConfig
Change-Id: I6a367b53cfca2e85e8aaa6cddb541d7b3ffccbc0
2017-02-17 17:36:30 +00:00
Simon Hunt
bc30e68753 More plumbing of grid coordinates vs. geo coordinates.
- Added background reference parameter to layout command
- send correct location data to client for devices, hosts

Change-Id: Ic00bda76f4e4bc8d3e23e07a08f3bc5367ec85a9
2017-02-16 15:46:59 -08:00
Luca Prete
de10c78a4b ONOS-5808: Allocate BW from ConnectivityIntentCompiler and unit tests for partial failure
Change-Id: I2eb3c16efbce619db6d0d2ba415a35752a61ece4
2017-02-16 21:32:32 +00:00
Luca Prete
670ac5dd95 Resource group to share resources between intents
Change-Id: I5bf7d4261197449924d07dabac841cf8ccbe9389
2017-02-16 21:14:05 +00:00
MaoLu
c201ae4c64 Oplink EDFA driver
Change-Id: I7fafa66bf7a5290f2d7ea2e07046fa8dabdb20de
2017-02-16 01:28:20 +00:00
Andrea Campanella
bddba16a7e Device Key Javadoc fix
Change-Id: I9e393c5a252996a17026235cc7299eb0211dc566
2017-02-14 23:39:39 +00:00
Yuta HIGUCHI
5ae8085042 Assign OchPort speed based on ODU signal type
+ cosmetic fix

Change-Id: I6bf5b3417fabdf6c6233b8d945c0c15f47424f36
2017-02-14 19:59:09 +00:00
Simon Hunt
eb3cf54f31 Topo2: Add grid (x,y) option to null-provider devices and hosts (and basic element config).
Change-Id: Ia9eed66bda03174a6986d07fec40eb2a8f7728e3
2017-02-14 10:22:16 -08:00