# Copyright 2019 VMware, Inc.
# SPDX-License-Identifier: BSD-2-Clause

# ############### YAML keys ################## #

CREDENTIALS_KEY = 'credentials'
PACKAGE_HANDLER_KEY = 'package_handler'

PRE_POST_PROCESSOR_KEY = 'pre_post_processor'
REUSE_TABLE_PROCESSOR_KEY = 'reuse_table_processor'
COMMAND_KEY = 'command'
REUSE_COMMAND_KEY = 'reuse_command'
REUSE_TABLES_KEY = "reuse_tables"
TABLE_ID_KEY = 'table_id'
TABLE_JOINERS_KEY = 'table_joiners'
WORKLOADS_KEY = 'workloads'
BLOCK_PARSER_KEY = 'block_parser'
PARSER_KEY = 'parser'
NAME_KEY = 'name'
ARGUMENTS_KEY = 'arguments'
SKIP_HEAD_KEY = 'skip_head'
SKIP_TAIL_KEY = 'skip_tail'
HEADER_KEYS_KEY = 'header_keys'
PRE_PARSER_FN_KEY = 'pre_parser_fn'
POST_PARSER_FN_KEY = 'post_parser_fn'
OUTPUT_HANDLER_KEY = 'output_handler'
SELECT_COLUMNS_KEY = 'select_columns'
DESTINATION_COLUMN_KEY = 'destination_column'
SOURCE_COLUMN_KEY = 'source_column'
DESTINATION_TABLE_KEY = 'destination_table'
SOURCE_TABLE_KEY = 'source_table'
JOINED_TABLE_ID_KEY = 'joined_table_id'
RESULT_WRITER_KEY = 'result_writer'
PATH_KEY = 'path'
GENERATION_DIRECTORY_KEY = 'generation_directory'
# ############ End of YAML Keys ################## #


# #################### CSV Filename ############# #
SWITCH_CSV_FILENAME = 'switch.csv'
SWITCH_PORT_CSV_FILENAME = 'switch-ports.csv'
ROUTER_INTERFACE_CSV_FILENAME = 'router-interfaces.csv'
ROUTES_CSV_FILENAME = 'routes.csv'
VRFS_CSV_FILENAME = 'vrfs.csv'
NEIGHBORS_CSV_FILENAME = 'neighbors.csv'
MAC_ADDRESS_TABLE_CSV_FILENAME = 'mac-address-table.csv'
PEER_DEVICES_CSV_FILENAME = 'peer-devices.csv'
PORT_CHANNELS_CSV_FILENAME = 'port-channels.csv'
L2_BRIDGES_CSV_FILENAME = 'l2bridges.csv'
# ############## End of CSV Filenames ########### #

# ############ Keys for Interfaces ############ #
MTU_KEY = 'mtu'
IP_KEY = 'ipAddress'
IF_SPEED_KEY = 'interfaceSpeed'
ADMIN_ST_KEY = 'administrativeStatus'
OP_ST_KEY = 'operationalStatus'
HW_KEY = 'hardwareAddress'
DUPLEX_KEY = 'duplex'
OP_SPEED_KEY = 'operationalSpeed'
ACTIVE_PORTS_KEY = 'activePorts'
PASSIVE_PORTS_KEY = 'passivePorts'
VLAN_KEY = 'vlan'
CONNECTED_KEY = 'connected'
SP_MODE_KEY = 'switchPortMode'
VRF_KEY = 'vrf'
# ############ End for Interfaces Keys ############ #

# ############ Keys for Device #######################s #
HOSTNAME_KEY = 'hostname'
SN_KEY = 'serial'
MODEL_KEY = 'model'
OS_KEY = 'os'
VENDOR_KEY = 'vendor'
STATE_KEY = 'haState'
# ############ End of Keys for Device ################ #
