SlideShare a Scribd company logo
1 of 48
Wicked Network ManagementWicked Network Management
Ben Chou (bchou@suse.com)
Software Engineer @SUSE Corp.
openSUSE.Asia Summit in Beijing
2014.10.19
2
Agenda
• Evolution : The overview of Network Bombs in these 20 years.
• What is wicked?
• When Configs get Interesting
• What/Why...Wicked What?
• What we WANT/DON'T WANT to achieve
• Network Method in openSUSE 12.2 and 13.2
• Wicked Component
• Network Service and Client Commands
• Debugging Options
• Study, Get, Test Wicked
• Build Test Package
• Current Status
3
Back in 1992, the world is flat
4
Five years later, we had IP networking
5
In 2002, We got IPv6
6
2007, Mobility and Data Center diverge
7
2012, The Universe changed again
8
True Evolution
Refer to: https://arranman.files.wordpress.com/2014/05/evolution.jpg
What is WickedWhat is Wicked
10
Wicked [ w k d] (adj.)ˋ ɪ ɪ
1. behaving in a way that is morally wrong [= evil]:
eg. the wicked stepmother in 'Hänsel und Gretel'
缺德的,邪恶的,坏的 ,恶劣的,讨厌的
2.(informal) behaving badly in a way that is amusing:
eg. Tara hasn't lost her wicked sense of humour.
顽皮的,淘气的, 恶作剧的
3.(spoken informal) very good:
eg. That's a wicked bike!
非常棒的,够牛逼的,高大上 ....etc.
11
Wicked
• Group : System/Management
• License : GPL-2.0
• Vendor : SUSE / openSUSE
• Summary : Network configuration infrastructure
• Description :
Wicked is a network configuration infrastructure incorporating a
number of existing frameworks into a unified architecture,
providing a DBUS interface to network configuration.
12
When Configs get Interesting ?
• For an ethernet device,
conveniently check things like routes,
addresses,link-speed...
and perhaps hardware offload settings?
• Configure a wireless connection with WPA auth and DHCP?
• Reconfigure a bonding device without bringing it down?
• Set up a bridge using two bonded NICs as one of its ports?
• Create a pair of virtual ethernet devices, assign themto differing
namespaces and configure?
What/Why … WickedWhat/Why … Wicked
want?want?
14
What We Want To Achieve
Goal
• Cope with increasingly complex configurations
• Conflict as little with existing infrastructure as possible
Target Audience
• Supporting both Data Center and End Users
Positioning
• Network configuration is a service
• Configuration Tools matching the pace of evolution
Usability
• Morphed into “try to do better than ifup”
• Make adoption as smooth as possible
15
What We Want To Achieve
Technical Attributes
• Architecture-independent
• Extensible
• React flexibly to network changes
• Broadcast event notifications
- interface comes up, IP address assigned, routing changed
• Wicked client can read ifcfg files (both the green and the red
flavors)
16
What We DON'T Want To Achieve
• Replacing NetworkManager completely ?!
• World Domination
(a.k.a. locking users into a specific tool set)
17
Change can be Scary ??
• What's Changed?!
• For end-users – nothing really, so relax :D
• Sysconfig ifcfg-* style configuration
- In place for backward compatibility
- Converted to an internal format that is structured, extensible and more powerful
- “Internal format” to be exposed to administrators/users by SP1
• /sbin/{ifup,ifdown,ifstatus,ifprobe} scripts wrap wicked commands
• Wicked supports the same functionality as opensuse 12.x and
SUSE Linux Enterprise 11
• Invasive, yes ; Disruptive, no
Network MethodNetwork Method
19
OpenSUSE 12.2
20
OpenSUSE 13.2 RC
Wicked ComponentWicked Component
22
Wicked Component
• Wickedd, the server process
• Wicked, Client command line utility
• Wicked-nanny (support interface for hotplugging)
• dhcp4, dhcp6, auto4...etc , and other supplicants
• Future: need help with writing a taskbar applet
23
Wicked Component
Network ServiceNetwork Service
25
Network Service (systemd)
Enable / Disable
• #systemctl enable wicked.service
- enables also wickedd*.service
- creates network.service alias link
• #systemctl disable wicked.service
- disables all wicked services, but DOES NOT stop them
• #systemctl show -p Id network.service
- Shows the currently enabled network service (wicked or NM)
26
Network Service (systemd)
Start
• #systemctl start network.service (→ wicked.service)
‒ configures the network interfaces (and triggers wicked
daemons start)
• #systemctl start wickedd.service
- starts all wicked daemons
• Stop accordingly.
27
Network Service (systemd)
Restart / Reload
• #systemctl restart network.service ( → wicked.service)
‒restarts the network interface configuration
• #systemctl restart wickedd.service
- restarts wicked daemons without reconfiguring the network
interfaces
Client CommandClient Command
29
Client Commands
• #wicked ifup <ifname ...> | all
- applies configuration to nanny
• #wicked ifdown <ifname ...> | all
- stops configured interfaces
• #wicked ifreload <ifname ...> | all
- reloads the configuration (ifdown if config is removed)
• #wicked ifstatus <ifname ...> | all
- shows the interface configuration status
30
Client Commands
• #wicked show-state (currently show-xml)
- dumps the state from wickedd
• #wicked show-config [source]
- shows configuration from all sources in xml format:
- compat:[suse:[/etc/sysconfig/network]]
- wicked:[xml:[/etc/wicked/ifconfig]]
Debugging OptionsDebugging Options
32
Debugging options
Client :
# wicked --debug <all | help | ...>
- Enables debug level and sets filters by wicked facilities, e.g.:
"all,-events,-socket,-objectmodel,-xpath,-xml,-dbus"
=> e.g. #wicked --debug all ifup all
Daemons:
- edit /etc/sysconfig/network/config file
- change DEBUG=” ” or WICKED_DEBUG=” ” variable to the
debug mode
33
Debugging options
• Testing DHCP availability
- /usr/lib/wicked/bin/wickedd-dhcp4 --test $IFNAME
• Collecting logs
- journalctl:
# journalctl -b -o short-iso > wicked.log
Study, Get, Test WickedStudy, Get, Test Wicked
35
Can't wait for? Study and have a TEST! :)
Wicked Portal
• https://en.opensuse.org/Portal:Wicked
Try it
• http://software.opensuse.org/package/wicked
• https://build.opensuse.org/project/show/network:wicked:master/
Clone it
• https://github.com/openSUSE/wicked
36
Issue reporting and developer contact
• Bugzilla
- Assign issues to: wicked-maintainers@suse.de
• External
- Mail: wicked-devel@opensuse.org
- IRC: #wicked on chat.freenode.net
37
Reporting bugs
Please attach the following logs:
- set DEBUG=all in /etc/sysconfig/network/config
- systemctl restart wickedd
- wicked --debug all ifup all # systemctl restart wicked
- wicked ifstatus all > status.log
- wicked show-config > configs.log
- journalctl -b -o short-iso > wicked.log
- ip addr show > ip_addr.log
- ip route show > routes.log
- ip -6 route show >> routes.log
Build test packageBuild test package
39
Building a test package
• https://github.com/openSUSE/wicked/blob/master/README
STEP:
#zypper in git-core rpm-build gcc make pkg-config 
autoconf automake libtool systemd-devel 
libnl3-devel libiw-devel dbus-1-devel libgcrypt-devel
#git clone https://github.com/openSUSE/wicked.git
- cd wicked && ./autogen.sh
- edit wicked.spec and set e.g:
export CFLAGS="$RPM_OPT_FLAGS -Wall -Werror -O1 -g"
#make rpmbuild
Current StatusCurrent Status
41
What Wicked can do Today
• Device types:
Ethernet, VLAN, Bridging,
Bonding, Infiniband, tun, tap,
dummy, macvlan, macvtap,
hsi, qeth, iucv,
wireless (one wpa-psk/eap network)
• Address configuration: static, dhcp4, dhcp6, IPv4 zeroconf
• Hot-plugging
• Known issues - Nanny not used yet, wickedd forgets state on restart while
hotplugging
42
What Wicked will do Tomorrow
• In implementation
• tunneling (sit, gre*, ip*ip* tunnels)
• Wireless (using wpa-supplicant)
• On the roadmap:
• Taskbar applet
• Documentation improvements
• pppoe (lower priority), ppp/UMTS [Server SP1]
• On the radar:
• Improve integration with openvswitch
• Network namespace awareness and virtual ethernet support
• Improve wireless support
SummarySummary
44
Today's Networking
- Highly Dynamic -
- Virtualized -
- Software-Defined -
- Converged -
THANKS!!THANKS!!
46
Thank You for Your Attention!! ^_^
Specially Thanks a lot the core Developer
Olaf Kirch (okir@suse.de)
Marius Tomaschewski (mt@suse.de)
Pawel Wieczorkiewicz
(pwieczorkiewicz@suse.com)
Karol Mroz (kmroz@suse.com)
47
Join us on:
www.opensuse.org
48

More Related Content

What's hot

A project report on chat application
A project report on chat applicationA project report on chat application
A project report on chat applicationKumar Gaurav
 
Introduction to TCP/IP
Introduction to TCP/IPIntroduction to TCP/IP
Introduction to TCP/IPMichael Lamont
 
Edge Computing: Bringing the Internet Closer to You
Edge Computing: Bringing the Internet Closer to YouEdge Computing: Bringing the Internet Closer to You
Edge Computing: Bringing the Internet Closer to YouMegan O'Keefe
 
Distributed computing
Distributed computingDistributed computing
Distributed computingshivli0769
 
Deadlock- Operating System
Deadlock- Operating SystemDeadlock- Operating System
Deadlock- Operating SystemRajan Shah
 
Network address translation
Network address translationNetwork address translation
Network address translationVarsha Honde
 
Energy efficient resource allocation in cloud computing
Energy efficient resource allocation in cloud computingEnergy efficient resource allocation in cloud computing
Energy efficient resource allocation in cloud computingDivaynshu Totla
 
WebRTC Overview
WebRTC OverviewWebRTC Overview
WebRTC OverviewArin Sime
 
Advantages of 2D Tilemaps for Mobile Games
Advantages of 2D Tilemaps for Mobile GamesAdvantages of 2D Tilemaps for Mobile Games
Advantages of 2D Tilemaps for Mobile GamesUnity Technologies
 
