<reponame>dinesharanathunga/muddy
'''
    Author: <NAME>
    Version: 1.0
    Date: 02/02/2018
    Description: Resource strings.
'''

resources = { 'value_null':"value cannot be null or empty",
              'policy_zone_invalid':"security policy zone is missing in zone-conduit topology",
              'policy_incompatible':"security policy is not compatible with input zone-conduit topology",
              'ruleset_generation_failed':"low-level ruleset generation failed for policy rule",
              'zone_paths_determination_failed':"inter-zone path determination failed",
              'gateway_link_determination_failed':"firewall configuration interface determination failed",
              'connected_components_generation_failed': "connected components generation failed",
              'zone_gateway_topology_create_failed':"zone-gateway topology create failed",
              'arguments_invalid': "provided arguments are invalid",
              'input_network_not_found':'input network topology not found',
              'input_network_invalid':'input network provided is invalid',
              'network_initialisation_failed':'network initialisation failed',
              'network_apply_design_rules_failed':'failed to apply design rules to network',
              'network_database_create_failed':'network resource database create failed',
              'network_precompile_failed':'failed to precompile network',
              'zone_firewall_topology_create_failed':'zone-firewall topology create failed',
              'zone_conduit_topology_create_failed':'zone-conduit topology create failed',
              'zone_firewall_overlay_create_failed':'zone-firewall overlay create failed',
              'zone_conduit_overlay_create_failed':'zone-conduit overlay create failed',
              'zone_flow_overlay_create_failed':'zone-flow overlay create failed',
              'zone_conduit_topology_load_failed':'zone-conduit topology load failed',
              'created_zone_conduit_topology_missing':'generated zone-conduit topology missing',
              'created_zone_flow_topology_missing':'generated zone-conduit topology missing',
              'input_zone_conduit_topology_missing':'input zone-conduit topology missing',
              'zone_conduit_inclusion_check_failed':'zone-conduit isomporphism check failed',
              'zone_conduit_isomorphism_post_check_processing_failed':'zone-conduit isomorphism check post processing failed',
              'security_policy_invalid':'provided security policy is invalid',
              'zone_conduit_isomorphism_check_pending_or_failed':'zone-conduit isomorphism check is pending or has failed',
              'security_policy_not_set':'a valid security policy is not provided',
              'enforce_security_policy_failed':'failed to enforce security policy',
              'graph_node_type_unspecified':'',
              'graph_duplicate_node_labels':'',
              'graph_node_type_unknown':'',
              'graph_missing_node_labels':'',
              'graph_missing_edge_labels':'',
              'generic_tcp_services_disallowed' :'generic tcp services not allowed',
              'tcp_dest_port_invalid':'tcp.dest_port invalid (must be between 0 and 65535)',
              'tcp_source_port_invalid':'tcp.source_port invalid (must be between 0 and 65535)',
              'tcp_attributes_invalid': 'tcp protocol attributes invalid',
              'generic_udp_services_disallowed' :'generic udp services not allowed',
              'udp_dest_port_invalid':'udp.dest_port invalid (must be between 0 and 65535)',
              'udp_source_port_invalid':'udp.source_port invalid (must be between 0 and 65535)',
              'udp_attributes_invalid': 'udp protocol attributes invalid',
              'undefined_icmp_type' : 'undefined icmp type number (must be between 0 and 255)',
              'protocol_attributes_invalid' : 'protocol attributes invalid',
              'port_invalid': 'port invalid (must be between 0 and 65535)',
              'port_or_group_invalid':'port or port group invalid',
              'generic_services_disallowed': 'generic services disallowed',
              'service_does_not_exist' : 'service description not found',
              'service_already_exists' : 'service description already exists',
              'port_number_invalid':'port number invalid (must be between 0 and 65535)',
              'icmp_type_invalid': 'icmp type invalid (must be between 0 and 255)',
              'icmp_type_not_specified': 'icmp type not specified',
              'icmp_code_invalid':'icmp code invalid (must be between 0 and 255)',
              'undefined_icmp_code':'undefined icmp code number',
              'icmp_type_or_group_invalid':'icmp type or type group invalid',
              'graph_file_load_failed':'failed to load graph file',
              'graph_file_save_failed' : 'failed to save graph file',
              'duplicate_attributes_found' : 'duplicate members present',
              'duplicate_protocol_attributes': 'protocol attributes specified more than once',
              'input_specification_compile_failed':'input specification file compile failed',
              'high_level_policy_not_provided':'a valid high-level policy was not provided',
              'target_platform_invalid':'target platform provided is invalid',
              'network_topology_not_provided':'a valid network topology was not provided',
              'alloy_export_create_failed':'Alloy export create failed',
              'setup_test_infrastructure_failed': 'test server and client infrastructure setup failed',
              'security_policy_missing':'a security policy was not provided',
              'canonical_policy_generation_failed' : 'canonical policy generation failed',
              'canonical_policy_operation_invalid' : 'canonical policy operation is invalid for policies provided',
              'get_semantic_difference_failed':'failed to compute semantic difference of policies',
              'file_empty': "file is empty",
              'folder_empty': 'folder is empty',
              'format_invalid': 'provided format is invalid',
              'output_path_invalid': 'output folder path not set',
              'not_in_generating_set': 'provided values are not in generating set',
              'value_not_found': 'value not found',
              'no_overlap': 'values do not overlap',
              'not_identical': 'values are not identical',
              'not_a_subset': 'not a subset of parent set',
              'structures_incompatible': 'structures are not compatible',
              'value_out_of_bounds': 'value is out of bounds',
              'mud_file_action_invalid' : 'MUD file access-control action is invalid',
              'mud_file_has_local_ipaddress_details' : 'MUD file contains local IP address details'
}

