3036 Commits

Author SHA1 Message Date
Jian Li
0665396cec Fix: enable resolve MAC address in ARP proxy mode at gateway node
Change-Id: I43e8e9542e9ff946f44d94990d440e7c401b4956
2018-05-08 18:36:21 +09:00
Jian Li
70a2c3f89f Implemented extended SONA pipeline /w splitting VNI from DHCP Table
Change-Id: I1644b486e85ea2d0af9b9f317fe9b4a333915480
2018-05-08 04:01:01 +00:00
Jian Li
99892e9332 Fix: remove FloatingIp related flow rules when removing a VM
Change-Id: I0de430421ccece5a278d7629ec4d54ec41b6d02a
2018-05-08 03:42:28 +00:00
Yuta HIGUCHI
ab35080089 Few minor javadoc fixes
Change-Id: I765ced1cb56f728238072ed3ff816faf21695c50
2018-05-07 23:26:52 +00:00
Thomas Vachuska
6f6b662faa Fixing the access network null simulation and adjusting layout.
Change-Id: Ib6f0c100789b1f802269018d36aed8d06ce4e5d4
2018-05-07 22:19:37 +00:00
Jian Li
7d691f3f1e Enforce OVSDB runs as an OVSDB client mode only during SONA startup
Change-Id: I9aefab86ba8e13e349f75ec0beccfc5b0048f809
2018-05-04 21:29:51 +00:00
Yuta HIGUCHI
7847227140 Fix artifactId
- bgp, bgpcep, general provider
- onos-app- => onos-apps-

Change-Id: I49fd905a0765d21f7cc329a7f7a5593c78dd3d28
2018-05-04 16:23:00 +00:00
Charles Chan
9bd0e5a1e2 Send probes when host moves
Majorly for the 2nd step of [1A/x, 1B/x] -> [1A/x, 1B/y] -> [1A/y, 1B/y]
But will also cover [1A/x] -> [1A/y] -> [1A/y, 1B/y]

When receiving probe for 1A/y in [1A/x, 1B/y] state, simply replace 1A/x with 1A/y instead of creating a transient 3rd locaiton

Change-Id: I058a265bbe5019d4305aa09d70e095fec0d7e429
2018-05-02 20:00:44 +00:00
Charles Chan
94549653ae Host pointing to the pair port after its pair device is brought down and up
Host-related programming should be done in the same thread to guarantee the order

Change-Id: I07f6e60f4d9ea4392295a7f7ec21b3e2c96aca45
2018-05-02 20:00:44 +00:00
Carmelo Cascone
d9af042fb1 Minor fix P4 tutorial exercise 2
Change-Id: Ia97c3c2fd79ab34906e5beb34d0549d72d1216af
2018-05-02 07:04:10 +00:00
Saurav Das
9a55429ae1 Adding a component config to take down single homed host ports when all uplinks are lost.
In addition:
   - handle port updates that may be lost if mastership changes at same time
   - fix javadoc in DeviceService

Change-Id: I032909e8ab9564cf9c978b1d66abd3ab32c814d7
2018-05-01 15:49:55 -07:00
Thomas Vachuska
5b48d6ca84 Adding topology overlay support for the server-side topo layout app.
Also:
- parametrized access network layout in preparation for multiple variants
- removed WS authentication code temporarily until proper forced-logout is implemented
- updated STC warden environment (test only)

Change-Id: I0adbe60737828db79350e7eb2fc72cf313b78a28
2018-05-01 15:41:50 -07:00
Charles Chan
971d7ba29e Move some functions from segment routing manager to interface service/manager
Change-Id: I7185cf70f7e5d723a63ac35296b8916558560c35
2018-05-01 15:41:49 -07:00
Jonghwan Hyun
5efd768b57 Bug fix in SegmentRouting
- Correctly program filtering objective for spine-facing ports in leaf switches.

Change-Id: I07ad3980b2e66cecf4c2dd5cfbf70243c7ad4f39
2018-05-01 05:56:09 +00:00
Thomas Vachuska
9f0e15b296 Adjusted auto-layout to better deal with large number of service hosts.
Change-Id: I848ed24367114ecc13a4ce6463afa755941fdf41
2018-04-26 16:59:19 -04:00
Jonghwan Hyun
800d9d0770 [ONOS-7624] Implement egress pipeline programming
- Implemented logic to handle double-tagged host in segmentrouting application.
- Added 'DummyVlanId' to segmentrouting application to keep track of dummy vlan for L3L2Unfiltered group chain and egress tables.
- Implemented L2Unfiltered group and Egress pipeline programming support in OFDPA pipeline.
- Added EGRESS flag to the forwardingObjective to program Egress tables.
- Fixed bugs when handling double-tagged ARP request, to get correct vlan id and reply with double-tagged packet.
- Fixed bugs in BasicHostConfig, to set the value of 'outerTpid' to 0x8100 if it is not specified.
- Fixed build(ARP/ICMP/ICMP6)reply to build double-tagged reply if corresponding request is double-tagged.

Change-Id: I1fdc30b55827c3f73fad9e854bcaa5fb23f7bcd0
2018-04-26 15:32:17 +00:00
Jon Hall
7d77fe1bb2 Fix typos
Change-Id: Ic20df648fbc3546da20122deaa95f018b9d29f47
2018-04-26 08:23:18 +00:00
Thomas Vachuska
3fd1ceeef3 Fixing access layout to better accommodate arbitrary number of service hosts.
Change-Id: Ia46b168e2337553bfd47fdabccc5eb08d63566dc
(cherry picked from commit 6c8e5f854f24eb8c9f2b18b23416f6bc0cd2f37d)
2018-04-26 02:08:52 +00:00
Thomas Vachuska
834cc08f79 Corrected the access layout to work even when there are no HAG spines.
Change-Id: Ic5a8d26974b78afc19d3fcc463150083706a64ae
2018-04-25 12:07:23 -07:00
Saurav Das
c6ff8f0d2e Bug fixes for route-path programming
- Leaves should avoid going through other leaves to reach destination
 - dsNextObjective store should only be purged by new master before a full reroute
 - move full reroute for master change to a different threadpool from retry filters

Change-Id: I33be83bfb90d5848cfe94ed0fcdc17f2cca6d73f
2018-04-24 13:07:35 -07:00
Taras Lemkin
96a0d34085 CORD-2870: Bypass DHCP leasequery without learning routes.
Changes:
    * Add configuration flag to disable old leasequery routing/learning flow
    * Route leasequery (v4 and v6) responses to an originator
    * Fix NPE and BufferOverflow exceptions in Dhcp6LeaseQueryOption
    * Make Dhcp4/Dhcp6HandlerUtil classes static
    * Fix codestyle issues

Change-Id: Ic9e527d73a226e7f1f544dab9fb98398b85c5460
2018-04-24 14:52:04 +00:00
Carmelo Cascone
12c972846e P4 tutorial exercise 2
Change-Id: I91f8a9287cdfd57a4a9c03b91fdc0de57b8d4f2c
2018-04-24 04:51:09 +00:00
Saurav Das
201762d377 Handling mastership changes during route-path programming
Change-Id: I2467d68c29d03cdd96044f23fcf14b6b53c9f9be
2018-04-23 14:29:12 -07:00
Pier
477e0066c3 Improve Mcast termination
Change-Id: I2855d28b374af821667e08bb3baec01f5cfd8100
(cherry picked from commit 173204690b035f1b9be36022c9dfd64f1f264123)
2018-04-23 09:10:01 +00:00
Charles Chan
10b2fee6ea Minor improvements
- Fix typo
- Remove unnecessary warnings
    - Ignore dhcp config register/unregister event
    - Ignore interface IP update when there is no host discovered on that interface

Change-Id: I530fe36eb063ac8b3397c86e888c0a6c2ab8984b
2018-04-21 16:36:19 -07:00
Andrea Campanella
6468e1f700 Fix for routingHandler NPE.
Adding initial delay in handing network config to buffer event and handle async behaviours.

Change-Id: Id6f296f79b74d0386ea4dcb50e7701a672ef51d6
(cherry picked from commit 15fcbba61dbf79836c7f3088bfd257347d0dd2de)
2018-04-20 09:10:49 +00:00
daniel park
859db25a07 bugfix
Change-Id: I07e35f64c7b15bb7a14e8695bb2ebbdbf5ae3d41
2018-04-20 05:08:25 +00:00
Charles Chan
6577f61496 Fix a thread leak
Change-Id: I6a39abd634c2be684cf567c1f2b2e43d17f46fc3
2018-04-19 22:55:16 +00:00
Charles Chan
8bc75ee52b Implement sr-should-program command
Change-Id: Ie7da6c83b1f432c5f84a13712d0a1be106733c6a
2018-04-19 22:31:33 +00:00
Charles Chan
50bb6efb2f Performance improvement when handling host move events
- Avoid querying shouldProgram every time
- Override flows directly instead of remove and add
- Remove unnecessary event handling delay since we have in-order execution now
- Avoid re-initiation of shouldProgram
- Make sure executors are shut down during SR deactivation

