简体   繁体   English

软层API子网类型

[英]Softlayer API subnet Type

I'm having issues figuring out using the python Softlayer API to get the subnetlist "Type" if is Portable/Public. 我在使用python Softlayer API找出子网表“类型”(如果是便携式/公共)时遇到问题。 None of the values returned seem to show it. 返回的值似乎都没有显示出来。

Could anyone share how to find that ? 谁能分享找到它的方式?

Let me know if I haven't supplied sufficient information. 让我知道我是否提供了足够的信息。

The addressSpace property displasy if the subnet is private or public. 如果子网是私有或公共子网,则addressSpace属性将消失。 You can see more information here: http://sldn.softlayer.com/reference/datatypes/SoftLayer_Network_Subnet But I did not found a property which displays if the subnet is portable. 您可以在此处看到更多信息: http : //sldn.softlayer.com/reference/datatypes/SoftLayer_Network_Subnet但是我没有找到显示子网是否可移植的属性。

Regards 问候

More then just the answer can be fund here: https://sldn.softlayer.com/blog/bpotter/going-further-softlayer-api-python-client-part-1 不仅如此,答案就可以在这里获得资助: https : //sldn.softlayer.com/blog/bpotter/going-further-softlayer-api-python-client-part-1

This is a good tutorial in how to use Softlayer's API with python. 这是一个很好的教程,介绍了如何将Softlayer的API与python结合使用。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM