Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commite5b3b18

Browse files
author
Adam Carruthers
committed
Update create network for isolated network support, update apply ACL to highlight that it only works on VPC subnets
1 parentf36f713 commite5b3b18

File tree

4 files changed

+47
-21
lines changed

4 files changed

+47
-21
lines changed

‎source/includes/cloudstack/_network_acls.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
###Network ACLs
44

5-
Manage access control lists and their rules. To apply an ACL to anetwork,[replace the ACL of a network](#cloudstack-replace-the-network-acl-of-a-network).
5+
Manage access control lists and their rules. To apply an ACL to aVPC subnet,[replace the ACL of a network](#cloudstack-replace-the-network-acl-of-a-network).
66

77
####List network ACLs
88

‎source/includes/cloudstack/_network_offerings.md‎

Lines changed: 30 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ curl -X GET \
1717
{
1818
"id":"89724d35-b69c-418c-be81-7d83fcfc9da9",
1919
"name":"Load Balanced Tier",
20+
"vpcOnly":true,
2021
"services": [
2122
"PortForwarding",
2223
"Vpn",
@@ -33,6 +34,7 @@ curl -X GET \
3334
{
3435
"id":"087502ea-cb42-421b-9bd9-9cf9ae5d1b89",
3536
"name":"Standard Tier",
37+
"vpcOnly":true,
3638
"services": [
3739
"PortForwarding",
3840
"Vpn",
@@ -44,10 +46,24 @@ curl -X GET \
4446
"StaticNat"
4547
],
4648
"state":"ENABLED"
49+
},
50+
{
51+
"id":"0f1b9d72-b842-11e7-abc4-cec278b6b50a",
52+
"name":"Isolated network",
53+
"vpcOnly":false,
54+
"services": [
55+
"PortForwarding",
56+
"SourceNat",
57+
"Dhcp",
58+
"Dns",
59+
"UserData",
60+
"StaticNat"
61+
],
62+
"state":"ENABLED"
4763
}
4864
],
4965
"metadata": {
50-
"recordCount":2
66+
"recordCount":3
5167
}
5268
}
5369
```
@@ -56,12 +72,13 @@ curl -X GET \
5672

5773
Retrieve a list of available network offerings.
5874

59-
Attributes | 
60-
---------- | -----
61-
`id`<br/>*UUID* | The id of the network offering
62-
`name`<br/>*string* | The name of the network offering
75+
Attributes |&nbsp;
76+
------------------------------ | ------
77+
`id`<br/>*UUID* | The id of the network offering
78+
`name`<br/>*string* | The name of the network offering
79+
`vpcOnly`<br/>*boolean* | Whether or not the offering is for VPC subnets
6380
`services`<br/>*Array[string]* | The services provided by the offering
64-
`state`<br/>*string* | The state of the offering
81+
`state`<br/>*string*| The state of the offering
6582

6683
####Retrieve a network offering
6784

@@ -77,6 +94,7 @@ curl -X GET \
7794
"data": {
7895
"id":"89724d35-b69c-418c-be81-7d83fcfc9da9",
7996
"name":"Load Balanced Tier",
97+
"vpcOnly":true,
8098
"services": [
8199
"PortForwarding",
82100
"Lb",
@@ -97,9 +115,10 @@ curl -X GET \
97115

98116
Retrieve a network offering.
99117

100-
Attributes |&nbsp;
101-
---------- | -----
102-
`id`<br/>*UUID* | The id of the network offering
103-
`name`<br/>*string* | The name of the network offering
118+
Attributes |&nbsp;
119+
------------------------------ | ------
120+
`id`<br/>*UUID* | The id of the network offering
121+
`name`<br/>*string* | The name of the network offering
122+
`vpcOnly`<br/>*boolean* | Whether or not the offering is for VPC subnets
104123
`services`<br/>*Array[string]* | The services provided by the offering
105-
`state`<br/>*string* | The state of the offering
124+
`state`<br/>*string*| The state of the offering

‎source/includes/cloudstack/_networks.md‎

Lines changed: 15 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
###Networks
22

3-
A network is an isolated network with its own VLANs and CIDR list, where you can place groups of resources, such as[instances](#cloudstack-instances).
3+
A network is an isolated network with its own VLANs and CIDR list, where you can place groups of resources, such as[instances](#cloudstack-instances). They can exist as VPC subnets, or as simple isolated networks, provided the appropriate network offerings exist.
44

55
<!-------------------- LIST NETWORK -------------------->
66

@@ -160,14 +160,18 @@ curl -X POST \
160160

161161
Create a network in an[environment](#administration-environments)
162162

163-
Required |&nbsp;
164-
------ | -----------
165-
`name`<br/>*string* | The name of the new network
166-
`description`<br/>*string* | The description of the new network
167-
`vpcId`<br/>*UUID* | The id of the VPC where to create the network
163+
If the network offering is a VPC subnet offering (indicated by the`vpcOnly` flag on the offering), the vpcId and networkAclId are required fields.
164+
165+
Required |&nbsp;
166+
------------------------------ | ------
167+
`name`<br/>*string* | The name of the new network
168+
`description`<br/>*string* | The description of the new network
168169
`networkOfferingId`<br/>*UUID* | The id of the[network offering](#cloudstack-network-offerings) to use for the network
169-
`networkAclId`<br/>*UUID* | The id of the[network ACL](#cloudstack-network-acls) to use for the network
170170

171+
Required (if VPC subnet) |&nbsp;
172+
------------------------- | ------
173+
`vpcId`<br/>*UUID* | The id of the VPC where to create the network
174+
`networkAclId`<br/>*UUID* | The id of the[network ACL](#cloudstack-network-acls) to use for the network
171175

172176
<!-------------------- UPDATE A NETWORK -------------------->
173177

@@ -251,7 +255,10 @@ curl -X POST \
251255

252256
<code>POST /services/<ahref="#administration-service-connections">:service_code</a>/<ahref="#administration-environments">:environment_name</a>/networks/9572d2ea-a60d-478a-a75e-8ed31f2641f1?operation=replace</code>
253257

254-
Replace the[network ACL](#cloudstack-network-acls).
258+
Replace the[network ACL](#cloudstack-network-acls) for a VPC subnet.
259+
<asideclass="caution">
260+
This operation is not allowed on isolated networks.
261+
</aside>
255262

256263
Required |&nbsp;
257264
------ | -----------

‎source/includes/openstack/_networks.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
###Networks
22

3-
Networks areprivisioned to be able to control data flow to instances. To communicate with the external network, the network must be connected to a[router](#openstack-routers)
3+
Networks areprovisioned to be able to control data flow to instances. To communicate with the external network, the network must be connected to a[router](#openstack-routers)
44

55
####List networks
66

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp