Spamworldpro Mini Shell
Spamworldpro


Server : Apache/2.4.52 (Ubuntu)
System : Linux webserver 6.8.0-49-generic #49~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Wed Nov 6 17:42:15 UTC 2 x86_64
User : www-data ( 33)
PHP Version : 8.1.2-1ubuntu2.21
Disable Function : NONE
Directory :  /lib/python3/dist-packages/cloudinit/net/netops/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //lib/python3/dist-packages/cloudinit/net/netops/__init__.py
from typing import Optional

from cloudinit.subp import SubpResult


class NetOps:
    @staticmethod
    def link_up(interface: str) -> SubpResult:
        pass

    @staticmethod
    def link_down(interface: str) -> SubpResult:
        pass

    @staticmethod
    def link_rename(current_name: str, new_name: str):
        pass

    @staticmethod
    def add_route(
        interface: str,
        route: str,
        *,
        gateway: Optional[str] = None,
        source_address: Optional[str] = None
    ):
        pass

    @staticmethod
    def append_route(interface: str, address: str, gateway: str):
        pass

    @staticmethod
    def del_route(
        interface: str,
        address: str,
        *,
        gateway: Optional[str] = None,
        source_address: Optional[str] = None
    ):
        pass

    @staticmethod
    def get_default_route() -> str:
        pass

    @staticmethod
    def add_addr(
        interface: str, address: str, broadcast: Optional[str] = None
    ):
        pass

    @staticmethod
    def del_addr(interface: str, address: str):
        pass

    @staticmethod
    def flush_addr(interface: str):
        pass

Spamworldpro Mini