mirror of
https://github.com/Pardus-LiderAhenk/ahenk
synced 2024-11-26 10:32:24 +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()
|