1658 Commits

Author SHA1 Message Date
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
Madan Jampani
a4a59945d9 Mark couple of expensive LeadershipService methods as deprecated
Change-Id: Iff9207a917de5855153f641ddabe1afba0178d53
2016-05-02 20:15:55 +00:00
Jian Li
1aa0782e6b [ONOS-3851] Initial implementation of Web GUI of CPMan
- Revise chart model to provide default label
- Visualize control message stats per device

Change-Id: I88b8e63ce92114907bba185b1906569fa8cc0b83
2016-05-02 17:47:16 +00:00
HIGUCHI Yuta
ee66aadce8 Add failed value as Exception message.
Change-Id: Ieb22f4429d7d8ef17f9c4507f4a229cdf80f1a92
2016-04-29 05:19:48 +00:00
Madan Jampani
1d3b617e23 ONOS-4423: Support for invalidating cached map entries when a client session is suspended
Change-Id: Icb5e73dc7a37d9459d26cd3a5c9ca1e1a05b0436
2016-04-29 00:39:39 +00:00
Thomas Vachuska
4d66d0a4dc Implementing the UiLayoutManager.
Change-Id: I0a3424f7e3b13a3c18e668a5eed5151755bce4f9
2016-04-28 16:20:26 +00:00
Carmelo Cascone
2ea177bb70 ONOS-3961 ONOS-4285 Implemented BMv2 drivers and protocol
Provides Thrift-based implementation for FlowRuleProgrammable and
PortDiscovery behaviours.

Change-Id: Ibbf8720d92301bcd23c5c583d156f464015ff1ef
2016-04-26 18:43:51 +00:00
Aaron Kruglikov
a26f6544c5 Adding commands for the distributed multimap.
Change-Id: Ieecfea9aaabefa1f95918d4f95c489a0e94b01a9
2016-04-26 01:06:50 +00:00
Brian Stanke
9a108975d7 ONOS-3633 - Implementation of virtual network point to point intent provider.
Change-Id: Ie2c1e5ac278bc0dd6259479c44dd92b9b625e90b
2016-04-21 19:12:39 +00:00
Madan Jampani
d5714e09fd New and direct StorageService method for creating an AtomicCounter
Change-Id: I8c189584dde590842075bea7e03c4c8ecf8d72c2
2016-04-19 21:37:35 +00:00
Aaron Kruglikov
9970265c43 Adding asyncConsistentMultimap interface.
Change-Id: I3cd3632e29ff8c5eaf8328a7fdf77ead0b2d9093
2016-04-19 19:05:07 +00:00
Charles Chan
d55e84de33 CORD-348 multicast support in SegmentRouting and vRouter
In this submission:
* Setup/teardown multicast route according to SinkAdded/SinkRemoved event
    - ingressVlan and egressVlan is configurable through network config
* Change behavior of OFDPA VLAN assignment
    - Always use the VLAN in metadata if present
* Bugfix of writing immutable object

NOT in this submission (coming soon):
* Error handling (e.g. link/device failure recovery)

Change-Id: I9be11af04eb2d6456b865c7e59e96cc02370f846
2016-04-18 20:06:57 +00:00
Jian Li
dab7256be5 [ONOS-4258] Initial implementation of supporting extension in REST
- Support Nicira extension

Change-Id: I62bf4417e43459727ce7d4b1ac929c6cf0b7826f
2016-04-18 17:24:04 +00:00
Jian Li
1546882885 Revise ChartModel and add ChartRequestHandler, ChartUtils classes
Change-Id: I9c72122368c8270df9a1055845281e999d488243
2016-04-18 17:23:18 +00:00
Hyunsun Moon
7bfbc1ce33 ONOS-4154 generates consistent hash for flow ID across multiple instances
Change-Id: I8de850dcc5d6d40ed563f7d476c6e13a09060093
2016-04-18 17:22:02 +00:00
Jonathan Hart
a2eb9ffdde Adapt FIBs to new route interface
Change-Id: I8ac19ad578aac4607fd8319186b6568a21edc1fd
2016-04-18 17:21:36 +00:00
Andreas Papazois
827d8d03c0 [GEANT] VLAN arg not needed when removing interface.
Change-Id: I9015f7df65b924901dab7c32a7dd757f7fa55234
2016-04-15 16:57:02 +00:00
Simon Hunt
338a3b4512 Starting implementation of UI topo modeling. WIP.
If reviewing this, please refer to http://tinyurl.com/onos-ui-topo-model

Change-Id: Iab75f213ca0a7d36619f9c498387b402ac9477af
2016-04-14 09:44:00 -07:00
Andreas Papazois
59e19bbc76 [GEANT] Multiple VLAN-IDs allowed for trunk mode of ports.
Change-Id: Ib6add6f4bcdcc9ed0fb0448fef91f9f0dbebb57d
2016-04-13 20:21:51 +00:00
alshabib
b05be2d9ed Adding support to remove a subscriber.
And fixing an issue where build on a flowrule could not be
called repeatedly.

Change-Id: I85773ac7a3fb4f2970b63599d1eafbfc8b3c5879
2016-04-11 20:52:49 +00:00
Simon Hunt
23fb13539e Started fleshing out the UI topo model classes.
If reviewing this, please refer to http://tinyurl.com/onos-ui-topo-model

Change-Id: I4738392bec1a89c37dff15eff6fe04d66fcabd95
2016-04-11 12:17:50 -07:00
Simon Hunt
cda9c03749 Converted UiSharedTopologyModel to be a @Service.
Change-Id: Idc8df1b9c0a52db01ac545567dacc0e1c770f84a
2016-04-11 10:33:08 -07:00
Brian O'Connor
7cbbbb7009 Adding Copyright notice to files that are missing it
Change-Id: Ic08aad8906dbd4dd062e7adcec7465475cf2bdda
2016-04-09 09:51:27 +00:00
Brian O'Connor
5ab426f9ff Updating copyrights
New format: 'Copyright .year-present Open Networking Laboratory'

Change-Id: I1a9e58b355b775e75245ad875a2d7a4df3f03098
2016-04-09 01:20:21 -07:00
Brian O'Connor
e4da59d8aa Simplifying rules and providing sensible defaults
Updated cordvtn, dhcp, fwd, onos-api, of-api, onlab-rest, onos-rest, onos-gui

Also, fixed checkstyle error print

Change-Id: I9d6ab76791e8603678079067a3b4e007ca7c4667
2016-04-08 18:43:36 -07:00
Jonathan Hart
f04b7d9249 Small cleanups for vRouter app
Change-Id: Ibee46d3b95ee76dd3547e11d046c4620b3b3306d
2016-04-07 15:10:03 +00:00
Sho SHIMIZU
a6b4dc7b4d Extract interface consisting of read-only operations
Change-Id: I0e43b25ea5feba6af882addb0e734d0662f3808f
2016-04-07 15:07:13 +00:00
Ray Milkey
7c25182db9 Fix buck tests
Change-Id: I3d681e6e5c1d3e98c87ccb3d20a619b216ae6133
2016-04-06 19:04:52 -07:00
Brian O'Connor
b86c920526 Updating Buck files to build OSGi jars
- Using osgi_jar for all modules except apps
- Adding target for installation of core modules to .m2 repo

Change-Id: I65d9e3a9567918e275191724842d7d9b1f485128
2016-04-06 18:17:37 +00:00
Jonathan Hart
bfc5c48c73 Implementation of the route service
Change-Id: I4e905cf868ad69c426e4f4155dfd83e1f8b00335
2016-04-06 17:42:10 +00:00