Comment 3 for bug 1393527

Revision history for this message
Eran Kuris (ekuris) wrote :

Sridhar , can you explain please what is the correct neutron command that I need to type to associate Stateless subnet to external router ?

for example this command is not valid according to the bug :
1. Create tenant_a Provider Stateless DHCPv6 network:
      a. Create IPv6 internal network (name it tenant_a_provider_stateless).
      # neutron net-create tenant_a_provider_stateless --router:external True

   b. Create IPv6 Provider Stateless DHCPv6 subnet and attached to tenant_a_provider_stateless

      # neutron subnet-create <tenant_a_provider_stateless_id> 2001:db4:0::2/64 --name tenant_a_provider_stateless_subnet --ipv6-address-mode dhcpv6-stateless --gateway fe80::6664:9bff:fe17:b40 --dns-nameserver 2001:4860:4860::8888 --ip-version 6
** according the bug we should get an error message
as I understand I should add this value :
-ipv6-ra-mode=dhcpv6-stateless
full command :
      # neutron subnet-create <tenant_a_provider_stateless_id> 2001:db4:0::2/64 --name tenant_a_provider_stateless_subnet --ipv6-address-mode dhcpv6-stateless -ipv6-ra-mode=dhcpv6-stateless --gateway fe80::6664:9bff:fe17:b40 --dns-nameserver 2001:4860:4860::8888 --ip-version 6