-
Notifications
You must be signed in to change notification settings - Fork 0
/
h2mservice_input.json
14 lines (14 loc) · 11 KB
/
h2mservice_input.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
{
"input": {
"refinement_type": "POLICY_HSPL",
"hspl_mspl": "<?xml version='1.0' encoding='UTF-8'?><tns:Mapping xmlns:tns='http://www.example.org/Refinement_Schema' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://www.example.org/Refinement_Schema Refinement_Schema.xsd'><tns:hspl_list><tns:hspl subject='Alice' id='HSPL0' ><tns:action>no_authorise_access</tns:action><tns:objectH>Internet_traffic</tns:objectH><tns:fields><tns:time_period time-zone='UTC'><tns:interval_time ><tns:week_day>Mon</tns:week_day><tns:week_day>Tue</tns:week_day><tns:week_day>Wed</tns:week_day><tns:week_day>Thu</tns:week_day><tns:week_day>Fri</tns:week_day><tns:time_hours end-time='18:00:00' start-time='08:00:00'/></tns:interval_time></tns:time_period></tns:fields><tns:capabilities></tns:capabilities><tns:candidates></tns:candidates><tns:suitableImplementation></tns:suitableImplementation></tns:hspl><tns:hspl subject='Alice' id='HSPL1'><tns:action>no_authorise_access</tns:action><tns:objectH>Internet_traffic</tns:objectH><tns:fields><tns:type_content><tns:content_name>illegal_websites </tns:content_name></tns:type_content> </tns:fields><tns:capabilities></tns:capabilities><tns:candidates></tns:candidates><tns:suitableImplementation></tns:suitableImplementation></tns:hspl><tns:hspl subject='Alice' id='HSPL2'><tns:action>no_authorise_access</tns:action><tns:objectH>Internet_traffic</tns:objectH><tns:fields><tns:specific_URL><tns:URL>URL_in_blackList</tns:URL></tns:specific_URL></tns:fields><tns:capabilities></tns:capabilities><tns:candidates></tns:candidates><tns:suitableImplementation></tns:suitableImplementation></tns:hspl><tns:hspl subject='Alice' id='HSPL3'><tns:action>enable</tns:action><tns:objectH>advance_parental_control</tns:objectH><tns:fields></tns:fields><tns:capabilities></tns:capabilities><tns:candidates></tns:candidates><tns:suitableImplementation></tns:suitableImplementation></tns:hspl><tns:hspl subject='Alice' id='HSPL4'><tns:action>enable</tns:action><tns:objectH>antivirus</tns:objectH><tns:fields></tns:fields><tns:capabilities></tns:capabilities><tns:candidates></tns:candidates><tns:suitableImplementation></tns:suitableImplementation></tns:hspl></tns:hspl_list></tns:Mapping>",
"sPSA_SG": "<?xml version='1.0' encoding='UTF-8'?><tns:Mapping xmlns:tns='http://www.example.org/Refinement_Schema' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://www.example.org/Refinement_Schema Refinement_Schema.xsd'> <tns:psa_list> <tns:psa name='PSA1'><tns:PSA_info/><tns:PSA_characteristic cost='2' latency='0.3' rating='4'/><tns:capability> <tns:capability_list>Filtering_L4</tns:capability_list><tns:capability_list>Timing</tns:capability_list></tns:capability></tns:psa><tns:psa name='PSA2'><tns:PSA_info/><tns:PSA_characteristic cost='2' latency='0.2' rating='3'/><tns:capability><tns:capability_list>Filtering_L7</tns:capability_list><tns:capability_list>TrafficInspection_L7</tns:capability_list></tns:capability></tns:psa><tns:psa name='PSA3'><tns:PSA_info/><tns:PSA_characteristic cost='1' latency='0.2' rating='5'/><tns:capability><tns:capability_list>Filtering_L4</tns:capability_list></tns:capability></tns:psa><tns:psa name='PSA4'><tns:PSA_info/><tns:PSA_characteristic cost='1' latency='0.2' rating='3'/><tns:capability><tns:capability_list>Basic_parental_control</tns:capability_list></tns:capability></tns:psa><tns:psa name='PSA5'><tns:PSA_info/><tns:PSA_characteristic cost='5' latency='0.6' rating='5'/><tns:capability><tns:capability_list>Advanced_parental_control</tns:capability_list></tns:capability></tns:psa><tns:psa name='PSA6'><tns:PSA_info /><tns:PSA_characteristic cost='1' latency='0.2' rating='5'/><tns:capability><tns:capability_list>Online_antivirus_analysis</tns:capability_list></tns:capability></tns:psa><tns:psa name='PSA7'><tns:PSA_info /><tns:PSA_characteristic cost='1' latency='0.2' rating='5'/><tns:capability><tns:capability_list>Filtering_L4</tns:capability_list><tns:capability_list>Timing</tns:capability_list></tns:capability></tns:psa> <tns:psa name='PSA8'><tns:PSA_info /><tns:PSA_characteristic cost='10' latency='0.6' rating='5'/><tns:capability><tns:capability_list>Advanced_parental_control</tns:capability_list></tns:capability></tns:psa> <tns:psa name='PSA9'><tns:PSA_info /> <tns:PSA_characteristic cost='2' latency='0.2' rating='3' /> <tns:capability><tns:capability_list>Protection_confidentiality</tns:capability_list><tns:capability_list>Protection_integrity</tns:capability_list><tns:capability_list>IPSec_protocol</tns:capability_list></tns:capability></tns:psa></tns:psa_list></tns:Mapping>",
"user_PSA": "<?xml version='1.0' encoding='UTF-8'?><tns:Mapping xmlns:tns='http://www.example.org/Refinement_Schema' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://www.example.org/Refinement_Schema Refinement_Schema.xsd '><tns:psa_list><tns:psa name='PSA1'><tns:PSA_info /><tns:PSA_characteristic cost='2' latency='0.3' rating='4'/><tns:capability><tns:capability_list>Filtering_L4</tns:capability_list><tns:capability_list>Timing</tns:capability_list></tns:capability></tns:psa> <tns:psa name='PSA2'><tns:PSA_info /> <tns:PSA_characteristic cost='2' latency='0.2' rating='3' /> <tns:capability><tns:capability_list>Filtering_L7</tns:capability_list><tns:capability_list>TrafficInspection_L7</tns:capability_list></tns:capability></tns:psa> <tns:psa name='PSA3'><tns:PSA_info /><tns:PSA_characteristic cost='1' latency='0.2' rating='5'/><tns:capability><tns:capability_list>Filtering_L4</tns:capability_list></tns:capability></tns:psa> <tns:psa name='PSA4'><tns:PSA_info /><tns:PSA_characteristic cost='1' latency='0.2' rating='3'/><tns:capability><tns:capability_list>Basic_parental_control</tns:capability_list></tns:capability> </tns:psa><tns:psa name='PSA5'><tns:PSA_info /><tns:PSA_characteristic cost='5' latency='0.6' rating='5'/><tns:capability><tns:capability_list>Advanced_parental_control</tns:capability_list></tns:capability></tns:psa><tns:psa name='PSA6'><tns:PSA_info /><tns:PSA_characteristic cost='1' latency='0.2' rating='5'/><tns:capability><tns:capability_list>Online_antivirus_analysis</tns:capability_list></tns:capability></tns:psa><tns:psa name='PSA7'><tns:PSA_info /><tns:PSA_characteristic cost='1' latency='0.2' rating='5'/><tns:capability><tns:capability_list>Filtering_L4</tns:capability_list><tns:capability_list>Timing</tns:capability_list></tns:capability></tns:psa> <tns:psa name='PSA8'><tns:PSA_info /><tns:PSA_characteristic cost='10' latency='0.6' rating='5'/><tns:capability><tns:capability_list>Advanced_parental_control</tns:capability_list></tns:capability></tns:psa> <tns:psa name='PSA9'><tns:PSA_info /> <tns:PSA_characteristic cost='2' latency='0.2' rating='3' /> <tns:capability><tns:capability_list>Protection_confidentiality</tns:capability_list><tns:capability_list>Protection_integrity</tns:capability_list><tns:capability_list>IPSec_protocol</tns:capability_list></tns:capability></tns:psa></tns:psa_list></tns:Mapping>",
"market_PSA": "<?xml version='1.0' encoding='UTF-8'?><tns:Mapping xmlns:tns='http://www.example.org/Refinement_Schema' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://www.example.org/Refinement_Schema Refinement_Schema.xsd '><tns:psa_list><tns:psa name='PSA1'><tns:PSA_info /><tns:PSA_characteristic cost='2' latency='0.3' rating='4'/><tns:capability><tns:capability_list>Filtering_L4</tns:capability_list><tns:capability_list>Timing</tns:capability_list></tns:capability></tns:psa> <tns:psa name='PSA2'><tns:PSA_info /> <tns:PSA_characteristic cost='2' latency='0.2' rating='3' /> <tns:capability><tns:capability_list>Filtering_L7</tns:capability_list><tns:capability_list>TrafficInspection_L7</tns:capability_list></tns:capability></tns:psa> <tns:psa name='PSA3'><tns:PSA_info /><tns:PSA_characteristic cost='1' latency='0.2' rating='5'/><tns:capability><tns:capability_list>Filtering_L4</tns:capability_list></tns:capability></tns:psa> <tns:psa name='PSA4'><tns:PSA_info /><tns:PSA_characteristic cost='1' latency='0.2' rating='3'/><tns:capability><tns:capability_list>Basic_parental_control</tns:capability_list></tns:capability> </tns:psa><tns:psa name='PSA5'><tns:PSA_info /><tns:PSA_characteristic cost='5' latency='0.6' rating='5'/><tns:capability><tns:capability_list>Advanced_parental_control</tns:capability_list></tns:capability></tns:psa><tns:psa name='PSA6'><tns:PSA_info /><tns:PSA_characteristic cost='1' latency='0.2' rating='5'/><tns:capability><tns:capability_list>Online_antivirus_analysis</tns:capability_list></tns:capability></tns:psa><tns:psa name='PSA7'><tns:PSA_info /><tns:PSA_characteristic cost='1' latency='0.2' rating='5'/><tns:capability><tns:capability_list>Filtering_L4</tns:capability_list><tns:capability_list>Timing</tns:capability_list></tns:capability></tns:psa> <tns:psa name='PSA8'><tns:PSA_info /><tns:PSA_characteristic cost='10' latency='0.6' rating='5'/><tns:capability><tns:capability_list>Advanced_parental_control</tns:capability_list></tns:capability></tns:psa> <tns:psa name='PSA9'><tns:PSA_info /> <tns:PSA_characteristic cost='2' latency='0.2' rating='3' /> <tns:capability><tns:capability_list>Protection_confidentiality</tns:capability_list><tns:capability_list>Protection_integrity</tns:capability_list><tns:capability_list>IPSec_protocol</tns:capability_list></tns:capability></tns:psa></tns:psa_list></tns:Mapping>",
"subject_string": "<?xml version='1.0' encoding='UTF-8'?><tns:associationList xmlns:tns='http://www.example.org/AssociationList' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://www.example.org/AssociationList ../../java/schema/AssociationList_Schema.xsd '> <tns:associations Name='Alice'><tns:IP ip_value='1.1.1.1'/> </tns:associations> <tns:associations Name='Bob'><tns:IP ip_value='2.2.2.2'/> </tns:associations></tns:associationList>",
"content_string": "<?xml version='1.0' encoding='UTF-8'?><tns:associationList xmlns:tns='http://www.example.org/AssociationList' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://www.example.org/AssociationList ../../java/schema/AssociationList_Schema.xsd '> <tns:associations Name='Polito'><tns:IP ip_value='3.3.3.3'/> </tns:associations> <tns:associations Name='Intranet'><tns:IP ip_value='5.5.5.5'/> </tns:associations> <tns:associations Name='P2P'><tns:IP ip_value='7.7.7.7'/> </tns:associations><tns:associations Name='default_gateway'><tns:IP ip_value='8.8.8.8'/> </tns:associations></tns:associationList>",
"target_string": "<?xml version='1.0' encoding='UTF-8'?><tns:associationList xmlns:tns='http://www.example.org/AssociationList' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://www.example.org/AssociationList ../../java/schema/AssociationList_Schema.xsd '> <tns:associations Name='Polito'><tns:IP ip_value='3.3.3.3'/> </tns:associations> <tns:associations Name='Intranet'><tns:IP ip_value='5.5.5.5'/> </tns:associations> <tns:associations Name='P2P'><tns:IP ip_value='7.7.7.7'/> </tns:associations><tns:associations Name='default_gateway'><tns:IP ip_value='8.8.8.8'/> </tns:associations></tns:associationList>",
"optimizationType_string": "MIN_BUY_COSTMAX_RATING",
"maxEvaluationsNo_string": "0"
}
}