amazon.py 文件源码

python
阅读 23 收藏 0 点赞 0 评论 0

项目:CAL 作者: HPCC-Cloud-Computing 项目源码 文件源码
def show(self, subnet_id):
        subnet = self.client.describe_subnets(
            SubnetIds=[subnet_id]).get('Subnets')[0]

        result = {'name': subnet['SubnetId'],
                  'description': None,
                  'id': subnet['SubnetId'],
                  'cidr': subnet['CidrBlock'],
                  'cloud': PROVIDER,
                  'gateway_ip': None,
                  'security_group': None,
                  'allocation_pools': None,
                  'dns_nameservers': None
                  }

        return result
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号