Distributed system architecture
Distributed system architectureDistributed system architecture
Distributed system architectureYisal Khan
 
Middleware Basics
Middleware BasicsMiddleware Basics
Middleware BasicsVarun Arora
 
2.6.6 Packet Tracer - Verify Single-Area OSPFv2 - ILM.docx
2.6.6 Packet Tracer - Verify Single-Area OSPFv2 - ILM.docx2.6.6 Packet Tracer - Verify Single-Area OSPFv2 - ILM.docx
2.6.6 Packet Tracer - Verify Single-Area OSPFv2 - ILM.docxJosimar Caitano
 
Virtualization Vs. Containers
Virtualization Vs. ContainersVirtualization Vs. Containers
Virtualization Vs. Containersactualtechmedia
 
Chat Application | RSD
Chat Application | RSDChat Application | RSD
Chat Application | RSDRajon
 
IP Address
IP AddressIP Address
IP AddressRahul P
 

What's hot (20)

A project report on chat application
A project report on chat applicationA project report on chat application
A project report on chat application
 
Introduction to TCP/IP
Introduction to TCP/IPIntroduction to TCP/IP
Introduction to TCP/IP
 
Edge Computing: Bringing the Internet Closer to You
Edge Computing: Bringing the Internet Closer to YouEdge Computing: Bringing the Internet Closer to You
Edge Computing: Bringing the Internet Closer to You
 
Distributed computing
Distributed computingDistributed computing
Distributed computing
 
Deadlock- Operating System
Deadlock- Operating SystemDeadlock- Operating System
Deadlock- Operating System
 
Network address translation
Network address translationNetwork address translation
Network address translation
 
Energy efficient resource allocation in cloud computing
Energy efficient resource allocation in cloud computingEnergy efficient resource allocation in cloud computing
Energy efficient resource allocation in cloud computing
 
WebRTC Overview
WebRTC OverviewWebRTC Overview
WebRTC Overview
 
Advantages of 2D Tilemaps for Mobile Games
Advantages of 2D Tilemaps for Mobile GamesAdvantages of 2D Tilemaps for Mobile Games
Advantages of 2D Tilemaps for Mobile Games
 
Green cloud computing
Green  cloud computingGreen  cloud computing
Green cloud computing
 
Distributed system architecture
Distributed system architectureDistributed system architecture
Distributed system architecture
 
Middleware Basics
Middleware BasicsMiddleware Basics
Middleware Basics
 
2.6.6 Packet Tracer - Verify Single-Area OSPFv2 - ILM.docx
2.6.6 Packet Tracer - Verify Single-Area OSPFv2 - ILM.docx2.6.6 Packet Tracer - Verify Single-Area OSPFv2 - ILM.docx
2.6.6 Packet Tracer - Verify Single-Area OSPFv2 - ILM.docx
 
Virtualization Vs. Containers
Virtualization Vs. ContainersVirtualization Vs. Containers
Virtualization Vs. Containers
 
Memory virtualization
Memory virtualizationMemory virtualization
Memory virtualization
 
Chat Application | RSD
Chat Application | RSDChat Application | RSD
Chat Application | RSD
 
IP Address
IP AddressIP Address
IP Address
 
IP Address
IP AddressIP Address
IP Address
 
Chat Application
Chat ApplicationChat Application
Chat Application
 
Green cloud computing
Green cloud computingGreen cloud computing
Green cloud computing
 

Viewers also liked

Maths project brief jan 2015 project - statistics
Maths project brief jan 2015 project - statisticsMaths project brief jan 2015 project - statistics
Maths project brief jan 2015 project - statisticsTung97Michelle
 
Cost management accounting alkesh
Cost management accounting alkeshCost management accounting alkesh
Cost management accounting alkeshalkesh mistry
 
Julia Clark Resume' 2
Julia Clark Resume' 2Julia Clark Resume' 2
Julia Clark Resume' 2Julie Clark
 
Resume - Masood Ahmad
Resume - Masood AhmadResume - Masood Ahmad
Resume - Masood AhmadMasood Ahmad
 
Rob Gagne Resume
Rob Gagne Resume Rob Gagne Resume
Rob Gagne Resume Rob Gagne
 
Design & Architecture
Design & ArchitectureDesign & Architecture
Design & ArchitectureGUA Global
 
Our Trip To Turkey
Our Trip To TurkeyOur Trip To Turkey
Our Trip To Turkeysv_sofia
 
Перевірка знань з теми : Українська символіка
Перевірка знань з теми : Українська символікаПеревірка знань з теми : Українська символіка
Перевірка знань з теми : Українська символікаIrinaKusch
 
Интерпретация в психоаналитическом коучинге
Интерпретация в психоаналитическом коучингеИнтерпретация в психоаналитическом коучинге
Интерпретация в психоаналитическом коучингеAlexander Lesnevsky
 
LA MONOGRAFIA
 LA MONOGRAFIA LA MONOGRAFIA
LA MONOGRAFIAloreche
 
Урок 17 для 4 класу - Інформаційні ресурси Інтернету. Пошук навчальних матері...
Урок 17 для 4 класу - Інформаційні ресурси Інтернету. Пошук навчальних матері...Урок 17 для 4 класу - Інформаційні ресурси Інтернету. Пошук навчальних матері...
Урок 17 для 4 класу - Інформаційні ресурси Інтернету. Пошук навчальних матері...VsimPPT
 
