{
    "content": [
        {
            "type": "text",
            "text": "# netplan (pydoc)\n\n## TLDR\n\n> Network configuration utility using YAML.\n\n- Apply a network configuration and make it persistent:\n  `sudo netplan apply`\n- Generate backend configuration files:\n  `sudo netplan generate`\n- Configure a network interface to use DHCP:\n  `sudo netplan set ethernets.{{interface_name}}.dhcp4=true`\n- Try configuration changes without applying them permanently:\n  `sudo netplan try --timeout {{seconds}}`\n- Return to previous working configuration after failed apply:\n  `sudo netplan --debug apply`\n- Display the current netplan configuration status:\n  `netplan status`\n\n*Source: tldr-pages*\n\n---\n\n**Summary:** netplan\n\n## Section Outline\n\n- **NAME** (2 lines)\n- **DESCRIPTION** (15 lines)\n- **PACKAGE CONTENTS** (6 lines)\n- **DATA** (2 lines)\n- **FILE** (3 lines)\n\n## Full Content\n\n### NAME\n\nnetplan\n\n### DESCRIPTION\n\n# Copyright (C) 2023 Canonical, Ltd.\n# Author: Lukas Märdian <slyon@ubuntu.com>\n#\n# This program is free software; you can redistribute it and/or modify\n# it under the terms of the GNU General Public License as published by\n# the Free Software Foundation; version 3.\n#\n# This program is distributed in the hope that it will be useful,\n# but WITHOUT ANY WARRANTY; without even the implied warranty of\n# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n# GNU General Public License for more details.\n#\n# You should have received a copy of the GNU General Public License\n# along with this program.  If not, see <http://www.gnu.org/licenses/>.\n\n### PACKAGE CONTENTS\n\nnetplancffi\nutils\nnetdef\nparser\nstate\n\n### DATA\n\nall = [<class 'netplan.parser.Parser'>, <class 'netplan.state.Stat...\n\n### FILE\n\n/usr/lib/python3/dist-packages/netplan/init.py\n\n"
        }
    ],
    "structuredContent": {
        "command": "netplan",
        "section": "",
        "mode": "pydoc",
        "summary": "netplan",
        "synopsis": null,
        "tldr_summary": "Network configuration utility using YAML.",
        "tldr_examples": [
            {
                "description": "Apply a network configuration and make it persistent",
                "command": "sudo netplan apply"
            },
            {
                "description": "Generate backend configuration files",
                "command": "sudo netplan generate"
            },
            {
                "description": "Configure a network interface to use DHCP",
                "command": "sudo netplan set ethernets.{{interface_name}}.dhcp4=true"
            },
            {
                "description": "Try configuration changes without applying them permanently",
                "command": "sudo netplan try --timeout {{seconds}}"
            },
            {
                "description": "Return to previous working configuration after failed apply",
                "command": "sudo netplan --debug apply"
            },
            {
                "description": "Display the current netplan configuration status",
                "command": "netplan status"
            }
        ],
        "tldr_source": "official",
        "flags": [],
        "examples": [],
        "see_also": [],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "DESCRIPTION",
                "lines": 15,
                "subsections": []
            },
            {
                "name": "PACKAGE CONTENTS",
                "lines": 6,
                "subsections": []
            },
            {
                "name": "DATA",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "FILE",
                "lines": 3,
                "subsections": []
            }
        ]
    }
}