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

Tema II. EL INTERNET Y LA RED: INFRAESTRUCTURA PARA EL COMERCIO ELECTRÓNICO
Tema II. EL INTERNET Y LA RED: INFRAESTRUCTURA PARA EL COMERCIO ELECTRÓNICOTema II. EL INTERNET Y LA RED: INFRAESTRUCTURA PARA EL COMERCIO ELECTRÓNICO
Tema II. EL INTERNET Y LA RED: INFRAESTRUCTURA PARA EL COMERCIO ELECTRÓNICOmrycc
 
Rrjeta kompjuterike leksion 5
Rrjeta kompjuterike leksion 5  Rrjeta kompjuterike leksion 5
Rrjeta kompjuterike leksion 5 Xhendris Ismaili
 
Networking Fundamentals
Networking FundamentalsNetworking Fundamentals
Networking FundamentalsUMA MAHESWARI
 
Computer Networking.
Computer Networking.Computer Networking.
Computer Networking.mvenkat2016
 
CCNA SUMMER TRAINNING PPT
CCNA SUMMER TRAINNING PPTCCNA SUMMER TRAINNING PPT
CCNA SUMMER TRAINNING PPTNishant Goel
 
Network Types and Topologies
Network Types and TopologiesNetwork Types and Topologies
Network Types and TopologiesChristopher Brown
 
Redes de computadores 2 - Aula 4 - Divisão em sub-redes
Redes de computadores 2 - Aula 4 - Divisão em sub-redesRedes de computadores 2 - Aula 4 - Divisão em sub-redes
Redes de computadores 2 - Aula 4 - Divisão em sub-redesCleber Fonseca
 
CCNA Course Training Presentation
CCNA Course Training PresentationCCNA Course Training Presentation
CCNA Course Training PresentationRohit Singh
 
Packet Tracer Tutorial # 1
Packet Tracer Tutorial # 1Packet Tracer Tutorial # 1
Packet Tracer Tutorial # 1Abdul Basit
 
Computer network (Lecture 1)
Computer network (Lecture 1)Computer network (Lecture 1)
Computer network (Lecture 1)Vishwajit Nandi
 
Computer communication and networks
Computer communication and networksComputer communication and networks
Computer communication and networksImran Khan
 
Computer Networking fundamentals
Computer Networking fundamentals Computer Networking fundamentals
Computer Networking fundamentals Kirti Verma
 
Presentacion capa de enlace y capa de red
Presentacion capa de enlace y capa de redPresentacion capa de enlace y capa de red
Presentacion capa de enlace y capa de reddiflor
 
CCNA ppt Day 1
CCNA ppt Day 1CCNA ppt Day 1
CCNA ppt Day 1VISHNU N
 

What's hot (20)

Tema II. EL INTERNET Y LA RED: INFRAESTRUCTURA PARA EL COMERCIO ELECTRÓNICO
Tema II. EL INTERNET Y LA RED: INFRAESTRUCTURA PARA EL COMERCIO ELECTRÓNICOTema II. EL INTERNET Y LA RED: INFRAESTRUCTURA PARA EL COMERCIO ELECTRÓNICO
Tema II. EL INTERNET Y LA RED: INFRAESTRUCTURA PARA EL COMERCIO ELECTRÓNICO
 
Rrjeta kompjuterike leksion 5
Rrjeta kompjuterike leksion 5  Rrjeta kompjuterike leksion 5
Rrjeta kompjuterike leksion 5
 
Fog Computing
Fog ComputingFog Computing
Fog Computing
 
Networking Fundamentals
Networking FundamentalsNetworking Fundamentals
Networking Fundamentals
 
Computer Networking.
Computer Networking.Computer Networking.
Computer Networking.
 
CCNA SUMMER TRAINNING PPT
CCNA SUMMER TRAINNING PPTCCNA SUMMER TRAINNING PPT
CCNA SUMMER TRAINNING PPT
 
Network Types and Topologies
Network Types and TopologiesNetwork Types and Topologies
Network Types and Topologies
 