hakeem kc cv
hakeem kc cvhakeem kc cv
hakeem kc cvhakeem kc
 
Ux trend report 2014 finance
Ux trend report 2014 financeUx trend report 2014 finance
Ux trend report 2014 financeKim Taesook
 

Viewers also liked (16)

Maths project brief jan 2015 project - statistics
Maths project brief jan 2015 project - statisticsMaths project brief jan 2015 project - statistics
Maths project brief jan 2015 project - statistics
 
yasir cv
yasir cvyasir cv
yasir cv
 
Cost management accounting alkesh
Cost management accounting alkeshCost management accounting alkesh
Cost management accounting alkesh
 
Assignment 2
Assignment 2Assignment 2
Assignment 2
 
Julia Clark Resume' 2
Julia Clark Resume' 2Julia Clark Resume' 2
Julia Clark Resume' 2
 
Resume - Masood Ahmad
Resume - Masood AhmadResume - Masood Ahmad
Resume - Masood Ahmad
 
Rob Gagne Resume
Rob Gagne Resume Rob Gagne Resume
Rob Gagne Resume
 
Design & Architecture
Design & ArchitectureDesign & Architecture
Design & Architecture
 
Our Trip To Turkey
Our Trip To TurkeyOur Trip To Turkey
Our Trip To Turkey
 
Перевірка знань з теми : Українська символіка
Перевірка знань з теми : Українська символікаПеревірка знань з теми : Українська символіка
Перевірка знань з теми : Українська символіка
 
Интерпретация в психоаналитическом коучинге
Интерпретация в психоаналитическом коучингеИнтерпретация в психоаналитическом коучинге
Интерпретация в психоаналитическом коучинге
 
LA MONOGRAFIA
 LA MONOGRAFIA LA MONOGRAFIA
LA MONOGRAFIA
 
Pam's Resume 2016
Pam's Resume 2016Pam's Resume 2016
Pam's Resume 2016
 
Урок 17 для 4 класу - Інформаційні ресурси Інтернету. Пошук навчальних матері...
Урок 17 для 4 класу - Інформаційні ресурси Інтернету. Пошук навчальних матері...Урок 17 для 4 класу - Інформаційні ресурси Інтернету. Пошук навчальних матері...
Урок 17 для 4 класу - Інформаційні ресурси Інтернету. Пошук навчальних матері...
 
hakeem kc cv
hakeem kc cvhakeem kc cv
hakeem kc cv
 
Ux trend report 2014 finance
Ux trend report 2014 financeUx trend report 2014 finance
Ux trend report 2014 finance
 

Similar to Wicked Network Management

[KubeCon NA 2018] Telepresence Deep Dive Session - Rafael Schloming & Luke Sh...
[KubeCon NA 2018] Telepresence Deep Dive Session - Rafael Schloming & Luke Sh...[KubeCon NA 2018] Telepresence Deep Dive Session - Rafael Schloming & Luke Sh...
[KubeCon NA 2018] Telepresence Deep Dive Session - Rafael Schloming & Luke Sh...Ambassador Labs
 
Webinar: Agile Network Deployment
Webinar: Agile Network DeploymentWebinar: Agile Network Deployment
Webinar: Agile Network DeploymentVasudhaSridharan
 
Puppet Camp Charlotte 2015: Manage Your Switches Like Servers
Puppet Camp Charlotte 2015: Manage Your Switches Like ServersPuppet Camp Charlotte 2015: Manage Your Switches Like Servers
Puppet Camp Charlotte 2015: Manage Your Switches Like ServersPuppet
 
Ansible presentation
Ansible presentationAnsible presentation
Ansible presentationSuresh Kumar
 
To Build My Own Cloud with Blackjack…
To Build My Own Cloud with Blackjack…To Build My Own Cloud with Blackjack…
To Build My Own Cloud with Blackjack…Sergey Dzyuban
 
A Fabric/Puppet Build/Deploy System
A Fabric/Puppet Build/Deploy SystemA Fabric/Puppet Build/Deploy System
A Fabric/Puppet Build/Deploy Systemadrian_nye
 
Habitat hack slides - Infracoders Meetup Graz
Habitat hack slides - Infracoders Meetup GrazHabitat hack slides - Infracoders Meetup Graz
Habitat hack slides - Infracoders Meetup GrazInfralovers
 
Network Automation Tools
Network Automation ToolsNetwork Automation Tools
Network Automation ToolsEdwin Beekman
 
The internet of $h1t
The internet of $h1tThe internet of $h1t
The internet of $h1tAmit Serper
 
[KubeCon NA 2020] containerd: Rootless Containers 2020
[KubeCon NA 2020] containerd: Rootless Containers 2020[KubeCon NA 2020] containerd: Rootless Containers 2020
[KubeCon NA 2020] containerd: Rootless Containers 2020Akihiro Suda
 
The State of Rootless Containers
The State of Rootless ContainersThe State of Rootless Containers
The State of Rootless ContainersAkihiro Suda
 
