1866 Commits

Author SHA1 Message Date
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
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