811 Commits

Author SHA1 Message Date
Hyunsun Moon
523d976c45 CORD-280 Enhanced initial node setup process considering various scenarios
- Handled situations where ovsdb, integration bridge, or vxlan port are
already connected or exists when the application activated
- Don't make use of mastership for ovsdb device, it does not work well in
device disconnected or re-connected situations

Change-Id: I002948f4a06126430f6019c79a0d84df16c9399c
2015-10-20 13:51:06 +00:00
Hyunsun Moon
4f02b3a4ca CORD-280 Added CLIs for cordvtn
Change-Id: I76e0358ccf3f71ad7cb1f9ba048616f0177d7666
2015-10-20 07:05:58 +00:00
Saurav Das
a07f203fbe Mostly just fixing typos
Change-Id: If543e9190035016161dfedd51136d66b799b8e26
2015-10-19 22:42:13 +00:00
Ray Milkey
569cce0f74 Remove UDP flow rules
No longer needed because RADIUS packets
come directly from UDP and not as packet in.

Change-Id: I91fc37fc973c25a4b42c928ce6de41e71331f59d
2015-10-19 15:16:07 -07:00
Ray Milkey
4ed9369848 Support RADIUS server outside of the ONOS network
Change-Id: I7e64faae6831467e084db878e02023d40fb33f07
2015-10-19 22:15:31 +00:00
Julian Lawrence
14c7318593 Updated mfwd delete behavior and fixed some small bugs
Change-Id: Id354a88507e94b83fd0007c084cdbf35093bbd1a
2015-10-17 13:05:23 +00:00
Rusty Eddy
158d5d8819 IGMP Deserialize now properly uses the offset and
length parameters to deserialize the correct area
of data buffer.

Change-Id: I5d8869c25d397d5d07aad014ef00d0decef22d4f
2015-10-17 13:02:18 +00:00
bobzhou
f8da9652db [ONOS-3013]: unify the output of subnet api
Change-Id: I97f9f61137282358cf8b8a9c5a172825f5a1d5a6
2015-10-17 12:49:43 +00:00
HIGUCHI Yuta
aa4196f2b6 lower log level
Change-Id: Ib2aabc6b002170fac31ea3ddaf171bb8cf81e522
2015-10-15 20:20:00 +00:00
Charles Chan
eb088e6fcd Fix possible concurrency flaws in ArpHandler
Change-Id: I7e869453aefa580246af593c211aa98fb417f5cc
2015-10-15 19:14:36 +00:00
Hyunsun Moon
1f14555ea1 CORD-151 Implement initial compute node setup
Followings are changed
- Changed nodeStore from eventually consistent map to consistent map
- Removed ovsdb connection management(ovsdb controller has connection status)
- Not only one leader but all onos instances make ovsdb session

Following jobs are done
- Reads compute node and ovsdb access info from network config
- Initiates ovsdb connection to the nodes
- Creates integration bridge on each ovsdbs
- Creates vxlan tunnel port on each integration bridges

Change-Id: I8df4061fcb1eae9b0abd545b7a3f540be50607a9
2015-10-15 17:48:13 +00:00
Charles Chan
b8e10c86b6 [CORD-209] Improve config loading of SegmentRouting
Change-Id: I8707a26a9c25d35467e58556f9d3167c91f46e08
2015-10-15 17:42:06 +00:00
Aaron Kruglikov
29327981ce Added automatic mastership load balancing. Added comments in patch set.
Change-Id: Ia29dfbdd9d2afcc79b1f25c7690d073e6ad94f61
2015-10-12 21:50:32 +00:00
Charles Chan
48922639f4 Remove original network config handler
No longer need this since we start using Network Config Subsystem

Change-Id: Ib038963e8d677f3533ba1a815af9c5d870a1d158
2015-10-12 21:43:21 +00:00
Brian O'Connor
5251562d15 Fixing Javadoc errors
Change-Id: I72b9d49e052316cbbbef343d367ffffe13cd4e56
2015-10-09 17:08:17 -07:00
Brian O'Connor
bc865f6a1a Fix ProxyArp
Only handle packets that we are explicitly listening for

Change-Id: I4f3121bbd94568b420eb1c6d15ba73fbcc8690ef
2015-10-09 20:20:05 +00:00
suibin zhang
0db93392d4 ONOS-3088 fix - exlude package processing for non-ARP or non-IPV6 packages
Change-Id: I24c942e017f36dd6dd9fca2c37e77cdcb328e21d
2015-10-08 20:43:22 -07:00
Charles Chan
4636be0a07 [CORD-200] Improves Segment Routing using Network Configuration Subsystem
The missing part of gerrit #5533