Computer networks
Computer networks   Computer networks
Computer networks
 
Redes de computadores 2 - Aula 4 - Divisão em sub-redes
Redes de computadores 2 - Aula 4 - Divisão em sub-redesRedes de computadores 2 - Aula 4 - Divisão em sub-redes
Redes de computadores 2 - Aula 4 - Divisão em sub-redes
 
CCNA Course Training Presentation
CCNA Course Training PresentationCCNA Course Training Presentation
CCNA Course Training Presentation
 
Packet Tracer Tutorial # 1
Packet Tracer Tutorial # 1Packet Tracer Tutorial # 1
Packet Tracer Tutorial # 1
 
Computer network (Lecture 1)
Computer network (Lecture 1)Computer network (Lecture 1)
Computer network (Lecture 1)
 
Computer communication and networks
Computer communication and networksComputer communication and networks
Computer communication and networks
 
Fog Computing
Fog ComputingFog Computing
Fog Computing
 
Computer Networking fundamentals
Computer Networking fundamentals Computer Networking fundamentals
Computer Networking fundamentals
 
NetSim User Manual
NetSim User ManualNetSim User Manual
NetSim User Manual
 
Presentacion capa de enlace y capa de red
Presentacion capa de enlace y capa de redPresentacion capa de enlace y capa de red
Presentacion capa de enlace y capa de red
 
Networkingconcepts
NetworkingconceptsNetworkingconcepts
Networkingconcepts
 
CCNA ppt Day 1
CCNA ppt Day 1CCNA ppt Day 1
CCNA ppt Day 1
 
CCNA PPT
CCNA PPTCCNA PPT
CCNA PPT
 

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

%+27788225528 love spells in Toronto Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Toronto Psychic Readings, Attraction spells,Brin...%+27788225528 love spells in Toronto Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Toronto Psychic Readings, Attraction spells,Brin...masabamasaba
 
%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein
%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein
%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfonteinmasabamasaba
 
Architecture decision records - How not to get lost in the past
Architecture decision records - How not to get lost in the pastArchitecture decision records - How not to get lost in the past
Architecture decision records - How not to get lost in the pastPapp Krisztián
 
%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein
%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein
%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfonteinmasabamasaba
 
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...Shane Coughlan
 
What Goes Wrong with Language Definitions and How to Improve the Situation
What Goes Wrong with Language Definitions and How to Improve the SituationWhat Goes Wrong with Language Definitions and How to Improve the Situation
What Goes Wrong with Language Definitions and How to Improve the SituationJuha-Pekka Tolvanen
 
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 AidPhilip Schwarz
 
WSO2CON 2024 - How to Run a Security Program
WSO2CON 2024 - How to Run a Security ProgramWSO2CON 2024 - How to Run a Security Program
WSO2CON 2024 - How to Run a Security ProgramWSO2
 
%in Hazyview+277-882-255-28 abortion pills for sale in Hazyview
%in Hazyview+277-882-255-28 abortion pills for sale in Hazyview%in Hazyview+277-882-255-28 abortion pills for sale in Hazyview
%in Hazyview+277-882-255-28 abortion pills for sale in Hazyviewmasabamasaba
 
%in Benoni+277-882-255-28 abortion pills for sale in Benoni
%in Benoni+277-882-255-28 abortion pills for sale in Benoni%in Benoni+277-882-255-28 abortion pills for sale in Benoni
%in Benoni+277-882-255-28 abortion pills for sale in Benonimasabamasaba
 
WSO2CON 2024 - Navigating API Complexity: REST, GraphQL, gRPC, Websocket, Web...
WSO2CON 2024 - Navigating API Complexity: REST, GraphQL, gRPC, Websocket, Web...WSO2CON 2024 - Navigating API Complexity: REST, GraphQL, gRPC, Websocket, Web...
WSO2CON 2024 - Navigating API Complexity: REST, GraphQL, gRPC, Websocket, Web...WSO2
 
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...masabamasaba
 
