old_contents: # Copyright 2014 Cisco Systems, Inc.
  # All Rights Reserved.
  #
  #    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.
  #
  
  
  # RPC message type exchange between server and agent.
  VM_INFO = 1000
  UPDATE_IP_RULE = 1001
  UPLINK_NAME = 1002
  
  
  # RPC queue name on agent side.
  DFA_AGENT_QUEUE = 'dfa_agent'
  
  # RPC queue name on server side.
  DFA_SERVER_QUEUE = 'dfa_server_q'
  DFA_EXCHANGE = 'dfa'
  
  RESULT_FAIL = 'FAIL'
  RESULT_SUCCESS = 'SUCCESS'
  CREATE_FAIL = 'CREATE:FAIL'
  DELETE_FAIL = 'DELETE:FAIL'
  DELETE_PENDING = 'DELETE:PENDING'
  UPDATE_FAIL = 'UPDATE:FAIL'
  
  DELETE_LIST = [DELETE_FAIL, DELETE_PENDING]
  
  IP_DHCP_WAIT = "W"
  DHCP_PORT_CHECK = 3
  
  MAIN_INTERVAL = 5
  
  # Process queues interval
  PROCESS_QUE_INTERVAL = 1
  
  # Failure recovery interval
  FAIL_REC_INTERVAL = 60
  
  # Heartbeat interval
  HB_INTERVAL = 30
  
  # Special return value for an invalid OVS ofport
  INVALID_OFPORT = -1
  INVALID_VLAN = -1
  
  MIN_VLAN_TAG = 1
  MAX_VLAN_TAG = 4094
  
  VM_MSG_TYPE = 50
  UPLINK_MSG_TYPE = 51
  VM_BULK_SYNC_MSG_TYPE = 52
  
  UPLINK_DET_INTERVAL = 10
  ERR_PROC_INTERVAL = 20
  # IF 'down' is seen twice continuously
  UPLINK_DOWN_THRES = 2
  
  Q_UPL_PRIO = 1
  Q_VM_PRIO = 2
  
  RES_SEGMENT = "SEGMENT"
  RES_VLAN = "VLAN"
  RES_IN_SUBNET = 'IN_SUB'
  RES_OUT_SUBNET = 'OUT_SUB'
  
new_contents: # Copyright 2014 Cisco Systems, Inc.
  # All Rights Reserved.
  #
  #    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.
  #
  
  
  # RPC message type exchange between server and agent.
  VM_INFO = 1000
  UPDATE_IP_RULE = 1001
  UPLINK_NAME = 1002
  
  
  # RPC queue name on agent side.
  DFA_AGENT_QUEUE = 'dfa_agent'
  
  # RPC queue name on server side.
  DFA_SERVER_QUEUE = 'dfa_server_q'
  DFA_EXCHANGE = 'dfa'
  
  RESULT_FAIL = 'FAIL'
  RESULT_SUCCESS = 'SUCCESS'
  CREATE_FAIL = 'CREATE:FAIL'
  DELETE_FAIL = 'DELETE:FAIL'
  DELETE_PENDING = 'DELETE:PENDING'
  UPDATE_FAIL = 'UPDATE:FAIL'
  
  DELETE_LIST = [DELETE_FAIL, DELETE_PENDING]
  
  IP_DHCP_WAIT = "W"
  DHCP_PORT_CHECK = 3
  
  MAIN_INTERVAL = 5
  
  # Process queues interval
  PROCESS_QUE_INTERVAL = 1
  
  # Failure recovery interval
  FAIL_REC_INTERVAL = 60
  
  # Heartbeat interval
  HB_INTERVAL = 30
  
  # Special return value for an invalid OVS ofport
  INVALID_OFPORT = -1
  INVALID_VLAN = -1
  
  MIN_VLAN_TAG = 1
  MAX_VLAN_TAG = 4094
  
  VM_MSG_TYPE = 50
  UPLINK_MSG_TYPE = 51
  VM_BULK_SYNC_MSG_TYPE = 52
  
  UPLINK_DET_INTERVAL = 10
  ERR_PROC_INTERVAL = 20
  # IF 'down' is seen twice continuously
  UPLINK_DOWN_THRES = 3
  
  Q_UPL_PRIO = 1
  Q_VM_PRIO = 2
  
  RES_SEGMENT = "SEGMENT"
  RES_VLAN = "VLAN"
  RES_IN_SUBNET = 'IN_SUB'
  RES_OUT_SUBNET = 'OUT_SUB'
  
subject: Increase the LLDP Down Threshold