Change-Id: I0830aa80f9be0e9933a99e0c12518aef67008a53
2015-10-09 02:04:46 +00:00
samueljcc
da82eb84b7 [ONOS-3080] ONOSFW consists of three parts vtn/vtnweb/vtnrsc. Before we
need deploy three applications, but now vtn/vtnweb/vtnrsc as three
bundles are packaged as a single application. instead to install three
application. of cource if the other apps want to depend on any one of
three bundles, it can do.

Change-Id: I3535b36ac082dbb90cb714ba83d2336c950a22a1
2015-10-08 21:43:17 +00:00
Ray Milkey
af86fbff62 More AAA refactoring
- parameterize the UDP port of the RADIUS server
- clean up some unused constants
- refactor config code to reduce repetitive code

Change-Id: I797dabd12c8ccd522f1ab0812c2b03da7264f2c0
2015-10-08 16:00:33 +00:00
Charles Chan
d683288781 [WIP][CORD-200] Improves Segment Routing using Network Configuration Subsystem
DONE
- Remove original configuration subsystem
- Implement new SegmentRoutingConfig
- Update SegmentRoutingManager and DeviceConfiguration

TODO
- Extract adjacencySid array from JsonNode
- Extract subnets and prefixes from port subject

Change-Id: Ic7fec102f4427a30eec99ebf6c7c5584652a6280
2015-10-07 20:57:23 +00:00
Pingping Lin
9b85c03afc enable run reactive routing without BGP
Another improment is: if we config interfaces for local subnet
   in network-cfg.json, sdn-ip will classify the traffic correctly

Change-Id: I94d80bc5a7c29b70e6c8546d99b71850cfb3f14d
2015-10-07 20:44:02 +00:00
Ray Milkey
57f2e14c1f Modify AAA app to use the network configuation service
Change-Id: Ie7e12dfd9a3b80c55db2b55bdfdf431db8157d24
2015-10-06 09:50:48 +00:00
Rusty Eddy
7ca3ed9942 Bringing cli commands back to mfwd and pim
Change-Id: I8350f71b67a18fb77c62e0cef8219a93d52770a0
2015-10-06 09:42:39 +00:00
Rusty Eddy
c0e3feaeaa Added a CODEC for the MRIB to be used by CLI and REST API
Change-Id: Ia57c2862a642f037b2098c4d143822b2d199bc07
2015-10-05 17:46:24 +00:00
Jonathan Hart
9a426f8ade Generalize IntentSynchronizer and separate reactive routing code
* IntentSynchronizer can now handle any intent rather than having use
   case specific APIs
 * IntentSynchronizer does not generate or store intents anymore, it only
   perform synchronization
 * SdnIpFib generates and manages the procative route-based intents
 * ReactiveRoutingFib generates and manages the reactive intents
 * Unit tests have been tightned up to only test single components, rather
   than multiple components together
 * PeerConnectivityManager uses meaningful keys when creating intents

Change-Id: I4bb036ec8d056f43ece46f7dfc71d5e5a136b77d
2015-10-05 16:06:56 +00:00
Sho SHIMIZU
7d20af107c Refactor: Rename to more descriptive name
Change-Id: I013c45690f7f405b66d656fd8e53d4a41c31e6da
2015-10-02 22:56:54 +00:00
Sho SHIMIZU
a6426cb218 Refactor: Remove intermediate layer just delegating to DeviceResourceStore
Change-Id: Ie46298311e889a737c4c2ecaefa09ba1bc13d547
2015-10-02 22:18:25 +00:00
Sho SHIMIZU
5c16df85a6 Replace method call of DeviceResourceService with that of ResourceService
Change-Id: I7a0400652cd43831a3fff4c0dc73fbe79d4eb633
2015-10-02 21:54:44 +00:00
alshabib
2ce0c733ce cleaning mcast route data type in preperation for the backing store
moving package to API with BETA tag

Change-Id: I62a611dcb67b6b4d3ee6f90ed2e963ea345b7d6e
2015-10-02 18:34:06 +00:00
Sho SHIMIZU
7431fa1ea3 Remove unnecessary continue
Change-Id: I7e3b68c3b5c40520aaac2821dc4e3848eec89520
2015-10-02 10:53:26 -07:00
Jon Hall
1ea57e14b4 Print exception to log instead of stderr
Change-Id: Ib4ecad88ba81ba3ba14d1fbcc1581ef4c16a3abb
2015-10-01 17:00:14 +00:00
Ray Milkey
7e5a2037c2 Minor AAA refactoring
- pulled some common code out into a method
- fixed some spacing problems

