SlideShare una empresa de Scribd logo
1 de 14
Descargar para leer sin conexión
Mobile Convergence Laboratory
안계완(Gyewan An)
danielahn@khu.ac.kr
세미나
Mobile Convergence Laboratory
Mobile Convergence Laboratory
NETCONF
‣ The Network Configuration Protocol(NETCONF) is a network management protocol
developed and standardized by the IETF.
‣ NETCONF provides mechanisms to install, manipulate, and delete the configuration of
network devices.
‣ Its operations are realized on top of a simple Remote Procedure Call (RPC) layer.
‣ The NETCONF protocol uses an Extensible Markup Language (XML) based data encoding
for configuration data as well as the protocol messages.
‣ The protocol messages are exchanged on top of a secure transport protocol.
Mobile Convergence Laboratory
Mobile Convergence Laboratory
NETCONF(Cont’d)
Mobile Convergence Laboratory
Mobile Convergence LaboratoryMobile Convergence Laboratory
‣ the Simple Network Management Protocol (SNMP) proved to be a very popular network
management protocol.
‣ Operators were primarily using proprietary CLI to configure their devices. In addition, many
equipment vendors did not provide the option to completely configure their devices via
SNMP.
‣ Juniper Networks has been using an XML-based network management approach.
‣ The first version of the base NETCONF protocol was published as RFC 4741 in December
2006.
NETCONF(Cont’d)
Mobile Convergence LaboratoryMobile Convergence Laboratory
‣ NETCONF is a session-based network management protocol, which uses XML-encoded
remote procedure calls (RPCs) and configuration data to manage network devices.
‣ The mandatory transport protocol for NETCONF is SSH.
‣ The default TCP port assigned for this mapping is 830.
‣ A NETCONF server implementation must listen for connections to the ‘netconf’ subsystem
on this port.
‣ NETCONF supports the Simple Object Access Protocol (SOAP), the Blocks Extensible
Exchange Protocol (BEEP), and Transport Layer Security Protocol (TLS).
Base Protocol
Mobile Convergence LaboratoryMobile Convergence Laboratory
Mobile Convergence Laboratory
YANG
‣YANG is a data modeling language for the definition of data sent over the NETCONF
network configuration protocol.
‣The name is an acronym for “Yet Another Next Generation”.
‣The data modeling language can be used to model both configuration data as well as state
data of network elements.
‣The language being protocol independent can then be converted into any encoding format,
e.g. XML or JSON, that the network configuration protocol supports.
‣YANG is a modular language representing data structures in an XML tree format.
‣YANG data models can use XPATH expressions to define constraints on the elements of a
YANG data model.
Mobile Convergence Laboratory
Mobile Convergence Laboratory
RESTCONF
‣ The NETCONF protocol defines configuration datastores and a set of Create, Retrieve,
Update, Delete (CRUD) operations that can be used to access these datastores.
‣ The YANG language defines the syntax and semantics of datastore content, operational
data, protocol operations, and event notifications.
‣ RESTCONF uses HTTP operations to provide CRUD operations on a NETCONF datastore
containing YANG defined data.
‣ An HTTP-based management protocol does not need to mirror the functionality of the
NETCONF protocol.
‣ RESTCONF is not intended to replace NETCONF, but rather provide an additional simplified
interface that follows REST principles and is compatible with a resource-oriented device
abstraction.
Mobile Convergence Laboratory
Mobile Convergence Laboratory
gRPC
‣gRPC is a modern open source ugh performance RPC framework that can run in any
environments.
‣Google has been using a single general-purpose RPC infrastructure called Stubby to
connect the large number of micro services running within and across our data centers for
over a decade.
‣Stubby has many great features.
‣However, it’s not based on an standard and is too tightly coupled to our internal
infrastructure to be considered suitable for public release.
‣With the advent of SPDY, HTTP/2, and QUIC, many of these same features have appeared
in public standards, tougher with other features that Stubby does not provide.
‣It became clear that it was time to rework Stubby to take advantage of this standardization
and to extend its applicability to mobile, IoT, and Cloud use-cases.
Mobile Convergence Laboratory
Mobile Convergence Laboratory
gRPC - Principles & Requirements
‣Services not Objects, Messages not References - Promote the microservices design philosophy of
coarse-grained message exchange between systems while avoiding the pitfalls of distributed objects and
the fallacies of ignoring the network.
‣Coverage & Simplicity - The stack should be available on every popular development platform and easy for
someone to build for their platform of choice. It should be viable on CPU & memory limited devices.
‣Free & Open - Make the fundamental features free for all to use. Release all artifacts as open-source efforts
with licensing that should facilitate and not impede adoption.
‣Interoperability & Reach - The wire-protocol must be capable of surviving traversal over common internet
infrastructure.
‣General Purpose & Performant - The stack should be applicable to a broad class of use-cases while
sacrificing little in performance when compared to a use-case specific stack.
‣Layered - Key facets of the stack must be able to evolve independently. A revision to the wire-format should
not disrupt application layer bindings.
‣Payload Agnostic - Different services need to use different message types and encodings such as protocol
buffers, JSON, XML, and Thrift; the protocol and implementations must allow for this. Similarly the need for
payload compression varies by use-case and payload type: the protocol should allow for pluggable
compression mechanisms.
Mobile Convergence Laboratory
Mobile Convergence Laboratory
gRPC - Principles & Requirements
‣Streaming - Storage systems rely on streaming and flow-control to express large data-sets. Other services,
like voice-to-text or stock-tickers, rely on streaming to represent temporally related message sequences.
‣Blocking & Non-Blocking - Support both asynchronous and synchronous processing of the sequence of
messages exchanged by a client and server. This is critical for scaling and handling streams on certain
platforms.
‣Cancellation & Timeout - Operations can be expensive and long-lived - cancellation allows servers to
reclaim resources when clients are well-behaved. When a causal-chain of work is tracked, cancellation can
cascade. A client may indicate a timeout for a call, which allows services to tune their behavior to the needs
of the client.
‣Lameducking - Servers must be allowed to gracefully shut-down by rejecting new requests while continuing
to process in-flight ones.
‣Flow-Control - Computing power and network capacity are often unbalanced between client & server. Flow
control allows for better buffer management as well as providing protection from DOS by an overly active
peer.
Mobile Convergence Laboratory
Mobile Convergence Laboratory
gRPC - Principles & Requirements
‣Pluggable - A wire protocol is only part of a functioning API infrastructure. Large distributed systems need
security, health-checking, load-balancing and failover, monitoring, tracing, logging, and so on.
Implementations should provide extensions points to allow for plugging in these features and, where useful,
default implementations.
‣Extensions as APIs - Extensions that require collaboration among services should favor using APIs rather
than protocol extensions where possible. Extensions of this type could include health-checking, service
introspection, load monitoring, and load-balancing assignment.
‣Metadata Exchange - Common cross-cutting concerns like authentication or tracing rely on the exchange of
data that is not part of the declared interface of a service. Deployments rely on their ability to evolve these
features at a different rate to the individual APIs exposed by services.
‣Standardized Status Codes - Clients typically respond to errors returned by API calls in a limited number of
ways. The status code namespace should be constrained to make these error handling decisions clearer. If
richer domain-specific status is needed the metadata exchange mechanism can be used to provide that.
Mobile Convergence Laboratory
Mobile Convergence LaboratoryMobile Convergence Laboratory
Mobile Convergence LaboratoryMobile Convergence Laboratory
SNMP NETCONF RESTCONF gRPC
Standard IETF IETF IETF -
Resources OIDs Paths URLs protobuf
Data Models Defined in MIBs YANG Core Models - -
Data Modeling
Language
SMI YANG Undefined
C++, Java, Python,
Go, Ruby, …
Management
Operations
SNMP NETCONF
HTTP
operations
Custom
Encoding BER XML XML, JSON, … Binary
Transport Stack UDP
SSH
TCP
SSL
HTTP
TCP
-

