mirror of
https://github.com/Pardus-LiderAhenk/ahenk
synced 2024-12-24 08:02:15 +03:00
19 lines
423 B
Python
19 lines
423 B
Python
|
#!/usr/bin/python3
|
||
|
# -*- coding: utf-8 -*-
|
||
|
# Author:Mine DOGAN <mine.dogan@agem.com.tr>
|
||
|
|
||
|
import json
|
||
|
import os
|
||
|
import sys
|
||
|
|
||
|
from base.plugin.abstract_plugin import AbstractPlugin
|
||
|
|
||
|
sys.path.append(os.path.abspath(os.path.join(os.path.dirname(__file__))))
|
||
|
|
||
|
from fstab import Fstab
|
||
|
from api.disk_quota import DiskQuota
|
||
|
|
||
|
def handle_policy(profile_data, context):
|
||
|
dq = DiskQuota(profile_data, context)
|
||
|
dq.handle_policy()
|