Server IP : 80.87.202.40 / Your IP : 216.73.216.169 Web Server : Apache System : Linux rospirotorg.ru 5.14.0-539.el9.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Dec 5 22:26:13 UTC 2024 x86_64 User : bitrix ( 600) PHP Version : 8.2.27 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /lib/python3.9/site-packages/nftables/__pycache__/ |
Upload File : |
a V��fAN � @ sD d dl Z d dlT d dlZd dlZdZG dd� d�ZG dd� d�ZdS )� N)�*z0.1c @ s e Zd ZdZdd� Zdd� ZdS )�SchemaValidatorz+Libnftables JSON validator using jsonschemac C s^ t j�t j�t�d�}t|d��}t�|�| _W d � n1 sB0 Y dd l }|| _ d S )Nzschema.json�rr ) �os�path�join�dirname�__file__�open�json�load�schema� jsonschema)�selfZschema_pathZschema_filer � r �5/usr/lib/python3.9/site-packages/nftables/nftables.py�__init__ s *zSchemaValidator.__init__c C s | j j|| jd� d S )N)�instancer )r �validater )r r r r r r "