-
0 votesanswersviews
如何在softlayer上为vlan分配子网? [关闭]
对于 softlayer api SoftLayer_Network_Subnet ,描述说: 每个SoftLayer IP地址都与 SoftLayer_Network_Subnet 服务中定义的子网相关联 . SoftLayer子网定义一组IP地址并分配给 SoftLayer_Network_Vlan . http://sldn.softlayer.com/reference/service... -
0 votesanswersviews
订购VSI时如何指定链接速度
我正在使用VirtualGuestService的createObject方法来创建VSI 我将模板中的端口速度设置为1 Gb,但始终以10 Mb创建 . -
0 votesanswersviews
如何在python api softlayer create_instance调用中指定private_vlan
我试图使用python api命令一个vsi,指定我已经使用的私有和公共vlans,但调用失败 . >>> client = SoftLayer.Client(username=SL_USERNAME, api_key=SL_API_KEY,endpoint_url=SoftLayer.API_PUBLIC_ENDPOINT) >>> mgr = SoftLay... -
0 votesanswersviews
Softlayer api:如何在“周年纪念日”检查VSI是否已创建取消请求?
对于新创建的VSI,我们可以在"Anniversary Date"上取消它 . API billing_item.cancelItem可以帮助您完成它 . 然后在softlayer的网站/设备列表中,CancelDevice按钮将无法使用 . 我的问题是如何通过api检查VSI是否已在“周年纪念日”创建取消请求?哦,我希望api获得VSI的状态已经提交了取消请求 . -
0 votesanswersviews
API:创建一个公有子网失败的VSI,错误“指定的子网#1217371(169.44.xxx.0 / 27)当前没有可用的插槽”
尝试创建一个公有子网失败的VSI,错误“指定的子网#1217371(169.44.xxx.0 / 27)当前没有可用的插槽”,但是子网ID应该是ips ips 这是问题 1 what's concept for slot ? 2 how to check slot infor for public subnet by API 3 how to apply slot 这是日志 >>&g... -
0 votesanswersviews
通过slcli与LAMP堆栈订购VSI
有没有办法使用 slcli 订购VSI的LAMP版本?我尝试查询要使用的公共图像,但没有看到列出的图像 » slcli image list --public | grep -i lamp 162452 Ubuntu Trusty 14.04 LTS w/Docker (64-bit LAMP) SYSTEM ... -
0 votesanswersviews
Softlayer api:在下订单VSI时如何指定VLAN选择
我通常使用Product_Order.placeOrder来订购带有order_config_template参数的VSI . 例如,我可以使用流动的order_config_template来命令vsi: { 'dataCenter' : 'sjc03', 'hourlyBillingFlag' : True, 'localDiskFlag' : False, '... -
0 votesanswersviews
Softlayer api:exception为此订单提供的位置无效
背景 使用sl_product_order.placeOrder api命令一个vsi . 订单参数: {'prices': [{'id': 1644}, {'id': 1640}, {'id': 2202}, {'id': 272}, {'id': 45466}, {'id': 905}, {'id': 21}, {'id': 57}, {'id': 55}, {'id': 58}, {'id'... -
0 votesanswersviews
SoftLayer API:基于VSI flavor的订单是否支持指定image_id
我们希望使用flavor(例如 . Balanced type)以编程方式对VSI进行排序,但是不使用标准的os_code,而是希望从公共图像模板(即CentOS7-ChangeStable)创建VSI . 从以下文档中可以看出它是可能的 . http://softlayer-python.readthedocs.io/en/latest/_modules/SoftLayer/managers/v... -
0 votesanswersviews
当我使用dedicatedAccountHostOnlyFlag:true创建时,VSI powerState保持''HALTED'
我使用softlayer api来创建VSI . 当'dedicatedAccountHostOnlyFlag'对于专用VSI是真的时,我遇到了一个问题 . POST https://api.softlayer.com/rest/v3.1/SoftLayer_Virtual_Guest.json { "parameters": [ { ... -
1 votesanswersviews
Softlayer Python API无法以1 Gbps的网络速度订购虚拟机
我在尝试使用Softlayer Python API订购虚拟机时遇到此异常 . SoftLayer.exceptions.SoftLayerAPIError: SoftLayerAPIError(SoftLayer_Exception_Public): 1 Gbps Public & Private Network Uplinks must be ordered with permissi... -
-3 votesanswersviews
创建和识别vGPU设备
我正在尝试用vGPU创建一个VSI . 我在POST上传入JSON有效负载中的哪个字段来创建vGPU VSI? JSON有效负载中的哪个字段可以在get上查询,表明VSI是vGPU设备? -
0 votesanswersviews
SoftLayer API:订购具有特定VLAN的虚拟服务器
我使用此代码列出我帐户上的可用VLAN require 'softlayer_api' require 'pp' client = SoftLayer::Client.new account_service = client[:Account] object_filter = {'networkVlans': {'primaryRouter': {'datacenter': {'name': ... -
1 votesanswersviews
VLAN中继的Softlayer API
我试图使用softlayer api来获取/删除/添加主干 . http://sldn.softlayer.com/reference/services/SoftLayer_Network_Component 我们的baremetal已经被Softlayer票中了 . 我们想首先删除主干 . 然后添加trunk . 我们可以使用baremetal uplinkComponent ID获取Netw... -
0 votesanswersviews
Softlayer中的自动范围Vlan选择
我正在使用区域ID实现Vlan选择 . 在编辑Autoscale policy vlan时,在某些情况下,选择框中有ANY . 用户可以在选择框中选择任何一种情况?某个私人Vlan中没有显示任何内容 . -
0 votesanswersviews
订购Softlayer Vlan对
我似乎特意找到答案 . 我'm creating some automation scripts in python and wondering if there'是一种获取 primaryNetworkComponent 和 primaryBackendNetworkComponent 对并基于位置的方法?有 getVlans() 方法,但不知道哪个vlans一起去,除非我去gui . vla... -
0 votesanswersviews
如何识别SoftLayer的网关网关VLAN
我想要了解的是如何理解VLAN是网络网关 . 我正在尝试找到所有私人华盛顿4数据中心,从API我可以获得4个vlans,但门户网站允许选择3个vlan中的一个 . 看来这个子网/ vlan无法使用: {"broadcastAddress"=>"10.170.23.127", "cidr"=>26, "gatewa... -
0 votesanswersviews
尽管已指定,Softlayer批量VMI订单的一部分也会被配置到错误的VLAN中
我正在使用Softlayer API和python脚本来命令我的SL帐户中的虚拟机 . 在脚本中,我定义了一个应该放置机器的VLAN . 在我的帐户中,我可以在此VLAN中看到/ 26私有子网 . 当我一次部署2-3台机器时,脚本运行正常 . 但是,如果我使用完全相同的脚本来部署60个VM,那么即使在执行脚本期间指定的VLAN为空,大多数计算机也会被置于具有不同IP地址的新VLAN中 . 通常这不... -
0 votesanswersviews
Softlayer VSI总Sotrage
此REST调用显示具有CPU,内存,存储的VM列表...如何总计总存储量而不是显示单个磁盘大小? https://APIID:Key@api.softlayer.com/rest/v3/SoftLayer_Account/getVirtualGuests?objectMask=mask[id,hostname,primaryIpAddress,primaryBackendIpAddress,max... -
0 votesanswersviews
如何设置私有接口的最大速度?
为VM配置仅限专用网络标志,但我无法为其指定最大网络速度 . userName := "xxx" apiKey := "xxx" endpoint := "https://api.softlayer.com/rest/v3" sess := session.New(userName, a... -
0 votesanswersviews
Softlayer:无法使用Softlayer API为公共虚拟服务器下订单
IBM-Softlayer团队中的某个人可以帮我解决问题,我试图通过调用Softlayer API为"Public Virtual Server"下订单,如下所示 . 但得到了回复说“{"error":"Could not place order. An uncaught exception was encountered. Please cont... -
0 votesanswersviews
SoftLayer API:订购子网
我正在寻找检索子网列表及其价格的API . 对于,可移植IP地址和静态找到的类别ID为279和281.并且可用于全局IPv4,便携式公共IPv6和全局IPv6 . 我们已经完成了,包ID 0和项目名称连接 . 有没有更好的方法来获得它?或者,Global IPv4,Portable Public IPv6和Global IPv6的类别ID是什么 . 谢谢 . -
0 votesanswersviews
SL带有RAID磁盘的Baremetal订单--->为此订单提供的位置无效
我尝试订购一台Baremetal机器,但我得到了这个错误 root@ubuntu:~# ruby array.rb /usr/local/rvm/rubies/ruby-1.9.3-p551/lib/ruby/1.9.1/xmlrpc/client.rb:414:in `call': The location provided for this order is invalid. (XMLRPC:... -
1 votesanswersviews
Vyatta订单失败,vlan选择
我通过选择Vlans实现订单Vyatta但它返回以下错误 . Got 500 on https://api.softlayer.com/rest/v3.1/SoftLayer_Product_Order/verifyOrder.json with body: {"error":"Subnets may not be specified for gateway orde... -
0 votesanswersviews
SoftLayer verifyOrder API返回内部错误
按照https://gist.github.com/bmpotter/27913e92e9ff7b6b0c54中的示例,我们尝试使用SoftLayer API来订购裸机 . 我们的“verifyOrder”请求,即(https:// $ SLUSERNAME:$ SLAPIKEY@api.softlayer.com/rest/v3/SoftLayer_Product_Order/verifyOrd... -
1 votesanswersviews
SoftLayer提供的登录凭据无效
我尝试了SL帐户和我的IBMid登录Softlayer门户(http://control.softlayer.com/),两者都运行正常 . 但是当我用SLcli(softlayer-python)尝试这些帐户时,它返回"Invalid login credentials provided" . 有人遇到过这个问题吗? steve@k8s-1:~$ slcli -v confi... -
0 votesanswersviews
通过api获取错误顺序vcf:需要预设配置
我尝试验证vcf的顺序 . 我有以下错误 . 我应该使用什么预设配置?我的有效载荷也附加了 . 你有一个订购vcf的例子吗? { "error": "Invalid data on the order for property: packageId. Package (737) requires a preset configuration.", ... -
0 votesanswersviews
通过SoftLayer API订购 Cloud 服务器
我想通过python API订购SoftLayer的虚拟服务器 . 通过以下API调用=> client['Product_Package'].getAllObjects(mask='id, name') 我发现虚拟服务器的pkg id是46 . 另外,我通过以下API调用=>找到了价格ID client['Product_Package'].getItemPrices(id=46,... -
0 votesanswersviews
Softlayer Api:异常:属性订单上的数据无效:packageId . 包(835)需要预设配置
背景 使用sl_product_order.placeOrder api命令一个vsi . 'dataCenter':'ams03' 例外 SoftLayerAPIError(SoftLayer_Exception_Order_InvalidData):属性订单上的数据无效:packageId . 包(835)需要预设配置 . 问题 包(835)需要预置配置意味着什么? 如何检查哪个参数无效? -
0 votesanswersviews
SoftLayer API:订单许可证
我使用Product_Order.placeOrder方法来订购许可证 . 问题是complexType和packageId的关系是什么 . 我可以同时指定complexType和packageId吗?我在哪里可以找到API文档?谢谢 . {'complexType': 'SoftLayer_Container_Product_Order_Software_License', 'quanti...