package com.bocloud.cmp.model;

import lombok.Data;

import java.util.List;

@Data
public class RouteModel {
	/**
	 * 路由表uuid.
	 */
	private String routeTableUuid;
	/**
	 * 目标地址类型.
	 */
	private String destinationType;
	/**
	 * 目标地址.
	 */
	private String destination;
	/**
	 * 修改后目标地址类型.
	 */
	private String newDestinationType;
	/**
	 * 修改后目标地址.
	 */
	private String newDestination;
	/**
	 * 目标uuid.
	 */
	private String targetUuid;
	/**
	 * 目标类型.
	 */
	private String targetType;
	/**
	 * 来源.
	 */
	private String origin;
	/**
	 * 状态.
	 */
	private String state;

	private String uuid;
	private String name;
	private String type;

	private String relationUuid;

	public RouteModel() {
		super();
	}

	public enum NextHopType {
		Instance, // ECS实例（默认值）
		HaVip, // 高可用虚拟IP
		RouterInterface, // 路由器接口
		NetworkInterface, // 弹性网卡
		VpnGateway, // VPN网关
		IPv6Gateway, // IPv6网关
		NatGateway,// NAT网关
	}
}
