# netplan - pydoc - phpman

> **TLDR:** Network configuration utility using YAML.
>
- Apply a network configuration and make it persistent:
  `sudo netplan apply`
- Generate backend configuration files:
  `sudo netplan generate`
- Configure a network interface to use DHCP:
  `sudo netplan set ethernets.{{interface_name}}.dhcp4=true`
- Try configuration changes without applying them permanently:
  `sudo netplan try --timeout {{seconds}}`
- Return to previous working configuration after failed apply:
  `sudo netplan --debug apply`
- Display the current netplan configuration status:
  `netplan status`

*Source: tldr-pages*

---

Help on package netplan:

## NAME
    netplan

## DESCRIPTION
    # Copyright (C) 2023 Canonical, Ltd.
    # Author: Lukas Märdian <<slyon@ubuntu.com>>
    #
    # This program is free software; you can redistribute it and/or modify
    # it under the terms of the GNU General Public License as published by
    # the Free Software Foundation; version 3.
    #
    # This program is distributed in the hope that it will be useful,
    # but WITHOUT ANY WARRANTY; without even the implied warranty of
    # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    # GNU General Public License for more details.
    #
    # You should have received a copy of the GNU General Public License
    # along with this program.  If not, see <<http://www.gnu.org/licenses/>>.

## PACKAGE CONTENTS
    _netplan_cffi
    _utils
    netdef
    parser
    state

## DATA
    __all__ = [<class 'netplan.parser.Parser'>, <class 'netplan.state.Stat...

## FILE
    /usr/lib/python3/dist-packages/netplan/__init__.py