Más contenido relacionado

La actualidad más candente

MP BGP-EVPN 실전기술-1편(개념잡기)
MP BGP-EVPN 실전기술-1편(개념잡기)MP BGP-EVPN 실전기술-1편(개념잡기)
MP BGP-EVPN 실전기술-1편(개념잡기)
JuHwan Lee
 
[OpenStack 하반기 스터디] Interoperability with ML2: LinuxBridge, OVS and SDN
[OpenStack 하반기 스터디] Interoperability with ML2: LinuxBridge, OVS and SDN[OpenStack 하반기 스터디] Interoperability with ML2: LinuxBridge, OVS and SDN
[OpenStack 하반기 스터디] Interoperability with ML2: LinuxBridge, OVS and SDN
OpenStack Korea Community
 

La actualidad más candente (20)

Open vSwitch Introduction
Open vSwitch IntroductionOpen vSwitch Introduction
Open vSwitch Introduction
 
Cisco's journey from Verbs to Libfabric
Cisco's journey from Verbs to LibfabricCisco's journey from Verbs to Libfabric
Cisco's journey from Verbs to Libfabric
 
NETCONF Call Home
NETCONF Call Home NETCONF Call Home
NETCONF Call Home
 
Vxlan control plane and routing
Vxlan control plane and routingVxlan control plane and routing
Vxlan control plane and routing
 
MP BGP-EVPN 실전기술-1편(개념잡기)
MP BGP-EVPN 실전기술-1편(개념잡기)MP BGP-EVPN 실전기술-1편(개념잡기)
MP BGP-EVPN 실전기술-1편(개념잡기)
 
VXLAN BGP EVPN: Technology Building Blocks
VXLAN BGP EVPN: Technology Building BlocksVXLAN BGP EVPN: Technology Building Blocks
VXLAN BGP EVPN: Technology Building Blocks
 
SDN입문 (Overlay and Underlay)
SDN입문 (Overlay and Underlay)SDN입문 (Overlay and Underlay)
SDN입문 (Overlay and Underlay)
 
Module 5: YANG Tutorial - part 1
Module 5: YANG Tutorial - part 1Module 5: YANG Tutorial - part 1
Module 5: YANG Tutorial - part 1
 
Aci presentation
Aci presentationAci presentation
Aci presentation
 
NETCONFとYANGの話
NETCONFとYANGの話NETCONFとYANGの話
NETCONFとYANGの話
 
Summit 16: ETSI NFV Interface and Architecture Overview
Summit 16: ETSI NFV Interface and Architecture OverviewSummit 16: ETSI NFV Interface and Architecture Overview
Summit 16: ETSI NFV Interface and Architecture Overview
 
[OpenStack 하반기 스터디] Interoperability with ML2: LinuxBridge, OVS and SDN
[OpenStack 하반기 스터디] Interoperability with ML2: LinuxBridge, OVS and SDN[OpenStack 하반기 스터디] Interoperability with ML2: LinuxBridge, OVS and SDN
[OpenStack 하반기 스터디] Interoperability with ML2: LinuxBridge, OVS and SDN
 
Cisco Application Centric Infrastructure
Cisco Application Centric InfrastructureCisco Application Centric Infrastructure
Cisco Application Centric Infrastructure
 
Open vSwitch 패킷 처리 구조
Open vSwitch 패킷 처리 구조Open vSwitch 패킷 처리 구조
Open vSwitch 패킷 처리 구조
 
OpenStack Neutron behind the Scenes
OpenStack Neutron behind the ScenesOpenStack Neutron behind the Scenes
OpenStack Neutron behind the Scenes
 
NFV for beginners
NFV for beginnersNFV for beginners
NFV for beginners
 
OpenFlow tutorial
OpenFlow tutorialOpenFlow tutorial
OpenFlow tutorial
 
Module 6: YANG Tutorial - part 2
Module 6: YANG Tutorial - part 2Module 6: YANG Tutorial - part 2
Module 6: YANG Tutorial - part 2
 
Demystifying EVPN in the data center: Part 1 in 2 episode series
Demystifying EVPN in the data center: Part 1 in 2 episode seriesDemystifying EVPN in the data center: Part 1 in 2 episode series
Demystifying EVPN in the data center: Part 1 in 2 episode series
 
VPP事始め
VPP事始めVPP事始め
VPP事始め
 

Destacado

Destacado (20)

Open Device Programmability: Hands-on Intro to RESTCONF (and a bit of NETCONF)
Open Device Programmability: Hands-on Intro to RESTCONF (and a bit of NETCONF)Open Device Programmability: Hands-on Intro to RESTCONF (and a bit of NETCONF)
Open Device Programmability: Hands-on Intro to RESTCONF (and a bit of NETCONF)
 
