Skip to content
This repository has been archived by the owner on Mar 25, 2021. It is now read-only.

Need the netmask for SelfIPs to be full netmask or cidr notation #45

Open
jgruber opened this issue Jan 6, 2017 · 1 comment
Open

Comments

@jgruber
Copy link

jgruber commented Jan 6, 2017

With Mitaka+ Heat you can get the subnets associated with a Port object. From the subnet you can get a CIDR notation. That's the last piece missing to support full static configurations (no DHCP needed) for VE onboarding.

However, the startup script needs to take CIDR notation for Self IP creations.

f5-openstack-image-prep/lib/f5_image_prep/os-functions/openstack-network.sh

line 58 needs to have the IP regex removed from the netmask validation for this to work.

@jgruber
Copy link
Author

jgruber commented Jan 8, 2017

The startup script should be altered to allow three syntax:

  1. xxx.xxx.xxx.xxx - IP format
  2. xx - 2 digit mask bits
  3. xxx.xxx.xxx.xxx/xx - CIDR as this is what is provided by Neutron subnet

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant