service function chaining in openstack neutron

22
Security Level: Service Function Chaining in Openstack Neutron Farhad Sunavala Principal Engineer, Huawei

Upload: michelle-holley

Post on 21-Jan-2018

279 views

Category:

Technology


0 download

TRANSCRIPT

Page 1: Service Function Chaining in Openstack Neutron

Security Level:

Slide title: 36-40pt Slide subtitle: 24pt Copy text: 20-32pt

Color: black Corporate Font: Arial

Top right corner for field-mark, customer or partner logotypes.

•  The ten standard colors below are allowed.

•  The colors should be used to be consistent with the structure and understanding of the content along the whole presentation.

•  Do not use more and different colors in single slide.

Service Function Chaining in Openstack Neutron

Farhad Sunavala Principal Engineer, Huawei

Page 2: Service Function Chaining in Openstack Neutron

2

Slide title: 36-40pt Slide subtitle: 24pt Copy text: 20-32pt

Color: black Corporate Font: Arial

Top right corner for field-mark, customer or partner logotypes.

•  The ten standard colors below are allowed.

•  The colors should be used to be consistent with the structure and understanding of the content along the whole presentation.

•  Do not use more and different colors in single slide.

Agenda

1.  Service Chaining – What, why, use cases, architecture, etc. 2.  Openstack Neutron networking-sfc

•  Architecture •  Configuration Model •  CLI •  Flows •  Use Cases •  Related projects •  Final Thoughts

3. Q & A

Page 3: Service Function Chaining in Openstack Neutron

3

Slide title: 36-40pt Slide subtitle: 24pt Copy text: 20-32pt

Color: black Corporate Font: Arial

Top right corner for field-mark, customer or partner logotypes.

•  The ten standard colors below are allowed.

•  The colors should be used to be consistent with the structure and understanding of the content along the whole presentation.

•  Do not use more and different colors in single slide.

Service Chain What ?

All SFC documents - https://datatracker.ietf.org/wg/sfc/documents/

Problem Statement for Service Function Chaining - https://datatracker.ietf.org/doc/rfc7498/

Page 4: Service Function Chaining in Openstack Neutron

4

Slide title: 36-40pt Slide subtitle: 24pt Copy text: 20-32pt

Color: black Corporate Font: Arial

Top right corner for field-mark, customer or partner logotypes.

•  The ten standard colors below are allowed.

•  The colors should be used to be consistent with the structure and understanding of the content along the whole presentation.

•  Do not use more and different colors in single slide.

Service Chain Why ? (Use Cases)

https://datatracker.ietf.org/wg/sfc/documents/ Mobile Networks, Mobile Network Gi LAN, Fixed Broadband, Data Centers, vCPE (E.g. ATT’s uCPE - Universal Customer Premises Equipment)

Page 5: Service Function Chaining in Openstack Neutron

5

Slide title: 36-40pt Slide subtitle: 24pt Copy text: 20-32pt

Color: black Corporate Font: Arial

Top right corner for field-mark, customer or partner logotypes.

•  The ten standard colors below are allowed.

•  The colors should be used to be consistent with the structure and understanding of the content along the whole presentation.

•  Do not use more and different colors in single slide.

SFC – Traditional Way using PNFs (HW Boxes)

SFC – Subscriber Based SFC using VNFs

Page 6: Service Function Chaining in Openstack Neutron

6

Slide title: 36-40pt Slide subtitle: 24pt Copy text: 20-32pt

Color: black Corporate Font: Arial

Top right corner for field-mark, customer or partner logotypes.

•  The ten standard colors below are allowed.

•  The colors should be used to be consistent with the structure and understanding of the content along the whole presentation.

•  Do not use more and different colors in single slide.

SFC Architecture RFC 7665

Page 7: Service Function Chaining in Openstack Neutron

7

Slide title: 36-40pt Slide subtitle: 24pt Copy text: 20-32pt

Color: black Corporate Font: Arial

Top right corner for field-mark, customer or partner logotypes.

•  The ten standard colors below are allowed.

•  The colors should be used to be consistent with the structure and understanding of the content along the whole presentation.

•  Do not use more and different colors in single slide.

Openstack Neutron networking-sfc Documentation

https://wiki.openstack.org/wiki/Neutron/ServiceInsertionAndChaining https://docs.openstack.org/networking-sfc/latest/

Initial release

First stable release, bug fixes, minor API changes,

sfc commands changed to openstackclient, symmetric chain parameter in API, OVS SFC agent as L2 agent extension,

symmetric port-chains, port-pair support for correlation=mpls

Page 8: Service Function Chaining in Openstack Neutron

8

Slide title: 36-40pt Slide subtitle: 24pt Copy text: 20-32pt

Color: black Corporate Font: Arial

Top right corner for field-mark, customer or partner logotypes.

•  The ten standard colors below are allowed.

•  The colors should be used to be consistent with the structure and understanding of the content along the whole presentation.

•  Do not use more and different colors in single slide.

Openstack Neutron SFC Architecture

Page 9: Service Function Chaining in Openstack Neutron

9

Slide title: 36-40pt Slide subtitle: 24pt Copy text: 20-32pt

Color: black Corporate Font: Arial

Top right corner for field-mark, customer or partner logotypes.

•  The ten standard colors below are allowed.

•  The colors should be used to be consistent with the structure and understanding of the content along the whole presentation.

•  Do not use more and different colors in single slide.

Service Chain Configuration Model

Page 10: Service Function Chaining in Openstack Neutron

10

Slide title: 36-40pt Slide subtitle: 24pt Copy text: 20-32pt

Color: black Corporate Font: Arial

Top right corner for field-mark, customer or partner logotypes.

•  The ten standard colors below are allowed.

•  The colors should be used to be consistent with the structure and understanding of the content along the whole presentation.

•  Do not use more and different colors in single slide.

Service Chain Objects

Page 11: Service Function Chaining in Openstack Neutron

11

Slide title: 36-40pt Slide subtitle: 24pt Copy text: 20-32pt

Color: black Corporate Font: Arial

Top right corner for field-mark, customer or partner logotypes.

•  The ten standard colors below are allowed.

•  The colors should be used to be consistent with the structure and understanding of the content along the whole presentation.

•  Do not use more and different colors in single slide.

Service Chain CLI

port pair (ingress and egress neutron ports of VNF) openstack sfc port pair create –ingress <ingress> --egress <egress> <pp1-name> openstack sfc port pair create –ingress >ingress> --egress <egress> <pp2-name>

port pair group (load-balancer for like VNFs)

openstack sfc port pair group create –port-pair <pp1-name> --port-pair <pp2-name> <ppg-name> flow classifier (classifier details)

openstack sfc flow classifier create –source-ip-prefix <source-ip-prefix> --destination-ip-prefix <destination-ip-prefix> <fc-name> port chain

openstack sfc port chain create –flow-classifier <fc-name> --port-pair-group <ppg-name> <pc-name>

port-pair consists of neutron port for ingress and egress. Hence, any entity (Virtual or Physical) which can be described by a neutron port, can be easily inserted or removed from the service chain.

Page 12: Service Function Chaining in Openstack Neutron

12

Slide title: 36-40pt Slide subtitle: 24pt Copy text: 20-32pt

Color: black Corporate Font: Arial

Top right corner for field-mark, customer or partner logotypes.

•  The ten standard colors below are allowed.

•  The colors should be used to be consistent with the structure and understanding of the content along the whole presentation.

•  Do not use more and different colors in single slide.

networking-sfc Flows

src

sf

sf2 dst

10.0.0.3 10.0.0.4

10.0.0.10

10.0.0.6

root@fs-10-145-105-66:~/configs# ovs-ofctl dump-flows -O OpenFlow13 br-int table=0 cookie=0xb524b28024063844, duration=10.116s, table=0, n_packets=0, n_bytes=0, priority=30,icmp,in_port=8,nw_src=10.0.0.4,nw_dst=10.0.0.3 actions=group:1

Classify

Loadbalance root@fs-10-145-105-66:~/configs# ovs-ofctl dump-groups -O OpenFlow13 br-int group_id=1,type=select,bucket=actions=set_field:fa:16:3e:75:cb:ad->eth_dst,resubmit(,5),bucket=actions=set_field:fa:16:3e:07:f3:5f->eth_dst,resubmit(,5)

Tag root@fs-10-145-105-66:~/configs# ovs-ofctl dump-flows -O OpenFlow13 br-int table=5 cookie=0xb524b28024063844, duration=781.070s, table=5, n_packets=0, n_bytes=0, priority=0,ip,dl_dst=fa:16:3e:75:cb:ad actions=push_mpls:0x8847,