GRPC 101 - DevFest Belgium 2016
GRPC 101 - DevFest Belgium 2016GRPC 101 - DevFest Belgium 2016
GRPC 101 - DevFest Belgium 2016
 
Yang detail introduction
Yang detail introductionYang detail introduction
Yang detail introduction
 
KhuHub student guideline
KhuHub student guidelineKhuHub student guideline
KhuHub student guideline
 
OpenWRT/Hostapd with ONOS
OpenWRT/Hostapd with ONOSOpenWRT/Hostapd with ONOS
OpenWRT/Hostapd with ONOS
 
XOS in open CORD project
XOS in open CORD projectXOS in open CORD project
XOS in open CORD project
 
Maven tutorial
Maven tutorialMaven tutorial
Maven tutorial
 
ONOS와 Raspberry Pi 기반 가상물리 SDN 실증 환경 구축과 응용 개발
ONOS와 Raspberry Pi 기반 가상물리 SDN 실증 환경 구축과 응용 개발ONOS와 Raspberry Pi 기반 가상물리 SDN 실증 환경 구축과 응용 개발
ONOS와 Raspberry Pi 기반 가상물리 SDN 실증 환경 구축과 응용 개발
 
Introduction of ONOS and core technology
Introduction of ONOS and core technologyIntroduction of ONOS and core technology
Introduction of ONOS and core technology
 
ONOS - setting, configuration, installation, and test
ONOS - setting, configuration, installation, and testONOS - setting, configuration, installation, and test
ONOS - setting, configuration, installation, and test
 
[SoftCon]SDN/IoT 그리고 Testbed
[SoftCon]SDN/IoT 그리고 Testbed[SoftCon]SDN/IoT 그리고 Testbed
[SoftCon]SDN/IoT 그리고 Testbed
 
Introduction to CORD project
Introduction to CORD projectIntroduction to CORD project
Introduction to CORD project
 
ONOS - multiple instance setting(Distributed SDN Controller)
ONOS - multiple instance setting(Distributed SDN Controller)ONOS - multiple instance setting(Distributed SDN Controller)
ONOS - multiple instance setting(Distributed SDN Controller)
 
Implementing SDN Testbed(ONOS & OpenVirteX)
Implementing SDN Testbed(ONOS & OpenVirteX)Implementing SDN Testbed(ONOS & OpenVirteX)
Implementing SDN Testbed(ONOS & OpenVirteX)
 
RPC protocols
RPC protocolsRPC protocols
RPC protocols
 
HTTP2 and gRPC
HTTP2 and gRPCHTTP2 and gRPC
HTTP2 and gRPC
 
ONOS build 2016 Sharing
ONOS build 2016 SharingONOS build 2016 Sharing
ONOS build 2016 Sharing
 
Network Automation with Ansible
Network Automation with AnsibleNetwork Automation with Ansible
Network Automation with Ansible
 
NETCONF & YANG Enablement of Network Devices
NETCONF & YANG Enablement of Network DevicesNETCONF & YANG Enablement of Network Devices
NETCONF & YANG Enablement of Network Devices
 
Software Stacks to enable SDN and NFV
Software Stacks to enable SDN and NFVSoftware Stacks to enable SDN and NFV
Software Stacks to enable SDN and NFV
 

Similar a netconf, restconf, grpc_basic

RTI/Cisco response to the OMG Software Defined Networks (SDN) RFI
RTI/Cisco response to the OMG Software Defined Networks (SDN) RFIRTI/Cisco response to the OMG Software Defined Networks (SDN) RFI
RTI/Cisco response to the OMG Software Defined Networks (SDN) RFI
Gerardo Pardo-Castellote
 
Conference Paper: Towards High Performance Packet Processing for 5G
Conference Paper: Towards High Performance Packet Processing for 5GConference Paper: Towards High Performance Packet Processing for 5G
Conference Paper: Towards High Performance Packet Processing for 5G
Ericsson
 
Crossing the river by feeling the stones from legacy to cloud native applica...
Crossing the river by feeling the stones  from legacy to cloud native applica...Crossing the river by feeling the stones  from legacy to cloud native applica...
Crossing the river by feeling the stones from legacy to cloud native applica...
OPNFV
 