Docker 102 - Immutable Infrastructure
Docker 102 - Immutable InfrastructureDocker 102 - Immutable Infrastructure
Docker 102 - Immutable InfrastructureAdrian Otto
 
Hybrid Cloud Tutorial Linkedin 2
Hybrid Cloud Tutorial Linkedin 2Hybrid Cloud Tutorial Linkedin 2
Hybrid Cloud Tutorial Linkedin 2David Rilett
 
Sergey Dzyuban "To Build My Own Cloud with Blackjack…"
Sergey Dzyuban "To Build My Own Cloud with Blackjack…"Sergey Dzyuban "To Build My Own Cloud with Blackjack…"
Sergey Dzyuban "To Build My Own Cloud with Blackjack…"Fwdays
 
AWS Community Day 2022 David Kirk_Hybrid Local Development Environments with...
AWS Community Day 2022  David Kirk_Hybrid Local Development Environments with...AWS Community Day 2022  David Kirk_Hybrid Local Development Environments with...
AWS Community Day 2022 David Kirk_Hybrid Local Development Environments with...AWS Chicago
 
Nagios Conference 2014 - Spenser Reinhardt - Detecting Security Breaches With...
Nagios Conference 2014 - Spenser Reinhardt - Detecting Security Breaches With...Nagios Conference 2014 - Spenser Reinhardt - Detecting Security Breaches With...
Nagios Conference 2014 - Spenser Reinhardt - Detecting Security Breaches With...Nagios
 
Automating Yourself Out of Trouble
Automating Yourself Out of TroubleAutomating Yourself Out of Trouble
Automating Yourself Out of TroubleJose De La Rosa
 
[20160621]Constructing Infrastructure Wireless Network Using Open Source
[20160621]Constructing Infrastructure Wireless Network Using Open Source[20160621]Constructing Infrastructure Wireless Network Using Open Source
[20160621]Constructing Infrastructure Wireless Network Using Open SourceKyunghee Univ
 
What I learned at Energizer
What I learned at EnergizerWhat I learned at Energizer
What I learned at EnergizerDavid Epperson
 

Similar to Wicked Network Management (20)

[KubeCon NA 2018] Telepresence Deep Dive Session - Rafael Schloming & Luke Sh...
[KubeCon NA 2018] Telepresence Deep Dive Session - Rafael Schloming & Luke Sh...[KubeCon NA 2018] Telepresence Deep Dive Session - Rafael Schloming & Luke Sh...
[KubeCon NA 2018] Telepresence Deep Dive Session - Rafael Schloming & Luke Sh...
 
Webinar: Agile Network Deployment
Webinar: Agile Network DeploymentWebinar: Agile Network Deployment
Webinar: Agile Network Deployment
 
Puppet Camp Charlotte 2015: Manage Your Switches Like Servers
Puppet Camp Charlotte 2015: Manage Your Switches Like ServersPuppet Camp Charlotte 2015: Manage Your Switches Like Servers
Puppet Camp Charlotte 2015: Manage Your Switches Like Servers
 
Ansible for networks
Ansible for networksAnsible for networks
Ansible for networks
 
Ansible presentation
Ansible presentationAnsible presentation
Ansible presentation
 
To Build My Own Cloud with Blackjack…
To Build My Own Cloud with Blackjack…To Build My Own Cloud with Blackjack…
To Build My Own Cloud with Blackjack…
 
A Fabric/Puppet Build/Deploy System
A Fabric/Puppet Build/Deploy SystemA Fabric/Puppet Build/Deploy System
A Fabric/Puppet Build/Deploy System
 
Habitat hack slides - Infracoders Meetup Graz
Habitat hack slides - Infracoders Meetup GrazHabitat hack slides - Infracoders Meetup Graz
Habitat hack slides - Infracoders Meetup Graz
 
Network Automation Tools
Network Automation ToolsNetwork Automation Tools
Network Automation Tools
 
The internet of $h1t
The internet of $h1tThe internet of $h1t
The internet of $h1t
 
[KubeCon NA 2020] containerd: Rootless Containers 2020
[KubeCon NA 2020] containerd: Rootless Containers 2020[KubeCon NA 2020] containerd: Rootless Containers 2020
[KubeCon NA 2020] containerd: Rootless Containers 2020
 
The State of Rootless Containers
The State of Rootless ContainersThe State of Rootless Containers
The State of Rootless Containers
 
Docker 102 - Immutable Infrastructure
Docker 102 - Immutable InfrastructureDocker 102 - Immutable Infrastructure
Docker 102 - Immutable Infrastructure
 
Hybrid Cloud Tutorial Linkedin 2
Hybrid Cloud Tutorial Linkedin 2Hybrid Cloud Tutorial Linkedin 2
Hybrid Cloud Tutorial Linkedin 2
 
Sergey Dzyuban "To Build My Own Cloud with Blackjack…"
Sergey Dzyuban "To Build My Own Cloud with Blackjack…"Sergey Dzyuban "To Build My Own Cloud with Blackjack…"
Sergey Dzyuban "To Build My Own Cloud with Blackjack…"
 
AWS Community Day 2022 David Kirk_Hybrid Local Development Environments with...
AWS Community Day 2022  David Kirk_Hybrid Local Development Environments with...AWS Community Day 2022  David Kirk_Hybrid Local Development Environments with...
AWS Community Day 2022 David Kirk_Hybrid Local Development Environments with...
 
