package org.zstack.storage.backup;

import org.zstack.header.storage.backup.BackupStorageVO;
import org.zstack.header.storage.primary.PrimaryStorageVO;
import org.zstack.header.tag.TagDefinition;
import org.zstack.tag.PatternedSystemTag;

/**
 * Created by mingjian.deng on 2017/9/22.
 */
@TagDefinition
public class BackupStorageSystemTags {
    public static String BACKUP_STORE_DEPLOY_REMOTE_TOKEN = "remote";
    public static PatternedSystemTag BACKUP_STORE_DEPLOY_REMOTE = new PatternedSystemTag(String.format("%s", BACKUP_STORE_DEPLOY_REMOTE_TOKEN), BackupStorageVO.class);

    public static final String BACKUP_STORAGE_DATA_NETWORK_TOKEN = "backupStorageDataNetwork";
    public static PatternedSystemTag BACKUP_STORAGE_DATA_NETWORK = new PatternedSystemTag(String.format("backupStorage::data::network::cidr::{%s}", BACKUP_STORAGE_DATA_NETWORK_TOKEN), BackupStorageVO.class);
}

@@ -90,67 +90,8 @@
 VO;%0A
-import org.zstack.header.storage.primary.PrimaryStorageVO;%0A
 impo
@@ -818,11 +818,213 @@
 .class);
+%0A%0A    public static String EXTRA_IPS_TOKEN = %22extraips%22;%0A    public static PatternedSystemTag EXTRA_IPS = new PatternedSystemTag(String.format(%22extraips::%7B%25s%7D%22, EXTRA_IPS_TOKEN), BackupStorageVO.class);
 %0A%7D%0A

Add extra ips systemg tag for backup storage