{ "comment": "", "item": [ { "ids": "新建Service Chaining Policy", "model": "create", "search_type": "Name", "policy_type": "Service Chaining", "name": "", "action": "", "targeted_traffic": "Raw Traffic", "conditions": { "source": { "ip_address": [ [ { "//备注": "add_type,添加方式,create创建、quote直接引用、import导入", "add_type": "create", "type": "IP", "sub_type": "Address", "negate": "False", "obj_content": { "obj_name": "", "obj_items": [ { "item_operation": "add", "item_type": "ipv4", "item_value": "123.122.112.12" }, { "item_operation": "add", "item_type": "ipv4", "item_value": "12.12.12.12" } ], "obj_statistics": "", "obj_description": "" } }, { "type": "IP Learning", "sub_type": "Address", "negate": "False", "obj_content": { "obj_name": "", "obj_items": [ { "item_operation": "add", "item_type": "fqdn", "item_value": "*abcd.com" }, { "item_operation": "add", "item_type": "fqdn", "item_value": "*asdkj.cc" } ], "ip_learning_learn_from_protocols": [ { "item_operation": "add", "item_value": "HTTP" }, { "item_operation": "add", "item_value": "SSL" } ], "ip_learning_learning_depth": [ { "item_operation": "add", "item_value": "1 Degree" } ], "ip_learning_aging_times": [ { "item_operation": "add", "item_value": "1213" } ], "ip_learning_vote_clients_number": [ { "item_operation": "add", "item_value": "3" } ], "ip_learning_learned_ip_limits": [ { "item_operation": "add", "item_value": "50" } ], "obj_statistics": {}, "obj_description": {} } } ], [ { "type": "IP", "sub_type": "Address Group", "negate": "False", "obj_content": { "obj_name": "", "subordinate_objs": [ { "item_operation": "add", "subordinate_obj_type": "Address", "subordinate_obj_name": "", "subordinate_obj_item": [ { "item_operation": "add", "item_type": "ipv4", "item_value": "23.122.112.12" } ], "sub_object_statistics": "", "subordinate_obj_description": "" }, { "item_operation": "add", "subordinate_obj_type": "Address", "subordinate_obj_name": "", "subordinate_obj_item": [ { "item_operation": "add", "item_type": "ipv4", "item_value": "112.12.12.12" } ] } ], "exclude_objs": [ { "item_operation": "add", "exclude_obj_type": "Address", "exclude_obj_name": "", "exclude_obj_item": [ { "item_operation": "add", "item_type": "ipv4", "item_value": "232.122.112.12" } ] } ], "ip_statistics": "", "ip_description": "" } } ] ], "user": [ [ { "//备注": "add_type,添加方式,create创建、quote直接引用、import导入", "add_type": "create", "type": "", "sub_type": "Subscriber ID", "negate": "False", "obj_content": { "obj_name": "", "obj_items": [ { "item_operation": "add", "item_value": "$saee" }, { "item_operation": "add", "item_value": "$sajdjsd" } ], "obj_statistics": "", "obj_description": "" } } ] ] }, "destination": { "port": [ [ { "//备注": "add_type,添加方式,create创建、quote直接引用、import导入", "add_type": "create", "type": "", "sub_type": "Port", "negate": "False", "obj_content": { "obj_name": "", "obj_items": [ { "item_operation": "add", "item_value": "1234" }, { "item_operation": "add", "item_value": "123" } ], "obj_statistics": "", "obj_description": "" } }, { "//备注": "add_type,添加方式,create创建、quote直接引用、import导入", "add_type": "create", "type": "", "sub_type": "Port Group", "negate": "False", "obj_content": { "obj_name": "", "subordinate_objs": [ { "item_operation": "add", "subordinate_obj_type": "Port", "subordinate_obj_name": "", "subordinate_obj_item": [ { "item_operation": "add", "item_value": "[random]" } ], "subordinate_obj_statistics": "", "subordinate_obj_description": "" } ], "exclude_objs": [ { "item_operation": "add", "subordinate_obj_type": "Port", "subordinate_obj_name": "", "subordinate_obj_item": [ { "item_operation": "add", "item_value": "[random]" } ] }, { "item_operation": "add", "subordinate_obj_type": "Port", "subordinate_obj_name": "", "subordinate_obj_item": [ { "item_operation": "add", "item_value": "[random]" } ] } ], "obj_statistics": "", "obj_description": "" } } ] ] }, "application": [ { "//备注": "add_type,添加方式,create创建、quote 直接引用、import导入", "add_type": "quote", "type": "Application", "sub_type": "", "negate": "False", "obj_content": { "obj_name": "http", "obj_items": [], "obj_statistics": "", "obj_description": "" } }, { "//备注": "add_type,添加方式,create创建、quote 直接引用、import导入", "add_type": "quote", "type": "Application", "sub_type": "", "negate": "False", "obj_content": { "obj_name": "ssl", "obj_items": [], "obj_statistics": "", "obj_description": "" } } ], "tunnel": [], "tunnel_level": [], "ip_protocol": [ {}, "UDP", "TCP" ], "protocol_field": [] }, "policy_unique_parameters": { "service_chaining_action_parameters": [ { "sff_name": "sff1->", "sff_type": "Steering->", "sff_load_balance_method": "Hash Int-IP->", "sff_failure_action": { "failure_action": "Bypass->", "unavailability_action": "", "minimum_health_service_functions": "" }, "sf": [ { "sf_name": "sf1->", "sf_device_tag": "center-xxg-tsgx->", "sf_connectivity": { "connectivity_type": "Layer 2 Switch->", "internal_vlan_tag": "123->", "external_vlan_tag": "123->", "destination_ip_address": "" }, "sf_health_check": "None", "sf_enable": "Enable" } ] }, { "\\": "备注:sff2" } ] }, "other_options": { "tag": [ { "tag_key": "tag_key", "optional_value": [ "value1", "value2" ] } ], "effective_devices": [ "center-xxg-4119,group-xxg-7400->", "group-xxg-tsgx->" ], "schedule": [ ], "description": "" } } ] }