Nagios Conference 2014 - Spenser Reinhardt - Detecting Security Breaches With...
Nagios Conference 2014 - Spenser Reinhardt - Detecting Security Breaches With...Nagios Conference 2014 - Spenser Reinhardt - Detecting Security Breaches With...
Nagios Conference 2014 - Spenser Reinhardt - Detecting Security Breaches With...
 
Automating Yourself Out of Trouble
Automating Yourself Out of TroubleAutomating Yourself Out of Trouble
Automating Yourself Out of Trouble
 
[20160621]Constructing Infrastructure Wireless Network Using Open Source
[20160621]Constructing Infrastructure Wireless Network Using Open Source[20160621]Constructing Infrastructure Wireless Network Using Open Source
[20160621]Constructing Infrastructure Wireless Network Using Open Source
 
What I learned at Energizer
What I learned at EnergizerWhat I learned at Energizer
What I learned at Energizer
 

Recently uploaded

Unveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time ApplicationsUnveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time ApplicationsAlberto González Trastoy
 
chapter--4-software-project-planning.ppt
chapter--4-software-project-planning.pptchapter--4-software-project-planning.ppt
chapter--4-software-project-planning.pptkotipi9215
 
EY_Graph Database Powered Sustainability
EY_Graph Database Powered SustainabilityEY_Graph Database Powered Sustainability
EY_Graph Database Powered SustainabilityNeo4j
 
A Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docxA Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docxComplianceQuest1
 
Project Based Learning (A.I).pptx detail explanation
Project Based Learning (A.I).pptx detail explanationProject Based Learning (A.I).pptx detail explanation
Project Based Learning (A.I).pptx detail explanationkaushalgiri8080
 
Unlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language ModelsUnlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language Modelsaagamshah0812
 
Alluxio Monthly Webinar | Cloud-Native Model Training on Distributed Data
Alluxio Monthly Webinar | Cloud-Native Model Training on Distributed DataAlluxio Monthly Webinar | Cloud-Native Model Training on Distributed Data
Alluxio Monthly Webinar | Cloud-Native Model Training on Distributed DataAlluxio, Inc.
 
Unit 1.1 Excite Part 1, class 9, cbse...
Unit 1.1 Excite Part 1, class 9, cbse...Unit 1.1 Excite Part 1, class 9, cbse...
Unit 1.1 Excite Part 1, class 9, cbse...aditisharan08
 
DNT_Corporate presentation know about us
DNT_Corporate presentation know about usDNT_Corporate presentation know about us
DNT_Corporate presentation know about usDynamic Netsoft
 
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...ICS
 
Der Spagat zwischen BIAS und FAIRNESS (2024)
Der Spagat zwischen BIAS und FAIRNESS (2024)Der Spagat zwischen BIAS und FAIRNESS (2024)
Der Spagat zwischen BIAS und FAIRNESS (2024)OPEN KNOWLEDGE GmbH
 
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...kellynguyen01
 
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...stazi3110
 
The Ultimate Test Automation Guide_ Best Practices and Tips.pdf
The Ultimate Test Automation Guide_ Best Practices and Tips.pdfThe Ultimate Test Automation Guide_ Best Practices and Tips.pdf
The Ultimate Test Automation Guide_ Best Practices and Tips.pdfkalichargn70th171
 
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...gurkirankumar98700
 
Optimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTVOptimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTVshikhaohhpro
 
What is Binary Language? Computer Number Systems
What is Binary Language?  Computer Number SystemsWhat is Binary Language?  Computer Number Systems
What is Binary Language? Computer Number SystemsJheuzeDellosa
 
Building Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
Building Real-Time Data Pipelines: Stream & Batch Processing workshop SlideBuilding Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
Building Real-Time Data Pipelines: Stream & Batch Processing workshop SlideChristina Lin
 
HR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.comHR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.comFatema Valibhai
 

Recently uploaded (20)

Unveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time ApplicationsUnveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
 
chapter--4-software-project-planning.ppt
chapter--4-software-project-planning.pptchapter--4-software-project-planning.ppt
chapter--4-software-project-planning.ppt
 
EY_Graph Database Powered Sustainability
EY_Graph Database Powered SustainabilityEY_Graph Database Powered Sustainability
EY_Graph Database Powered Sustainability
 
A Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docxA Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docx
 
Project Based Learning (A.I).pptx detail explanation
Project Based Learning (A.I).pptx detail explanationProject Based Learning (A.I).pptx detail explanation
Project Based Learning (A.I).pptx detail explanation
 
Call Girls In Mukherjee Nagar 📱 9999965857 🤩 Delhi 🫦 HOT AND SEXY VVIP 🍎 SE...
Call Girls In Mukherjee Nagar 📱  9999965857  🤩 Delhi 🫦 HOT AND SEXY VVIP 🍎 SE...Call Girls In Mukherjee Nagar 📱  9999965857  🤩 Delhi 🫦 HOT AND SEXY VVIP 🍎 SE...
Call Girls In Mukherjee Nagar 📱 9999965857 🤩 Delhi 🫦 HOT AND SEXY VVIP 🍎 SE...
 
Unlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language ModelsUnlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language Models
 
