Opened 11 years ago

Closed 11 years ago

#1028 closed (fixed)

Support RenewSliver (API v2) method on ION AM

Reported by: xyang@maxgigapop.net Owned by: xyang@maxgigapop.net
Priority: major Milestone:
Component: I2AM Version: SPIRAL5
Keywords: Cc: tlehman@maxgigapop.net, Aaron Helsinger, ckotil@grnoc.iu.edu
Dependencies:

Description

ION AM need to support the RenewSliver method and use ModifyReservation to adjust OSCARS circuit end time. Both SFA and AM Java code needs to be patched.

Attachments (1)

sfa-2.0-9-patch-8.diff (1.1 KB) - added by xyang@maxgigapop.net 11 years ago.

Download all attachments as: .zip

Change History (9)

comment:1 Changed 11 years ago by xyang@maxgigapop.net

Resolution: fixed
Status: newclosed

AM Java code patch has been checked in. SFA code patch (sfa-2.0-9-patch-8.diff) is attached.

Changed 11 years ago by xyang@maxgigapop.net

Attachment: sfa-2.0-9-patch-8.diff added

comment:2 Changed 11 years ago by Aaron Helsinger

Resolution: fixed
Status: closedreopened

comment:3 Changed 11 years ago by Aaron Helsinger

Owner: changed from xyang@maxgigapop.net to ckotil@grnoc.iu.edu
Status: reopenednew

comment:4 Changed 11 years ago by xyang@maxgigapop.net

Some extra instructions for code upgrade:

Make sure you have these two files updated:

AggregateAttic/conf/repo/services.xml AggregateAttic/wsdl/aggregate.wsdl

Then under AggregateWS, try the following steps:


ant clean ant axis2-deploy-local cp -rf /usr/local/geni-aggregate/AggregateWS/build/axis2/WEB-INF/services/AggregateWS.aar /usr/local/tomcat/webapps/axis2/WEB-INF/services rm -rf /usr/local/tomcat/webapps/axis2/WEB-INF/classes/*.xml /usr/local/tomcat/webapps/axis2/WEB-INF/classes/log4j.properties /usr/local/tomcat/webapps/axis2/WEB-INF/classes/net cp -rf /usr/local/geni-aggregate/AggregateWS/build/classes/* /usr/local/tomcat/webapps/axis2/WEB-INF/classes /usr/local/tomcat/bin/catalina.sh stop ps xww | grep "java -Djava.util.logging" | cut -c1-5 | xargs kill -9 2>/dev/null sleep 1 /usr/local/tomcat/bin/catalina.sh start


You will also need to update the AM client by doing the following:


ant client-api-jar cp dist/AggregateWS-client-api.jar /usr/local/MAXGENI_AM_APIClient/AggregateWS-client-api.jar


comment:5 Changed 11 years ago by xyang@maxgigapop.net

Make sure you also had these two files updated:

AggregateAttic/conf/repo/services.xml

AggregateAttic/wsdl/aggregate.wsdl

Then under AggregateWS, try the following steps:


  • ant clean
  • ant axis2-deploy-local
  • cp -rf /usr/local/geni-aggregate/AggregateWS/build/axis2/WEB-INF/services/AggregateWS.aar /usr/local/tomcat/webapps/axis2/WEB-INF/services
  • rm -rf /usr/local/tomcat/webapps/axis2/WEB-INF/classes/*.xml /usr/local/tomcat/webapps/axis2/WEB-INF/classes/log4j.properties /usr/local/tomcat/webapps/axis2/WEB-INF/classes/net
  • cp -rf /usr/local/geni-aggregate/AggregateWS/build/classes/* /usr/local/tomcat/webapps/axis2/WEB-INF/classes
  • /usr/local/tomcat/bin/catalina.sh stop
  • ps xww | grep "java -Djava.util.logging" | cut -c1-5 | xargs kill -9 2>/dev/null
  • sleep 1
  • /usr/local/tomcat/bin/catalina.sh start

You will also need to update the AM client by doing the following:


  • ant client-api-jar
  • cp dist/AggregateWS-client-api.jar /usr/local/MAXGENI_AM_APIClient/AggregateWS-client-api.jar

comment:6 Changed 11 years ago by ckotil@grnoc.iu.edu

Status: newassigned

I have applied the sfa patch and restarted sfa. Also the ION AM has been updated to the latest revision from the repo.

comment:7 Changed 11 years ago by ckotil@grnoc.iu.edu

Owner: changed from ckotil@grnoc.iu.edu to xyang@maxgigapop.net
Status: assignednew

comment:8 Changed 11 years ago by Aaron Helsinger

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.