Skip to content

ipv6: support for isolated nw, vpc tiers - #262

Merged
nvazquez merged 10 commits into
apache:mainfrom
shapeblue:ip6-routes
Apr 29, 2022
Merged

ipv6: support for isolated nw, vpc tiers#262
nvazquez merged 10 commits into
apache:mainfrom
shapeblue:ip6-routes

Conversation

@shwstppr

Copy link
Copy Markdown
Contributor

Feature PR: apache/cloudstack#5786
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
@blueorangutan

Copy link
Copy Markdown

Doc build preview: http://qa.cloudstack.cloud/docs/WIP-PROOFING/pr/262. (SL-JID 184)

Comment threadsource/plugins/ipv6.rst Outdated
Comment on lines +279 to +284
.. |add-guest-ipv6-prefix-form.png| image:: /_static/images/cadd-guest-ipv6-prefix-form.png
:alt: Add Guest IPv6 Prefix form.
.. |add-public-ipv6-range-form.png| image:: /_static/images/add-public-ipv6-range-form.png
:alt: Add Public IPv6 Range form.
.. |add-ipv6-network-offering-form.png| image:: /_static/images/dd-ipv6-network-offering-form.png
:alt: Add IPv6 supported Network Offering form. No newline at end of file

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

some typos/c&p errors here. only one pic shows in the page.

Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
@apacheapache deleted a comment from blueorangutanFeb 1, 2022
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
@apacheapache deleted a comment from blueorangutanFeb 1, 2022
@apacheapache deleted a comment from blueorangutanFeb 1, 2022
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
@apacheapache deleted a comment from blueorangutanFeb 21, 2022
@apacheapache deleted a comment from blueorangutanFeb 21, 2022
@apacheapache deleted a comment from blueorangutanFeb 21, 2022
@apacheapache deleted a comment from blueorangutanFeb 21, 2022
@shwstppr

Copy link
Copy Markdown
ContributorAuthor

@blueorangutan docbuild

@blueorangutan

Copy link
Copy Markdown

@shwstppr a Jenkins job has been kicked to build the document. I'll keep you posted as I make progress.

@blueorangutan

Copy link
Copy Markdown

Doc build preview: http://qa.cloudstack.cloud/docs/WIP-PROOFING/pr/262. (SL-JID 202)

#####################

Currently, CloudStack supports IPv6 isolated networks and VPC tiers only with **static** routes and therefore the administrator needs to add upstream IPv6 routes once a network is successfully deployed.
To facilitate the automation, *CloudStack Event Notification* can be used. CloudStack will generate appropriate events on network creation or deletion and while assigning or releasing a public IPv6 address for a network. Based on the events the corresponding network can be queried for the IPv6 routes that it needs configured in upstream network.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is cloudstack api also an option ?
I think few cloudstack users use event bus. it would be better to provide more resolutions.

Copy link
Copy Markdown
ContributorAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@weizhouapache on event bus, currently it just sends assigned IPv6, the event consumer will still have to call listNetworks API for getting the subnet,

> list networks id=d147f48c-69ee-4733-a7f9-6096e3e07a3f filter=id,name,ip6cidr,ip6gateway,ip6routes
{
"count": 1,
"network": [
{
"id": "d147f48c-69ee-4733-a7f9-6096e3e07a3f",
"ip6cidr": "2a00:1728:23:1000::/64",
"ip6gateway": "2a00:1728:23:1000::",
"ip6routes": [
{
"gateway": "2a00:1728:23:1140:1c00:30ff:fe00:9",
"subnet": "2a00:1728:23:1000::/64"
}
],
"name": "net6"
}
]
}

|network-details-upstream-ipv6-routes.png|


IPv6 Firewall

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we have firewall enabled/disabled option in network offerings ?
what's the default policy ?

Copy link
Copy Markdown
ContributorAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@weizhouapache no separate option right now. It will depend on Firewall service enabled for the network.
Also, default policy for egress requests will be governed by egressdefaultpolicy of the offering. Ingress it is deny

Guest VMs in an isolated network or VPC tier can obtain both IPv4 and IPv6 IP addresses by using a supported network offering and appropriate configurations for IPv6 support by the administrator.
Both VR for such networks and the guest VMs using these networks obtain a SLAAC based IPv6 address. While VR is assigned an IPv6 address from the public IPv6 range, guest VMs get their IPv6 addresses from the IPv6 subnet assinged to the network.

Here's the sequence of events when IPv6 is used:

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is the "VLAN/VNI" supported in ipv6 range ?
If it is currently not supported, it is better to point it out.

Copy link
Copy Markdown
ContributorAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@weizhouapache will sync offline about this.

Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
@apacheapache deleted a comment from blueorangutanMar 15, 2022
@apacheapache deleted a comment from blueorangutanMar 15, 2022
@shwstppr

Copy link
Copy Markdown
ContributorAuthor

@blueorangutan docbuild

@blueorangutan

Copy link
Copy Markdown

@shwstppr a Jenkins job has been kicked to build the document. I'll keep you posted as I make progress.

@blueorangutan

Copy link
Copy Markdown

Doc build preview: http://qa.cloudstack.cloud/docs/WIP-PROOFING/pr/262. (SL-JID 206)

@nvazquez

Copy link
Copy Markdown
Contributor

Hi @shwstppr is this PR ready for review?

@nvazqueznvazquez added this to the 4.17 milestone Apr 26, 2022
@shwstppr

Copy link
Copy Markdown
ContributorAuthor

@nvazquez will mark ready once @weizhouapache LGTM it.

Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
@apacheapache deleted a comment from blueorangutanApr 27, 2022
@apacheapache deleted a comment from blueorangutanApr 27, 2022
@shwstppr

Copy link
Copy Markdown
ContributorAuthor

@blueorangutan docbuild

@blueorangutan

Copy link
Copy Markdown

@shwstppr a Jenkins job has been kicked to build the document. I'll keep you posted as I make progress.

@blueorangutan

Copy link
Copy Markdown

Doc build preview: http://qa.cloudstack.cloud/docs/WIP-PROOFING/pr/262. (SL-JID 233)

@weizhouapacheweizhouapache left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@nvazquez
nvazquez marked this pull request as ready for review April 29, 2022 13:36
@nvazquez
nvazquez merged commit 06a06c4 into apache:mainApr 29, 2022
weizhouapache pushed a commit to weizhouapache/cloudstack-documentation that referenced this pull request Jul 24, 2023
* ipv6: support for isolated nw, vpc tiers
Feature PR: apache/cloudstack#5786
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
* typo fix
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
* more typo
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
* changes
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
* change
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
* public ip range note
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
* vpc offering, global setting change
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
* missing changes from previous commit
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
* add detail about firewall and acl
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
* typo
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants

@shwstppr@blueorangutan@nvazquez@DaanHoogland@weizhouapache