<commit_before>@{
    AII types
}

declaration template quattor/types/aii;


type structure_aii_module = extensible {
    "dummy" ? string
};

type structure_aii_hook = extensible {
    "module" : string
};

type structure_aii_hooklist = {
    "pre_install" ? structure_aii_hook[]
    "post_install" ? structure_aii_hook[]
    "post_reboot" ? structure_aii_hook[]
    "anaconda" ? structure_aii_hook[]

    # Intended to be used by nbp/pxelinux plug-in
    "boot" ? structure_aii_hook[]
    "configure" ? structure_aii_hook[]
    "firmware" ? structure_aii_hook[]
    "install" ? structure_aii_hook[]
    "livecd" ? structure_aii_hook[]
    "remove" ? structure_aii_hook[]
    "rescue" ? structure_aii_hook[]
    "status" ? structure_aii_hook[]
};

type structure_aii = extensible {
    "osinstall" ? structure_aii_module{}
    "nbp" ? structure_aii_module{}
    "dhcp" ? structure_aii_module
    "hooks" ? structure_aii_hooklist
};<commit_msg>add protected option to aii<commit_after>@{
    AII types
}

declaration template quattor/types/aii;


type structure_aii_module = extensible {
    "dummy" ? string
};

type structure_aii_hook = extensible {
    "module" : string
};

type structure_aii_hooklist = {
    "pre_install" ? structure_aii_hook[]
    "post_install" ? structure_aii_hook[]
    "post_reboot" ? structure_aii_hook[]
    "anaconda" ? structure_aii_hook[]

    # Intended to be used by nbp/pxelinux plug-in
    "boot" ? structure_aii_hook[]
    "configure" ? structure_aii_hook[]
    "firmware" ? structure_aii_hook[]
    "install" ? structure_aii_hook[]
    "livecd" ? structure_aii_hook[]
    "remove" ? structure_aii_hook[]
    "rescue" ? structure_aii_hook[]
    "status" ? structure_aii_hook[]
};

@documentation{
    AII structure which defines the osinstall, nbp,
    dhcp config and hooks.
}
type structure_aii = extensible {
    "osinstall" ? structure_aii_module{}
    "nbp" ? structure_aii_module{}
    "dhcp" ? structure_aii_module
    "hooks" ? structure_aii_hooklist
@{
    The "protected" value can be used to protect the install and removal.
    By setting this value (eg. to the latest buildid), you will be asked 
    to confirm this string as verification when trying to do install, configure or removal actions. 
    This is done with the  --confirm option of aii-shellfe
}
    "protected" ? string
};
{'fraction_non_alphanumeric': 0.10440735986307231, 'fraction_numerical': 0.0, 'mean_word_length': 3.932489451476793, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5769253', 'n_tokens_mistral': 809, 'n_tokens_neox': 800, 'n_words': 187}