'''
    Author: <NAME>
    Version: 1.0
    Date: 02/02/2018
    Description: Resource strings.
'''

resources = { 'value_null':"value cannot be null or empty",
              'policy_zone_invalid':"security policy zone is missing in zone-conduit topology",
              'policy_incompatible':"security policy is not compatible with input zone-conduit topology",
              'ruleset_generation_failed':"low-level ruleset generation failed for policy rule",
              'zone_paths_determination_failed':"inter-zone path determination failed",
              'gateway_link_determination_failed':"firewall configuration interface determination failed",
              'connected_components_generation_failed': "connected components generation failed",
              'zone_gateway_topology_create_failed':"zone-gateway topology create failed",
              'arguments_invalid': "provided arguments are invalid",
              'input_network_not_found':'input network topology not found',
              'input_network_invalid':'input network provided is invalid',
              'network_initialisation_failed':'network initialisation failed',
              'network_apply_design_rules_failed':'failed to apply design rules to network',
              'network_database_create_failed':'network resource database create failed',
              'network_precompile_failed':'failed to precompile network',
              'zone_firewall_topology_create_failed':'zone-firewall topology create failed',
              'zone_conduit_topology_create_failed':'zone-conduit topology create failed',
              'zone_firewall_overlay_create_failed':'zone-firewall overlay create failed',
              'zone_conduit_overlay_create_failed':'zone-conduit overlay create failed',
              'zone_flow_overlay_create_failed':'zone-flow overlay create failed',
              'zone_conduit_topology_load_failed':'zone-conduit topology load failed',
              'created_zone_conduit_topology_missing':'generated zone-conduit topology missing',
              'created_zone_flow_topology_missing':'generated zone-conduit topology missing',
              'input_zone_conduit_topology_missing':'input zone-conduit topology missing',
              'zone_conduit_inclusion_check_failed':'zone-conduit isomporphism check failed',
              'zone_conduit_isomorphism_post_check_processing_failed':'zone-conduit isomorphism check post processing failed',
              'security_policy_invalid':'provided security policy is invalid',
              'zone_conduit_isomorphism_check_pending_or_failed':'zone-conduit isomorphism check is pending or has failed',
              'security_policy_not_set':'a valid security policy is not provided',
              'enforce_security_policy_failed':'failed to enforce security policy',
              'graph_node_type_unspecified':'',
              'graph_duplicate_node_labels':'',
              'graph_node_type_unknown':'',
              'graph_missing_node_labels':'',
              'graph_missing_edge_labels':'',
              'generic_tcp_services_disallowed' :'generic tcp services not allowed',
              'tcp_dest_port_invalid':'tcp.dest_port invalid (must be between 0 and 65535)',
              'tcp_source_port_invalid':'tcp.source_port invalid (must be between 0 and 65535)',
              'tcp_attributes_invalid': 'tcp protocol attributes invalid',
              'generic_udp_services_disallowed' :'generic udp services not allowed',
              'udp_dest_port_invalid':'udp.dest_port invalid (must be between 0 and 65535)',
              'udp_source_port_invalid':'udp.source_port invalid (must be between 0 and 65535)',
              'udp_attributes_invalid': 'udp protocol attributes invalid',
              'undefined_icmp_type' : 'undefined icmp type number (must be between 0 and 255)',
              'protocol_attributes_invalid' : 'protocol attributes invalid',
              'port_invalid': 'port invalid (must be between 0 and 65535)',
              'port_or_group_invalid':'port or port group invalid',
              'generic_services_disallowed': 'generic services disallowed',
              'service_does_not_exist' : 'service description not found',
              'service_already_exists' : 'service description already exists',
              'port_number_invalid':'port number invalid (must be between 0 and 65535)',
              'icmp_type_invalid': 'icmp type invalid (must be between 0 and 255)',
              'icmp_type_not_specified': 'icmp type not specified',
              'icmp_code_invalid':'icmp code invalid (must be between 0 and 255)',
              'undefined_icmp_code':'undefined icmp code number',
              'icmp_type_or_group_invalid':'icmp type or type group invalid',
              'graph_file_load_failed':'failed to load graph file',
              'graph_file_save_failed' : 'failed to save graph file',
              'duplicate_attributes_found' : 'duplicate members present',
              'duplicate_protocol_attributes': 'protocol attributes specified more than once',
              'input_specification_compile_failed':'input specification file compile failed',
              'high_level_policy_not_provided':'a valid high-level policy was not provided',
              'target_platform_invalid':'target platform provided is invalid',
              'network_topology_not_provided':'a valid network topology was not provided',
              'alloy_export_create_failed':'Alloy export create failed',
              'setup_test_infrastructure_failed': 'test server and client infrastructure setup failed',
              'security_policy_missing':'a security policy was not provided',
              'canonical_policy_generation_failed' : 'canonical policy generation failed',
              'canonical_policy_operation_invalid' : 'canonical policy operation is invalid for policies provided',
              'get_semantic_difference_failed':'failed to compute semantic difference of policies',
              'file_empty': "file is empty",
              'folder_empty': 'folder is empty',
              'format_invalid': 'provided format is invalid',
              'output_path_invalid': 'output folder path not set',
              'not_in_generating_set': 'provided values are not in generating set',
              'value_not_found': 'value not found',
              'no_overlap': 'values do not overlap',
              'not_identical': 'values are not identical',
              'not_a_subset': 'not a subset of parent set',
              'structures_incompatible': 'structures are not compatible',
              'value_out_of_bounds': 'value is out of bounds',
              'mud_file_action_invalid' : 'MUD file access-control action is invalid',
              'mud_file_has_local_ipaddress_details' : 'MUD file contains local IP address details'
}
Author: <NAME>     Version: 1.0     Date: 02/02/2018     Description: Resource strings.