netplan
| Use Case | Command | Description |
|---|---|---|
| Parse netplan YAML configuration | from netplan.parser import Parser | Import the Parser class to read and validate netplan YAML files |
| Access netplan state | from netplan.state import State | Import the State class to query or modify runtime network state |
| Define network definitions | from netplan.netdef import NetDefinition | Work with individual network interface definitions |
| Use low-level CFFI interface | import netplan._netplan_cffi | Access the C library bindings for advanced operations |
# Copyright (C) 2023 Canonical, Ltd.
# Author: Lukas MΓ€rdian <slyon AT 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/>.
_netplan_cffi_utilsnetdefparserstate__all__ = [<class 'netplan.parser.Parser'>, <class 'netplan.state.State'>, ...]
/usr/lib/python3/dist-packages/netplan/__init__.py
Generated by phpman v4.10.0-7-g98e9fd5 · Markdown · JSON · MCP Author: Che Dong Under GNU General Public License
2026-09-01 15:50 @216.73.216.239
CrawledBy Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)