--- /dev/null
+<?xml version="1.0" encoding="UTF-8"?>\r
+<wsag:Agreement xmlns:wsag="http://www.ggf.org/namespaces/ws-agreement"\r
+ AgreementId="agreement03">\r
+\r
+ <wsag:Name>ExampleAgreement</wsag:Name>\r
+ <wsag:Context>\r
+ <wsag:AgreementInitiator>experimenter01</wsag:AgreementInitiator>\r
+ <wsag:AgreementResponder>virtualwall</wsag:AgreementResponder>\r
+ <wsag:ServiceProvider>AgreementResponder</wsag:ServiceProvider>\r
+ <wsag:ExpirationTime>2014-03-07T12:00:00</wsag:ExpirationTime>\r
+ <wsag:TemplateId>template02</wsag:TemplateId>\r
+ <sla:Service xmlns:sla="http://sla.atos.eu">Testbed_guarantee_0.75_Uptime_rate_for_0.8_rate_of_the_resources_during_the_sliver</sla:Service>\r
+ </wsag:Context>\r
+ <wsag:Terms>\r
+ <wsag:All>\r
+ <!--\r
+ <wsag:ServiceDescriptionTerm Name="SDTName1" ServiceName="ServiceName">\r
+ { "servicename": "service-prueba" }\r
+ </wsag:ServiceDescriptionTerm>\r
+ -->\r
+ <wsag:ServiceProperties Name="ServiceProperties" ServiceName="ServiceName">\r
+ <wsag:VariableSet>\r
+ <wsag:Variable Name="ResponseTime" Metric="xs:double">\r
+ <wsag:Location>service-prueba/ResponseTime</wsag:Location>\r
+ </wsag:Variable>\r
+ <wsag:Variable Name="Performance" Metric="xs:double">\r
+ <wsag:Location>service-prueba/Performance</wsag:Location>\r
+ </wsag:Variable>\r
+ </wsag:VariableSet>\r
+ </wsag:ServiceProperties>\r
+ <wsag:GuaranteeTerm Name="GT_ResponseTime">\r
+ <wsag:ServiceScope ServiceName="ServiceName"/>\r
+ <wsag:ServiceLevelObjective>\r
+ <wsag:KPITarget>\r
+ <wsag:KPIName>ResponseTime</wsag:KPIName>\r
+ <wsag:CustomServiceLevel>\r
+ {"constraint" : "ResponseTime BETWEEN (0, 200)"}\r
+ </wsag:CustomServiceLevel>\r
+ </wsag:KPITarget>\r
+ </wsag:ServiceLevelObjective>\r
+ </wsag:GuaranteeTerm>\r
+ <wsag:GuaranteeTerm Name="GT_Performance">\r
+ <wsag:ServiceScope ServiceName="ServiceName"/>\r
+ <wsag:ServiceLevelObjective>\r
+ <wsag:KPITarget>\r
+ <wsag:KPIName>Performance</wsag:KPIName>\r
+ <wsag:CustomServiceLevel>\r
+ {"constraint" : "Performance BETWEEN (0.1,1)"}\r
+ </wsag:CustomServiceLevel>\r
+ </wsag:KPITarget>\r
+ </wsag:ServiceLevelObjective>\r
+ </wsag:GuaranteeTerm>\r
+ </wsag:All>\r
+ </wsag:Terms>\r
+</wsag:Agreement>\r