WSO2CON 2024 - API Management Usage at La Poste and Its Impact on Business an...
WSO2CON 2024 - API Management Usage at La Poste and Its Impact on Business an...WSO2CON 2024 - API Management Usage at La Poste and Its Impact on Business an...
WSO2CON 2024 - API Management Usage at La Poste and Its Impact on Business an...WSO2
 
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-learnAmarnathKambale
 
Announcing Codolex 2.0 from GDK Software
Announcing Codolex 2.0 from GDK SoftwareAnnouncing Codolex 2.0 from GDK Software
Announcing Codolex 2.0 from GDK SoftwareJim McKeeth
 
%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 masabamasaba
 
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...masabamasaba
 
%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 midrandmasabamasaba
 

Recently uploaded (20)

%+27788225528 love spells in Toronto Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Toronto Psychic Readings, Attraction spells,Brin...%+27788225528 love spells in Toronto Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Toronto Psychic Readings, Attraction spells,Brin...
 
%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein
%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein
%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein
 
Architecture decision records - How not to get lost in the past
Architecture decision records - How not to get lost in the pastArchitecture decision records - How not to get lost in the past
Architecture decision records - How not to get lost in the past
 
%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein
%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein
%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein
 
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
 
What Goes Wrong with Language Definitions and How to Improve the Situation
What Goes Wrong with Language Definitions and How to Improve the SituationWhat Goes Wrong with Language Definitions and How to Improve the Situation
What Goes Wrong with Language Definitions and How to Improve the Situation
 
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...
 
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
 
WSO2CON 2024 - How to Run a Security Program
WSO2CON 2024 - How to Run a Security ProgramWSO2CON 2024 - How to Run a Security Program
WSO2CON 2024 - How to Run a Security Program
 
%in Hazyview+277-882-255-28 abortion pills for sale in Hazyview
%in Hazyview+277-882-255-28 abortion pills for sale in Hazyview%in Hazyview+277-882-255-28 abortion pills for sale in Hazyview
%in Hazyview+277-882-255-28 abortion pills for sale in Hazyview
 
%in Benoni+277-882-255-28 abortion pills for sale in Benoni
%in Benoni+277-882-255-28 abortion pills for sale in Benoni%in Benoni+277-882-255-28 abortion pills for sale in Benoni
%in Benoni+277-882-255-28 abortion pills for sale in Benoni
 
WSO2CON 2024 - Navigating API Complexity: REST, GraphQL, gRPC, Websocket, Web...
WSO2CON 2024 - Navigating API Complexity: REST, GraphQL, gRPC, Websocket, Web...WSO2CON 2024 - Navigating API Complexity: REST, GraphQL, gRPC, Websocket, Web...
WSO2CON 2024 - Navigating API Complexity: REST, GraphQL, gRPC, Websocket, Web...
 
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...
 
WSO2CON 2024 - API Management Usage at La Poste and Its Impact on Business an...
WSO2CON 2024 - API Management Usage at La Poste and Its Impact on Business an...WSO2CON 2024 - API Management Usage at La Poste and Its Impact on Business an...
WSO2CON 2024 - API Management Usage at La Poste and Its Impact on Business an...
 
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
 
Announcing Codolex 2.0 from GDK Software
Announcing Codolex 2.0 from GDK SoftwareAnnouncing Codolex 2.0 from GDK Software
Announcing Codolex 2.0 from GDK Software
 
%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 Boston Psychic Readings, Attraction spells,Bring...
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
 
Abortion Pills In Pretoria ](+27832195400*)[ 🏥 Women's Abortion Clinic In Pre...
Abortion Pills In Pretoria ](+27832195400*)[ 🏥 Women's Abortion Clinic In Pre...Abortion Pills In Pretoria ](+27832195400*)[ 🏥 Women's Abortion Clinic In Pre...
Abortion Pills In Pretoria ](+27832195400*)[ 🏥 Women's Abortion Clinic In Pre...
 
%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
 

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