import sys
from types import StringTypes
-from sfa.util.xrn import urn_to_hrn
+from sfa.util.xrn import urn_to_hrn, Xrn
from sfa.util.plxrn import hrn_to_pl_slicename
from sfa.util.rspec import *
from sfa.util.specdict import *
def GetVersion(api):
+ xrn=Xrn(api.hrn)
return version_core({'interface':'aggregate',
- 'testbed':'myplc.vini'})
+ 'testbed':'myplc.vini',
+ 'hrn':xrn.get_hrn(),
+ })
def delete_slice(api, xrn, creds):
hrn, type = urn_to_hrn(xrn)