-
Notifications
You must be signed in to change notification settings - Fork 2k
Rackspace/Openstack - Add/enhance --*-net-* create switches. #2974
Rackspace/Openstack - Add/enhance --*-net-* create switches. #2974
Conversation
ed73a5d
to
47d5647
Compare
Hi @robertjustjones What about the compatibility with existing machines? Changing the fields of Driver can make it incompatible with existing config.json files. Can you try? |
ping @fsoppelsa |
@dgageot @robertjustjones sorry for the delay, tried it (without looking at code), but:
Is this incompatible with floating pools?
With
Multiple networks separated by comma:
|
ce3c033
to
6d290f1
Compare
Signed-off-by: Robert Jones <robert@justjones.org>
6d290f1
to
07cadc6
Compare
Please see the related comments in #1444. |
Yes this is GO for me (for drivers/openstack). |
LGTM thanks all |
Rackspace/Openstack - Add/enhance --*-net-* create switches.
@robertjustjones, @nathanleclaire, @fsoppelsa Did you test the compatibility with previously created machines? As I said to @robertjustjones, changing field names/types in |
@dgageot I just tried to remove an old machine created with 0.5.2 and it worked. How could this new feature (adding more networks in creation) impact old machines? |
@dgageot I see now what you're referring to. I thought only the switches were public, but I see now that filestore.go is json-ifying the Driver. I'll see if I can break it. LMK if you suspect a particular sequence that might fail. |
Ah, @dgageot is right -- My fault, I think we will need to revert this PR and revisit the changes to the Driver struct. In its current form it will break existing machines. The main problematic bit is changing the name and type of |
We should probably have automated tests that break when changing values in the Driver structs, but I'm not sure how that would be possible. |
Alright, here's the plan:
Thanks! |
Sounds good @nathanleclaire. Thanks. |
Does anyone knows the state of this ? Is it now possible to create an OpenStack machine with either multiple --openstack-net-id switches or one --openstack-net-id param with coma-separated list of networks ? thanks :) |
@robertjustjones did you open a new PR? |
@robertjustjones I guess this PR is dead? |
is this functional? Currently I am getting an error. No interface found with name 'vlan,Ext-Net' docker-machine v0.13.0, build 9ba6da9. |
This is a rebase/reopen for #1451 so see relevant history there please. This addresses issues #1440 and #1444.