Change-Id: I7c4f0cc6f236e8c05188fb94df3ec9ebe70140bf
2015-10-01 16:36:42 +00:00
Ray Milkey
911c519e31 Unit tests for packet processing the the AAA app
Change-Id: I51149fdf9ce5bfe4ee8d67564165b94f3e39e379
2015-10-01 16:36:41 +00:00
Saurav Das
428ebc9c89 Removing some old dependencies in bgprouter.
Fixing the ICMP handlers in a couple of apps.
Adding some sample configs.

Change-Id: Id33e0effd9452558fc4d07d78b093f0818e96d23
2015-09-30 10:04:25 -07:00
bobzhou
e528c1182f [ONOS-3013]fix VTN bug: unify output of subnet rest api
Change-Id: I1b03010ff27b55bb8d2679f0e6d0945717f340d6
2015-09-30 15:14:01 +00:00
Sho SHIMIZU
5eb79c5f69 Remove unnecessary cast
Change-Id: I66acf110940f8562234461b88d7c97070e0568e4
2015-09-30 00:12:21 +00:00
Nikhil Cheerla
d6734f654b [Emu] FlowAnalyzer app code and tests
Change-Id: I8b6f83f7d2e76a4e8cf770d9b0018be283e91bf3
2015-09-28 10:45:06 -07:00
samanwita pal
a3d1d1c9c5 ONOS-2926 Sending DHCPNAKs to failed ASSIGN request
Change-Id: I04658313c516934cd946733d8e30093523f83d7e
2015-09-26 00:35:03 +00:00
Rusty Eddy
ddef8937ff Added McastConnectPoint to track membership source
for egress ConnectPoints by STATIC config, PIM and
IGMP.

Change-Id: Ia913ee697e0cae32dd74db508e5ea2cba0d47c45
2015-09-25 21:55:04 +00:00
Charles Chan
d4db3abe8d [ONOS-641] Update RouteEntryTest and RouterTest to include IPv6 as well
Change-Id: I51aad28cc830074597a2a8eea252ca61f6b06586
2015-09-25 19:22:10 +00:00
Thomas Vachuska
9bb3235f0b ONOS-2997 Cleaned up the package name-space and the REST API of the ACL app; REST API needs more work and should use codecs.
Change-Id: Ibb52740befb99185f9495b54994903fadf9f79bc
2015-09-25 19:01:48 +00:00
Ray Milkey
1c0ea1a12e More AAA app refactoring
- cleaned up exception handling a little
- reformatting of the code to be easier to read and group similar code together
- fixed some style problems found by IntelliJ

Change-Id: I932ac48d82b598b1f59c906477fb5e4deded413f
2015-09-25 18:37:01 +00:00
Ray Milkey
75879ef98f AAA App refactoring
- optimized lookup of state machines
- modified getter/setter method names to match ONOS project standards
- made StateMachine local members private and add accesor methods
- added unit tests for StateMachine lookups

Change-Id: I5704ddc4d8b1b3c887be1262f2edd78965e4a8bf
2015-09-25 17:24:10 +00:00
samanwita pal
c40e5ed5ba ONOS-2926 Remove IP instead of host when the IP mapping is released
Change-Id: Ifea3366ce8a18ea068e615636b3069e769221c0e
2015-09-25 01:51:31 +00:00
Ray Milkey
c3fca7fa69 Refactoring of AAA app classes
- break up multi compilation unit class
- improve exception handling
- start on general clean up

Change-Id: Ic0b4e19a25c2fc1d64c73bfc4273c82cbcaf5d45
2015-09-24 19:19:20 +00:00
alshabib
a9b2b5d254 adding a multicast service to track multicast information.
This will be used by publishers to advertise multicast information
and by consumers to realise it on the dataplane.

This is currently an app but it may be moved to incubation.

Change-Id: I6e350989207ce2207bf70da22ca15c8237b1d240
2015-09-24 00:01:58 +00:00
Hyunsun Moon
2b5303220b CORD-151 Refactor cordvtn service to reduce complexity
Change-Id: I489e1d3df7f08d04d6b6a2aa23b9d4e6d7a054e4
2015-09-23 23:05:25 +00:00
alshabib
eff0054349 Adding mfwd, igmp and mfwd apps
Change-Id: Ie7187716db36b754e4cd687a8f9de004e27c7825

adding mfwd, pim, igmp apps

Change-Id: Iddd2dcee24dc905d5ff0efe1d1d798fc83a7c736
2015-09-23 22:03:48 +00:00
suibin zhang
b3eded023e change intentperf to explicitly use NewDistributedFlowRuleStore
Change-Id: I4b3b933140d67a3b18aee50ac4b8d9118cc32d8a
2015-09-23 21:19:53 +00:00