IPv6 network creation with specific parameters
Proposers
- Sergio Tarazona (Whitestack)
- Gianpietro Lavado (Whitestack)
Description
OSM creates an IPv6 network and subnet with default values, in production, is needed to consider additional parameters like ipv6_address_mode and ipv6_ra_mode, the command for this in OpenStack is like this:
openstack subnet create --network ipv6_net --ipv6-ra-mode dhcpv6-stateful --ipv6-address-mode dhcpv6-stateful --subnet-range 2001:DB8::/64 --gateway 2001:DB8::1 --allocation-pool start=2001:DB8::2,end=2001:DB8::8 --dhcp --ip-version 6 ipv6_subnet
Demo or definition of done
IPv6 should be created with specific ipv6_address_mode and ipv6_ra_mode parameters
+----------------------+--------------------------------------+
| Field | Value |
+----------------------+--------------------------------------+
| allocation_pools | 2001:db8::2-2001:db8::8 |
| cidr | 2001:db8::/64 |
| created_at | 2022-12-02T16:42:48Z |
| description | |
| dns_nameservers | |
| dns_publish_fixed_ip | None |
| enable_dhcp | True |
| gateway_ip | 2001:db8::1 |
| host_routes | |
| id | 1f9764ea-5f14-4aca-b7c5-9090a42c1e6f |
| ip_version | 6 |
| ipv6_address_mode | dhcpv6-stateful | <----
| ipv6_ra_mode | dhcpv6-stateful | <----
| name | ipv6_subnet |
| network_id | 98fa72a6-cf50-4044-92fd-f2efc3f23126 |
| project_id | 6f0d5ef7fd324f85a6c6a19b237f9dd3 |
| revision_number | 0 |
| segment_id | None |
| service_types | |
| subnetpool_id | None |
| tags | |
| updated_at | 2022-12-02T16:42:48Z |
+----------------------+--------------------------------------+
Edited by garciadeblas