// 2019 Rackspace, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"): you may // not use this file except in compliance with the License. You may obtain // a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, WITHOUT // WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the // License for the specific language governing permissions and limitations // under the License. package postmigration const ( // ErrInitDevice describes errors when attempting to connect and gather // information about a specific device (i.e. init ASA and gather data) ErrInitDevice ErrType = "device_initialization_errors" // ErrCollection describes errors in the data gathering prior to device initialization ErrCollection ErrType = "data_gather_errors" // ErrUnsupported describes the error returned for a device that is not yet // supported by the post-migration audit. ErrUnsupported ErrType = "not_implemented" // ErrPortBasic describes the error returned for issues found with the switchport // config for a device. ErrPortBasic ErrType = "basic_port_config" // ErrPortMac describes the error returned for switch[port] mac-address mismatches ErrPortMac ErrType = "port_mac_mismatch" // ErrStartup describes the error returned for issues found that relate to // boot up errors for a device. ErrStartup ErrType = "startup_errors" // ErrFailover describes the error returned for issues found that relate to // failover errors for a device. ErrFailover ErrType = "failover_status" // ErrVPN describes the error returned for issues found that relate to // vpn l2l connections for a device. ErrVPN ErrType = "vpn_status" // ErrInterface describes the error returned for issues found that relate to // interface details issues. ErrInterface ErrType = "interface_errors" ) type ( // ErrType defines the type of errors that can be returned from the post-migration // audit. We implement a specific type to discourage random strings from being declared // as an error. // // swagger:model ErrType string )