Similar a netconf, restconf, grpc_basic (20)

RTI/Cisco response to the OMG Software Defined Networks (SDN) RFI
RTI/Cisco response to the OMG Software Defined Networks (SDN) RFIRTI/Cisco response to the OMG Software Defined Networks (SDN) RFI
RTI/Cisco response to the OMG Software Defined Networks (SDN) RFI
 
IRJET- Build SDN with Openflow Controller
IRJET-  	  Build SDN with Openflow ControllerIRJET-  	  Build SDN with Openflow Controller
IRJET- Build SDN with Openflow Controller
 
Towards achieving-high-performance-in-5g-mobile-packet-cores-user-plane-function
Towards achieving-high-performance-in-5g-mobile-packet-cores-user-plane-functionTowards achieving-high-performance-in-5g-mobile-packet-cores-user-plane-function
Towards achieving-high-performance-in-5g-mobile-packet-cores-user-plane-function
 
Important topics.pptx
Important topics.pptxImportant topics.pptx
Important topics.pptx
 
Software Innovations and Control Plane Evolution in the new SDN Transport Arc...
Software Innovations and Control Plane Evolution in the new SDN Transport Arc...Software Innovations and Control Plane Evolution in the new SDN Transport Arc...
Software Innovations and Control Plane Evolution in the new SDN Transport Arc...
 
Using Kubernetes to make cellular data plans cheaper for 50M users
Using Kubernetes to make cellular data plans cheaper for 50M usersUsing Kubernetes to make cellular data plans cheaper for 50M users
Using Kubernetes to make cellular data plans cheaper for 50M users
 
Addressing Network Operator Challenges in YANG push Data Mesh Integration
Addressing Network Operator Challenges in YANG push Data Mesh IntegrationAddressing Network Operator Challenges in YANG push Data Mesh Integration
Addressing Network Operator Challenges in YANG push Data Mesh Integration
 
Software Defined Networks
Software Defined NetworksSoftware Defined Networks
Software Defined Networks
 
Network Softwarization
Network SoftwarizationNetwork Softwarization
Network Softwarization
 
Unit-3.pptx
Unit-3.pptxUnit-3.pptx
Unit-3.pptx
 
Turbocharge the NFV Data Plane in the SDN Era - a Radisys presentation
Turbocharge the NFV Data Plane in the SDN Era - a Radisys presentationTurbocharge the NFV Data Plane in the SDN Era - a Radisys presentation
Turbocharge the NFV Data Plane in the SDN Era - a Radisys presentation
 
ONP 2.1 platforms maximize VNF interoperability
ONP 2.1 platforms maximize VNF interoperabilityONP 2.1 platforms maximize VNF interoperability
ONP 2.1 platforms maximize VNF interoperability
 
Openflow for Mobile Broadband service providers_Nov'11
Openflow for Mobile Broadband service providers_Nov'11Openflow for Mobile Broadband service providers_Nov'11
Openflow for Mobile Broadband service providers_Nov'11
 
Web technology and commerce unit 5
Web technology and commerce unit 5Web technology and commerce unit 5
Web technology and commerce unit 5
 
5G in Brownfield how SDN makes 5G Deployments Work
5G in Brownfield how SDN makes 5G Deployments Work5G in Brownfield how SDN makes 5G Deployments Work
5G in Brownfield how SDN makes 5G Deployments Work
 
Netkit
NetkitNetkit
Netkit
 
Module1 Mobile Computing Architecture
Module1 Mobile Computing ArchitectureModule1 Mobile Computing Architecture
Module1 Mobile Computing Architecture
 
CoAP & HTTP Presentation.pdf
CoAP & HTTP Presentation.pdfCoAP & HTTP Presentation.pdf
CoAP & HTTP Presentation.pdf
 
Conference Paper: Towards High Performance Packet Processing for 5G
Conference Paper: Towards High Performance Packet Processing for 5GConference Paper: Towards High Performance Packet Processing for 5G
Conference Paper: Towards High Performance Packet Processing for 5G
 
Crossing the river by feeling the stones from legacy to cloud native applica...
Crossing the river by feeling the stones  from legacy to cloud native applica...Crossing the river by feeling the stones  from legacy to cloud native applica...
Crossing the river by feeling the stones from legacy to cloud native applica...
 

Último

%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...
%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...
%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...
masabamasaba
 
Abortion Pill Prices Tembisa [(+27832195400*)] 🏥 Women's Abortion Clinic in T...
Abortion Pill Prices Tembisa [(+27832195400*)] 🏥 Women's Abortion Clinic in T...Abortion Pill Prices Tembisa [(+27832195400*)] 🏥 Women's Abortion Clinic in T...
Abortion Pill Prices Tembisa [(+27832195400*)] 🏥 Women's Abortion Clinic in T...
Medical / Health Care (+971588192166) Mifepristone and Misoprostol tablets 200mg
 
%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...
%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...
%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...
masabamasaba
 

Último (20)

%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain
 
%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...
%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...
%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...
 
Abortion Pill Prices Tembisa [(+27832195400*)] 🏥 Women's Abortion Clinic in T...
Abortion Pill Prices Tembisa [(+27832195400*)] 🏥 Women's Abortion Clinic in T...Abortion Pill Prices Tembisa [(+27832195400*)] 🏥 Women's Abortion Clinic in T...
Abortion Pill Prices Tembisa [(+27832195400*)] 🏥 Women's Abortion Clinic in T...
 
Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...
Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...
Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...
 
WSO2Con204 - Hard Rock Presentation - Keynote
WSO2Con204 - Hard Rock Presentation - KeynoteWSO2Con204 - Hard Rock Presentation - Keynote
WSO2Con204 - Hard Rock Presentation - Keynote
 
Direct Style Effect Systems - The Print[A] Example - A Comprehension Aid
Direct Style Effect Systems -The Print[A] Example- A Comprehension AidDirect Style Effect Systems -The Print[A] Example- A Comprehension Aid
Direct Style Effect Systems - The Print[A] Example - A Comprehension Aid
 
%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisa%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisa
 
WSO2CON 2024 - Freedom First—Unleashing Developer Potential with Open Source
WSO2CON 2024 - Freedom First—Unleashing Developer Potential with Open SourceWSO2CON 2024 - Freedom First—Unleashing Developer Potential with Open Source
WSO2CON 2024 - Freedom First—Unleashing Developer Potential with Open Source
 
WSO2CON 2024 - WSO2's Digital Transformation Journey with Choreo: A Platforml...
WSO2CON 2024 - WSO2's Digital Transformation Journey with Choreo: A Platforml...WSO2CON 2024 - WSO2's Digital Transformation Journey with Choreo: A Platforml...
WSO2CON 2024 - WSO2's Digital Transformation Journey with Choreo: A Platforml...
 
WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...
WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...
WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...
 
%in ivory park+277-882-255-28 abortion pills for sale in ivory park
%in ivory park+277-882-255-28 abortion pills for sale in ivory park %in ivory park+277-882-255-28 abortion pills for sale in ivory park
%in ivory park+277-882-255-28 abortion pills for sale in ivory park
 
%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...
%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...
%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...
 
VTU technical seminar 8Th Sem on Scikit-learn
VTU technical seminar 8Th Sem on Scikit-learnVTU technical seminar 8Th Sem on Scikit-learn
VTU technical seminar 8Th Sem on Scikit-learn
 
AI & Machine Learning Presentation Template
AI & Machine Learning Presentation TemplateAI & Machine Learning Presentation Template
AI & Machine Learning Presentation Template
 
%in Rustenburg+277-882-255-28 abortion pills for sale in Rustenburg
%in Rustenburg+277-882-255-28 abortion pills for sale in Rustenburg%in Rustenburg+277-882-255-28 abortion pills for sale in Rustenburg
%in Rustenburg+277-882-255-28 abortion pills for sale in Rustenburg
 
%in Soweto+277-882-255-28 abortion pills for sale in soweto
%in Soweto+277-882-255-28 abortion pills for sale in soweto%in Soweto+277-882-255-28 abortion pills for sale in soweto
%in Soweto+277-882-255-28 abortion pills for sale in soweto
 
Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...
Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...
Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...
 