Alluxio Monthly Webinar | Cloud-Native Model Training on Distributed Data
Alluxio Monthly Webinar | Cloud-Native Model Training on Distributed DataAlluxio Monthly Webinar | Cloud-Native Model Training on Distributed Data
Alluxio Monthly Webinar | Cloud-Native Model Training on Distributed Data
 
Unit 1.1 Excite Part 1, class 9, cbse...
Unit 1.1 Excite Part 1, class 9, cbse...Unit 1.1 Excite Part 1, class 9, cbse...
Unit 1.1 Excite Part 1, class 9, cbse...
 
DNT_Corporate presentation know about us
DNT_Corporate presentation know about usDNT_Corporate presentation know about us
DNT_Corporate presentation know about us
 
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
 
Der Spagat zwischen BIAS und FAIRNESS (2024)
Der Spagat zwischen BIAS und FAIRNESS (2024)Der Spagat zwischen BIAS und FAIRNESS (2024)
Der Spagat zwischen BIAS und FAIRNESS (2024)
 
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
 
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...
 
The Ultimate Test Automation Guide_ Best Practices and Tips.pdf
The Ultimate Test Automation Guide_ Best Practices and Tips.pdfThe Ultimate Test Automation Guide_ Best Practices and Tips.pdf
The Ultimate Test Automation Guide_ Best Practices and Tips.pdf
 
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...
 
Optimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTVOptimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTV
 
What is Binary Language? Computer Number Systems
What is Binary Language?  Computer Number SystemsWhat is Binary Language?  Computer Number Systems
What is Binary Language? Computer Number Systems
 
Building Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
Building Real-Time Data Pipelines: Stream & Batch Processing workshop SlideBuilding Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
Building Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
 
HR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.comHR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.com
 