set_field:511->mpls_label,set_mpls_ttl(255),push_vlan:0x8100,set_field:4097->vlan_vid,resubmit(,10) cookie=0xb524b28024063844, duration=781.065s, table=5, n_packets=0, n_bytes=0, priority=0,ip,dl_dst=fa:16:3e:07:f3:5f actions=push_mpls:0x8847,

set_field:511->mpls_label,set_mpls_ttl(255),push_vlan:0x8100,set_field:4097->vlan_vid,resubmit(,10)

Page 13: Service Function Chaining in Openstack Neutron

13

Slide title: 36-40pt Slide subtitle: 24pt Copy text: 20-32pt

Color: black Corporate Font: Arial

Top right corner for field-mark, customer or partner logotypes.

•  The ten standard colors below are allowed.

•  The colors should be used to be consistent with the structure and understanding of the content along the whole presentation.

•  Do not use more and different colors in single slide.

Use cases - networking-sfc Simplest case - Same tenant

src1

VNF11

VNF13

VNF12

VNF21

VNF22

VNF31

VNF32

VNF34

VNF33 dst

classify + loadbalance + tag

untag + classify + loadbalance + tag

untag + Normal forwarding

src2

untag + classify + loadbalance + tag

Page 14: Service Function Chaining in Openstack Neutron

14

Slide title: 36-40pt Slide subtitle: 24pt Copy text: 20-32pt

Color: black Corporate Font: Arial

Top right corner for field-mark, customer or partner logotypes.

•  The ten standard colors below are allowed.

•  The colors should be used to be consistent with the structure and understanding of the content along the whole presentation.

•  Do not use more and different colors in single slide.

Use cases - networking-sfc Different tenants –no problem, use RBACs (role based access control)

src1

VNF11

VNF13

VNF12

VNF21

VNF22

VNF31

VNF32

VNF34

VNF33

dst

Classification + loadbalancing

Classification + loadbalancing Classification +

loadbalancing Normal forwarding

src2

Shared network

Page 15: Service Function Chaining in Openstack Neutron

15

Slide title: 36-40pt Slide subtitle: 24pt Copy text: 20-32pt

Color: black Corporate Font: Arial

Top right corner for field-mark, customer or partner logotypes.

•  The ten standard colors below are allowed.

•  The colors should be used to be consistent with the structure and understanding of the content along the whole presentation.

•  Do not use more and different colors in single slide.

Use cases - networking-sfc VNF containers - No problem, use kuryr

src1

VNF11

VNF13

VNF12

VNF21

VNF22

VNF31

VNF32

VNF34

VNF33 dst

Classification + loadbalancing

Classification + loadbalancing

Classification + loadbalancing

Normal forwarding

src2

Containers orchestrated by Docker Swarm / k8s, networked using kuryr

Page 16: Service Function Chaining in Openstack Neutron

16

Slide title: 36-40pt Slide subtitle: 24pt Copy text: 20-32pt

Color: black Corporate Font: Arial

Top right corner for field-mark, customer or partner logotypes.

•  The ten standard colors below are allowed.

•  The colors should be used to be consistent with the structure and understanding of the content along the whole presentation.

•  Do not use more and different colors in single slide.

Use cases - networking-sfc Nested containers in a VM – no problem, use VLAN aware VMs

br-tun br-tun

VM2

patch-int

patch-tun

br-trunk

Bridge

C1 10.0.0.9/24

C2 10.0.0.3/24

C3 10.0.1.4/24

vl100 vl200 vl300

trunk

Vl100,vl200,vl300

vl1

10.0.0.100/24 10.0.0.4

vl1

vl100

vl200

vl300

vl1

vl1

vl1

vl4

br-int br-int

patch-tun

patch-int

VM3

10.0.0.101/24

vl1

vl1

vl1

vl4

Page 17: Service Function Chaining in Openstack Neutron

17

Slide title: 36-40pt Slide subtitle: 24pt Copy text: 20-32pt

Color: black Corporate Font: Arial

Top right corner for field-mark, customer or partner logotypes.

•  The ten standard colors below are allowed.

•  The colors should be used to be consistent with the structure and understanding of the content along the whole presentation.

•  Do not use more and different colors in single slide.

Use cases - networking-sfc Multiple Openstack implementations / site licensing – no problem, use Openstack TriCircle

https://wiki.openstack.org/wiki/Tricircle

Page 18: Service Function Chaining in Openstack Neutron

18

Slide title: 36-40pt Slide subtitle: 24pt Copy text: 20-32pt

Color: black Corporate Font: Arial

Top right corner for field-mark, customer or partner logotypes.

•  The ten standard colors below are allowed.

•  The colors should be used to be consistent with the structure and understanding of the content along the whole presentation.

•  Do not use more and different colors in single slide.

Use cases - networking-sfc

Use neutron provided services like FWaaS, LBaaS, VPNaaS as VNFs in the service chain. Integrate PNFs (Physical Network Functions) with VNFs as part of a service chain using L2GW. Support for Service Graphs branching and reclassification.

Page 19: Service Function Chaining in Openstack Neutron

19

Slide title: 36-40pt Slide subtitle: 24pt Copy text: 20-32pt

Color: black Corporate Font: Arial

Top right corner for field-mark, customer or partner logotypes.

•  The ten standard colors below are allowed.

•  The colors should be used to be consistent with the structure and understanding of the content along the whole presentation.

•  Do not use more and different colors in single slide.

networking-sfc related projects 1.  ONOS SDN Controller with networking-sfc integration

https://wiki.onosproject.org/pages/viewpage.action?pageId=4163192 https://docs.openstack.org/networking-onos/latest/devref/sfc_driver.html 2.  ODL SDN Controller with networking-sfc integration

https://wiki.opendaylight.org/images/3/37/OpenDaylight-Summit-2016-OpenStack-SFC-Support.pdf https://docs.openstack.org/networking-odl/ocata/specs/sfc-driver.html 3.  Networking-sfc / OVN Driver https://docs.openstack.org/networking-sfc/latest/contributor/sfc_ovn_driver.html https://www.youtube.com/watch?v=PUZzhRxc6iA 4.  Tacker with networking-sfc integration.

https://specs.openstack.org/openstack/tacker-specs/specs/newton/tacker-networking-sfc.html

Page 20: Service Function Chaining in Openstack Neutron

20

Slide title: 36-40pt Slide subtitle: 24pt Copy text: 20-32pt

Color: black Corporate Font: Arial

Top right corner for field-mark, customer or partner logotypes.

•  The ten standard colors below are allowed.

•  The colors should be used to be consistent with the structure and understanding of the content along the whole presentation.

•  Do not use more and different colors in single slide.

Final thoughts

networking-sfc uses MPLS tags for chaining due to lack of NSH support in openvswitch. Openvswitch 2.8.0 (released August 31st 2017) has experimental NSH support. http://openvswitch.org/releases/NEWS-2.8.0

•  Experimental NSH (Network Service Header) support in userspace datapath. •  Used generic encap and decap actions to implement encapsulation and decapsulation of NSH header. •  IETF NSH draft - https://datatracker.ietf.org/doc/draft-ietf-sfc-nsh/

As networking-sfc and releated projects provide full NSH support now, support for service-aware functions will hopefully become more commonplace.

Page 21: Service Function Chaining in Openstack Neutron

21

Slide title: 36-40pt Slide subtitle: 24pt Copy text: 20-32pt

Color: black Corporate Font: Arial

Top right corner for field-mark, customer or partner logotypes.

•  The ten standard colors below are allowed.

•  The colors should be used to be consistent with the structure and understanding of the content along the whole presentation.

•  Do not use more and different colors in single slide.

Questions

???

Page 22: Service Function Chaining in Openstack Neutron

Copyright©2016 Huawei Technologies Co., Ltd. All Rights Reserved. The information in this document may contain predictive statements including, without limitation, statements regarding the future financial and operating results, future product portfolio, new technology, etc. There are a number of factors that could cause actual results and developments to differ materially from those expressed or implied in the predictive statements. Therefore, such information is provided for reference purpose only and constitutes neither an offer nor an acceptance. Huawei may change the information at any time without notice.

Thank You.

Slide title: 36-40pt Slide subtitle: 24pt Copy text: 20-32pt

Color: black Corporate Font: Arial

Top right corner for field-mark, customer or partner logotypes.

•  The ten standard colors below are allowed.

•  The colors should be used to be consistent with the structure and understanding of the content along the whole presentation.

•  Do not use more and different colors in single slide.