%in Midrand+277-882-255-28 abortion pills for sale in midrand
%in Midrand+277-882-255-28 abortion pills for sale in midrand%in Midrand+277-882-255-28 abortion pills for sale in midrand
%in Midrand+277-882-255-28 abortion pills for sale in midrand
 
MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...
MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...
MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...
 
WSO2CON 2024 - Cloud Native Middleware: Domain-Driven Design, Cell-Based Arch...
WSO2CON 2024 - Cloud Native Middleware: Domain-Driven Design, Cell-Based Arch...WSO2CON 2024 - Cloud Native Middleware: Domain-Driven Design, Cell-Based Arch...
WSO2CON 2024 - Cloud Native Middleware: Domain-Driven Design, Cell-Based Arch...
 

netconf, restconf, grpc_basic

  • 1. Mobile Convergence Laboratory 안계완(Gyewan An) danielahn@khu.ac.kr 세미나 Mobile Convergence Laboratory
  • 2. Mobile Convergence Laboratory NETCONF ‣ The Network Configuration Protocol(NETCONF) is a network management protocol developed and standardized by the IETF. ‣ NETCONF provides mechanisms to install, manipulate, and delete the configuration of network devices. ‣ Its operations are realized on top of a simple Remote Procedure Call (RPC) layer. ‣ The NETCONF protocol uses an Extensible Markup Language (XML) based data encoding for configuration data as well as the protocol messages. ‣ The protocol messages are exchanged on top of a secure transport protocol. Mobile Convergence Laboratory
  • 4. Mobile Convergence LaboratoryMobile Convergence Laboratory ‣ the Simple Network Management Protocol (SNMP) proved to be a very popular network management protocol. ‣ Operators were primarily using proprietary CLI to configure their devices. In addition, many equipment vendors did not provide the option to completely configure their devices via SNMP. ‣ Juniper Networks has been using an XML-based network management approach. ‣ The first version of the base NETCONF protocol was published as RFC 4741 in December 2006. NETCONF(Cont’d)
  • 5. Mobile Convergence LaboratoryMobile Convergence Laboratory ‣ NETCONF is a session-based network management protocol, which uses XML-encoded remote procedure calls (RPCs) and configuration data to manage network devices. ‣ The mandatory transport protocol for NETCONF is SSH. ‣ The default TCP port assigned for this mapping is 830. ‣ A NETCONF server implementation must listen for connections to the ‘netconf’ subsystem on this port. ‣ NETCONF supports the Simple Object Access Protocol (SOAP), the Blocks Extensible Exchange Protocol (BEEP), and Transport Layer Security Protocol (TLS). Base Protocol
  • 6. Mobile Convergence LaboratoryMobile Convergence Laboratory
  • 7. Mobile Convergence Laboratory YANG ‣YANG is a data modeling language for the definition of data sent over the NETCONF network configuration protocol. ‣The name is an acronym for “Yet Another Next Generation”. ‣The data modeling language can be used to model both configuration data as well as state data of network elements. ‣The language being protocol independent can then be converted into any encoding format, e.g. XML or JSON, that the network configuration protocol supports. ‣YANG is a modular language representing data structures in an XML tree format. ‣YANG data models can use XPATH expressions to define constraints on the elements of a YANG data model. Mobile Convergence Laboratory
  • 8. Mobile Convergence Laboratory RESTCONF ‣ The NETCONF protocol defines configuration datastores and a set of Create, Retrieve, Update, Delete (CRUD) operations that can be used to access these datastores. ‣ The YANG language defines the syntax and semantics of datastore content, operational data, protocol operations, and event notifications. ‣ RESTCONF uses HTTP operations to provide CRUD operations on a NETCONF datastore containing YANG defined data. ‣ An HTTP-based management protocol does not need to mirror the functionality of the NETCONF protocol. ‣ RESTCONF is not intended to replace NETCONF, but rather provide an additional simplified interface that follows REST principles and is compatible with a resource-oriented device abstraction. Mobile Convergence Laboratory
  • 9. Mobile Convergence Laboratory gRPC ‣gRPC is a modern open source ugh performance RPC framework that can run in any environments. ‣Google has been using a single general-purpose RPC infrastructure called Stubby to connect the large number of micro services running within and across our data centers for over a decade. ‣Stubby has many great features. ‣However, it’s not based on an standard and is too tightly coupled to our internal infrastructure to be considered suitable for public release. ‣With the advent of SPDY, HTTP/2, and QUIC, many of these same features have appeared in public standards, tougher with other features that Stubby does not provide. ‣It became clear that it was time to rework Stubby to take advantage of this standardization and to extend its applicability to mobile, IoT, and Cloud use-cases. Mobile Convergence Laboratory
  • 10. Mobile Convergence Laboratory gRPC - Principles & Requirements ‣Services not Objects, Messages not References - Promote the microservices design philosophy of coarse-grained message exchange between systems while avoiding the pitfalls of distributed objects and the fallacies of ignoring the network. ‣Coverage & Simplicity - The stack should be available on every popular development platform and easy for someone to build for their platform of choice. It should be viable on CPU & memory limited devices. ‣Free & Open - Make the fundamental features free for all to use. Release all artifacts as open-source efforts with licensing that should facilitate and not impede adoption. ‣Interoperability & Reach - The wire-protocol must be capable of surviving traversal over common internet infrastructure. ‣General Purpose & Performant - The stack should be applicable to a broad class of use-cases while sacrificing little in performance when compared to a use-case specific stack. ‣Layered - Key facets of the stack must be able to evolve independently. A revision to the wire-format should not disrupt application layer bindings. ‣Payload Agnostic - Different services need to use different message types and encodings such as protocol buffers, JSON, XML, and Thrift; the protocol and implementations must allow for this. Similarly the need for payload compression varies by use-case and payload type: the protocol should allow for pluggable compression mechanisms. Mobile Convergence Laboratory
  • 11. Mobile Convergence Laboratory gRPC - Principles & Requirements ‣Streaming - Storage systems rely on streaming and flow-control to express large data-sets. Other services, like voice-to-text or stock-tickers, rely on streaming to represent temporally related message sequences. ‣Blocking & Non-Blocking - Support both asynchronous and synchronous processing of the sequence of messages exchanged by a client and server. This is critical for scaling and handling streams on certain platforms. ‣Cancellation & Timeout - Operations can be expensive and long-lived - cancellation allows servers to reclaim resources when clients are well-behaved. When a causal-chain of work is tracked, cancellation can cascade. A client may indicate a timeout for a call, which allows services to tune their behavior to the needs of the client. ‣Lameducking - Servers must be allowed to gracefully shut-down by rejecting new requests while continuing to process in-flight ones. ‣Flow-Control - Computing power and network capacity are often unbalanced between client & server. Flow control allows for better buffer management as well as providing protection from DOS by an overly active peer. Mobile Convergence Laboratory
  • 12. Mobile Convergence Laboratory gRPC - Principles & Requirements ‣Pluggable - A wire protocol is only part of a functioning API infrastructure. Large distributed systems need security, health-checking, load-balancing and failover, monitoring, tracing, logging, and so on. Implementations should provide extensions points to allow for plugging in these features and, where useful, default implementations. ‣Extensions as APIs - Extensions that require collaboration among services should favor using APIs rather than protocol extensions where possible. Extensions of this type could include health-checking, service introspection, load monitoring, and load-balancing assignment. ‣Metadata Exchange - Common cross-cutting concerns like authentication or tracing rely on the exchange of data that is not part of the declared interface of a service. Deployments rely on their ability to evolve these features at a different rate to the individual APIs exposed by services. ‣Standardized Status Codes - Clients typically respond to errors returned by API calls in a limited number of ways. The status code namespace should be constrained to make these error handling decisions clearer. If richer domain-specific status is needed the metadata exchange mechanism can be used to provide that. Mobile Convergence Laboratory
  • 13. Mobile Convergence LaboratoryMobile Convergence Laboratory
  • 14. Mobile Convergence LaboratoryMobile Convergence Laboratory SNMP NETCONF RESTCONF gRPC Standard IETF IETF IETF - Resources OIDs Paths URLs protobuf Data Models Defined in MIBs YANG Core Models - - Data Modeling Language SMI YANG Undefined C++, Java, Python, Go, Ruby, … Management Operations SNMP NETCONF HTTP operations Custom Encoding BER XML XML, JSON, … Binary Transport Stack UDP SSH TCP SSL HTTP TCP -