Wicked Network Management

  • 1. Wicked Network ManagementWicked Network Management Ben Chou (bchou@suse.com) Software Engineer @SUSE Corp. openSUSE.Asia Summit in Beijing 2014.10.19
  • 2. 2 Agenda • Evolution : The overview of Network Bombs in these 20 years. • What is wicked? • When Configs get Interesting • What/Why...Wicked What? • What we WANT/DON'T WANT to achieve • Network Method in openSUSE 12.2 and 13.2 • Wicked Component • Network Service and Client Commands • Debugging Options • Study, Get, Test Wicked • Build Test Package • Current Status
  • 3. 3 Back in 1992, the world is flat
  • 4. 4 Five years later, we had IP networking
  • 5. 5 In 2002, We got IPv6
  • 6. 6 2007, Mobility and Data Center diverge
  • 7. 7 2012, The Universe changed again
  • 8. 8 True Evolution Refer to: https://arranman.files.wordpress.com/2014/05/evolution.jpg
  • 9. What is WickedWhat is Wicked
  • 10. 10 Wicked [ w k d] (adj.)ˋ ɪ ɪ 1. behaving in a way that is morally wrong [= evil]: eg. the wicked stepmother in 'Hänsel und Gretel' 缺德的,邪恶的,坏的 ,恶劣的,讨厌的 2.(informal) behaving badly in a way that is amusing: eg. Tara hasn't lost her wicked sense of humour. 顽皮的,淘气的, 恶作剧的 3.(spoken informal) very good: eg. That's a wicked bike! 非常棒的,够牛逼的,高大上 ....etc.
  • 11. 11 Wicked • Group : System/Management • License : GPL-2.0 • Vendor : SUSE / openSUSE • Summary : Network configuration infrastructure • Description : Wicked is a network configuration infrastructure incorporating a number of existing frameworks into a unified architecture, providing a DBUS interface to network configuration.
  • 12. 12 When Configs get Interesting ? • For an ethernet device, conveniently check things like routes, addresses,link-speed... and perhaps hardware offload settings? • Configure a wireless connection with WPA auth and DHCP? • Reconfigure a bonding device without bringing it down? • Set up a bridge using two bonded NICs as one of its ports? • Create a pair of virtual ethernet devices, assign themto differing namespaces and configure?
  • 13. What/Why … WickedWhat/Why … Wicked want?want?
  • 14. 14 What We Want To Achieve Goal • Cope with increasingly complex configurations • Conflict as little with existing infrastructure as possible Target Audience • Supporting both Data Center and End Users Positioning • Network configuration is a service • Configuration Tools matching the pace of evolution Usability • Morphed into “try to do better than ifup” • Make adoption as smooth as possible
  • 15. 15 What We Want To Achieve Technical Attributes • Architecture-independent • Extensible • React flexibly to network changes • Broadcast event notifications - interface comes up, IP address assigned, routing changed • Wicked client can read ifcfg files (both the green and the red flavors)
  • 16. 16 What We DON'T Want To Achieve • Replacing NetworkManager completely ?! • World Domination (a.k.a. locking users into a specific tool set)
  • 17. 17 Change can be Scary ?? • What's Changed?! • For end-users – nothing really, so relax :D • Sysconfig ifcfg-* style configuration - In place for backward compatibility - Converted to an internal format that is structured, extensible and more powerful - “Internal format” to be exposed to administrators/users by SP1 • /sbin/{ifup,ifdown,ifstatus,ifprobe} scripts wrap wicked commands • Wicked supports the same functionality as opensuse 12.x and SUSE Linux Enterprise 11 • Invasive, yes ; Disruptive, no
  • 22. 22 Wicked Component • Wickedd, the server process • Wicked, Client command line utility • Wicked-nanny (support interface for hotplugging) • dhcp4, dhcp6, auto4...etc , and other supplicants • Future: need help with writing a taskbar applet
  • 25. 25 Network Service (systemd) Enable / Disable • #systemctl enable wicked.service - enables also wickedd*.service - creates network.service alias link • #systemctl disable wicked.service - disables all wicked services, but DOES NOT stop them • #systemctl show -p Id network.service - Shows the currently enabled network service (wicked or NM)
  • 26. 26 Network Service (systemd) Start • #systemctl start network.service (→ wicked.service) ‒ configures the network interfaces (and triggers wicked daemons start) • #systemctl start wickedd.service - starts all wicked daemons • Stop accordingly.
  • 27. 27 Network Service (systemd) Restart / Reload • #systemctl restart network.service ( → wicked.service) ‒restarts the network interface configuration • #systemctl restart wickedd.service - restarts wicked daemons without reconfiguring the network interfaces
  • 29. 29 Client Commands • #wicked ifup <ifname ...> | all - applies configuration to nanny • #wicked ifdown <ifname ...> | all - stops configured interfaces • #wicked ifreload <ifname ...> | all - reloads the configuration (ifdown if config is removed) • #wicked ifstatus <ifname ...> | all - shows the interface configuration status
  • 30. 30 Client Commands • #wicked show-state (currently show-xml) - dumps the state from wickedd • #wicked show-config [source] - shows configuration from all sources in xml format: - compat:[suse:[/etc/sysconfig/network]] - wicked:[xml:[/etc/wicked/ifconfig]]
  • 32. 32 Debugging options Client : # wicked --debug <all | help | ...> - Enables debug level and sets filters by wicked facilities, e.g.: "all,-events,-socket,-objectmodel,-xpath,-xml,-dbus" => e.g. #wicked --debug all ifup all Daemons: - edit /etc/sysconfig/network/config file - change DEBUG=” ” or WICKED_DEBUG=” ” variable to the debug mode
  • 33. 33 Debugging options • Testing DHCP availability - /usr/lib/wicked/bin/wickedd-dhcp4 --test $IFNAME • Collecting logs - journalctl: # journalctl -b -o short-iso > wicked.log
  • 34. Study, Get, Test WickedStudy, Get, Test Wicked
  • 35. 35 Can't wait for? Study and have a TEST! :) Wicked Portal • https://en.opensuse.org/Portal:Wicked Try it • http://software.opensuse.org/package/wicked • https://build.opensuse.org/project/show/network:wicked:master/ Clone it • https://github.com/openSUSE/wicked
  • 36. 36 Issue reporting and developer contact • Bugzilla - Assign issues to: wicked-maintainers@suse.de • External - Mail: wicked-devel@opensuse.org - IRC: #wicked on chat.freenode.net
  • 37. 37 Reporting bugs Please attach the following logs: - set DEBUG=all in /etc/sysconfig/network/config - systemctl restart wickedd - wicked --debug all ifup all # systemctl restart wicked - wicked ifstatus all > status.log - wicked show-config > configs.log - journalctl -b -o short-iso > wicked.log - ip addr show > ip_addr.log - ip route show > routes.log - ip -6 route show >> routes.log
  • 38. Build test packageBuild test package
  • 39. 39 Building a test package • https://github.com/openSUSE/wicked/blob/master/README STEP: #zypper in git-core rpm-build gcc make pkg-config autoconf automake libtool systemd-devel libnl3-devel libiw-devel dbus-1-devel libgcrypt-devel #git clone https://github.com/openSUSE/wicked.git - cd wicked && ./autogen.sh - edit wicked.spec and set e.g: export CFLAGS="$RPM_OPT_FLAGS -Wall -Werror -O1 -g" #make rpmbuild
  • 41. 41 What Wicked can do Today • Device types: Ethernet, VLAN, Bridging, Bonding, Infiniband, tun, tap, dummy, macvlan, macvtap, hsi, qeth, iucv, wireless (one wpa-psk/eap network) • Address configuration: static, dhcp4, dhcp6, IPv4 zeroconf • Hot-plugging • Known issues - Nanny not used yet, wickedd forgets state on restart while hotplugging
  • 42. 42 What Wicked will do Tomorrow • In implementation • tunneling (sit, gre*, ip*ip* tunnels) • Wireless (using wpa-supplicant) • On the roadmap: • Taskbar applet • Documentation improvements • pppoe (lower priority), ppp/UMTS [Server SP1] • On the radar: • Improve integration with openvswitch • Network namespace awareness and virtual ethernet support • Improve wireless support
  • 44. 44 Today's Networking - Highly Dynamic - - Virtualized - - Software-Defined - - Converged -
  • 46. 46 Thank You for Your Attention!! ^_^ Specially Thanks a lot the core Developer Olaf Kirch (okir@suse.de) Marius Tomaschewski (mt@suse.de) Pawel Wieczorkiewicz (pwieczorkiewicz@suse.com) Karol Mroz (kmroz@suse.com)
  • 48. 48