Change-Id: I28e383ed2dcb66d503da25934456008e83683b78
2018-04-19 21:53:04 +00:00
Pier
06d0a77f3b Fix npe when adding a null element in a collection
Change-Id: I946e0c911e100ffcbf123eb6bef44c26c31a46cc
(cherry picked from commit 4bcc32231a6ad94d6f3ea43180b0b5d1e92dbd4e)
2018-04-19 14:57:22 +00:00
Pier
b1fe738936 [CORD-2903] Improve SR/Multicast APIs
Change-Id: Id44af87569e0a83129c96504b21c69e1d455f785
(cherry picked from commit a2858a34a26e02e9d2dd66dc562d0f6fb2c4bdd1)
2018-04-19 06:41:40 +00:00
Pier
96f63cb638 [CORD-2937] Improve work partition on Multicast
Change-Id: Ia8761245e7f199721c1228bfd500e0392a20de05
(cherry picked from commit 901851ef9f2a53d6fdd08d0cc1232b125f1e35bf)
2018-04-19 06:37:00 +00:00
Thomas Vachuska
c3a947f263 Adding server-side default topo layout and fixing GUI to allow remote zoom/pan.
Change-Id: I7fe4d3256afe1bdeac5caabda0283f88e8360c23
2018-04-18 23:58:02 +00:00
Carmelo Cascone
0bd3b18df2 MyTunnel exercise with solution for P4 tutorial
Change-Id: Ifddfa27d6df6545bbd529239ca400967fb623a29
2018-04-18 23:33:14 +00:00
Charles Chan
2690face00 Correctly initialize routes with multiple next hops
- Solve an issue where next hops are available on both leaf switch but one still pointing to its pair through the spines
- Improve unit tests

Change-Id: I94fe79bd9289efe544d82b858928d65201a0b0b2
2018-04-18 19:59:56 +00:00
Pier
3bb1f3f22b Optimize Multicast sinks processing
Change-Id: I5e4c48076edbadc38943d9ee05359341ef55aaca
(cherry picked from commit a17ad9e3f8fe1d2925e6d9fd84d3d96ef79cc78d)
2018-04-18 16:59:03 +00:00
Jian Li
3905787479 [ONOS-7621] Use OpenstackAuth info to authenticate keystone in CLI
Change-Id: I862742de3cc2f7c711bfbd537a9251c3bdc19fb8
2018-04-18 10:05:16 +00:00
Carmelo Cascone
422f8c4c96 Tutorial VM pointers and corrections for ONOS-P4 tutorial exercise 1
Change-Id: Ia8872a1d5b8c2962a63dbfa7825ed0d6994b8a4e
2018-04-18 15:26:58 +09:00
Carmelo Cascone
9bc6a14a2e Initial P4 tutorial instructions plus minor fix
Change-Id: I3eeceb09f34a55b901f8f01f5f3058c2d0fcca07
2018-04-18 05:36:10 +00:00
Jian Li
27841664a4 [ONOS-7621] Support injecting keystone auth info through network-cfg
Change-Id: I2439e257f0f576c46b68322b8c8f1c87fa2cc9ae
2018-04-17 13:03:12 +00:00
Yuta HIGUCHI
47960ef8d4 Fix problamatic & remove stale pom related files
Change-Id: I3cf1d30ca7385a228d887c5652ac4a830659b7fd
2018-04-13 17:41:10 -07:00
Ray Milkey
bca9049101 Starting snapshot 1.14.0-SNAPSHOT
Change-Id: I97bab4e31d2b701f015289eae29d0c58a4937685
2018-04-13 12:47:31 -07:00
Andrea Campanella
a336974371 T3: tracing only through flows in ADDED state
Change-Id: Ie6a11d25045e949217ce3575360e27512ba680da
(cherry picked from commit eeeab1f6050fd39ad555f33946af43af2c36bf7a)
2018-04-13 14:07:35 +00:00
Jian Li
2a43cb3f1d Config ARP proxy mode by default ensure it works in VXLAN and VLAN
Change-Id: Iab7e1c71d872b37a6f5309b2d4f9839f9f35fcfc
2018-04-13 16:23:10 +09:00
Ray Milkey
6fc64c1e0c Sonar fixes
Change-Id: Id9209ef62897df0f70f0409053ed3ef90e5f18df
2018-04-12 18:07:31 +00:00
Yuta HIGUCHI
71f8e7b6c1 Fix weird usage of Comparable
Change-Id: I03b7ebf80f419f2e09cc1c99d02b23cb0cdef6b3
2018-04-12 10:30:27 -07:00
Jian Li
bb4f541bb2 Fix: resolve NPE by obtaining networkId from subnet instead of port
Change-Id: Ib49a8627e601bc893062069daf6f266fcc8e8460
2018-04-12 01:43:46 +00:00
Carmelo Cascone
700648c993 MyTunnel P4 tutorial app and pipeconf
Change-Id: I0549276fc7f6c8d0d244d6c52b1b9e85b9c3e13c
2018-04-12 01:13:33 +00:00
Carmelo Cascone
255125d9fc No need to map table counters in PI pipeline interpreter
This is related to ONOS-7595. In a recent P4Runtime update, it has been
made explicit that tables can support at most 1 direct counter. Hence,
the pipeline interpreter no longer needs to provide a mapping between a
table and one of potentially many counters. If needed, such mapping can
be derived from the pipeline model (i.e. the p4info)

Change-Id: Ibdece52f35a4d187ab9dbeb90f5527b6285e9788
2018-04-11 21:24:48 +00:00