Why must baymodels have names? Consider this as an example use case where a name is not needed:
stack@ao-magnum-metal:~$ magnum baymodel-create --image-id fedora-21-atomic-3 \ > --keypair-id testkey \ > --external-network-id $NIC_ID \ > --dns-nameserver 8.8.8.8 \ > --flavor-id m1.small \ > --docker-volume-size 5 \ > --coe kubernetes +---------------------+--------------------------------------+ | Property | Value | +---------------------+--------------------------------------+ | fixed_network | None | | apiserver_port | None | | uuid | c4c7f2a2-1588-4b0b-9e63-398e70360e43 | | external_network_id | 032e1a94-19da-4325-a370-d3163b4939c3 | | created_at | 2015-05-12T05:43:11.806645+00:00 | | updated_at | None | | cluster_distro | fedora-atomic | | name | None | | ssh_authorized_key | None | | image_id | fedora-21-atomic-3 | | coe | kubernetes | | keypair_id | testkey | | master_flavor_id | None | | flavor_id | m1.small | | dns_nameserver | 8.8.8.8 | | docker_volume_size | 5 | +---------------------+--------------------------------------+ stack@ao-magnum-metal:~$ magnum bay-create --name k8s_bay_from_no_name_baymodel --baymodel c4c7f2a2-1588-4b0b-9e63-398e70360e43 --node-count 2 +----------------+--------------------------------------+ | Property | Value | +----------------+--------------------------------------+ | status | None | | uuid | 2030b6c8-8045-4483-a089-9b583c36f6f1 | | created_at | 2015-05-12T05:43:57+00:00 | | updated_at | None | | api_address | None | | baymodel_id | c4c7f2a2-1588-4b0b-9e63-398e70360e43 | | node_count | 2 | | node_addresses | [] | | discovery_url | None | | name | k8s_bay_from_no_name_baymodel | +----------------+--------------------------------------+ stack@ao-magnum-metal:~$ magnum bay-show 2030b6c8-8045-4483-a089-9b583c36f6f1 +----------------+--------------------------------------+ | Property | Value | +----------------+--------------------------------------+ | status | CREATE_COMPLETE | | uuid | 2030b6c8-8045-4483-a089-9b583c36f6f1 | | created_at | 2015-05-12T05:43:57+00:00 | | updated_at | 2015-05-12T05:44:45+00:00 | | api_address | 172.24.4.122 | | baymodel_id | c4c7f2a2-1588-4b0b-9e63-398e70360e43 | | node_count | 2 | | node_addresses | [u'172.24.4.124', u'172.24.4.123'] | | discovery_url | None | | name | k8s_bay_from_no_name_baymodel | +----------------+--------------------------------------+
Why must baymodels have names? Consider this as an example use case where a name is not needed:
stack@ao- magnum- metal:~ $ magnum baymodel-create --image-id fedora-21-atomic-3 \ network- id $NIC_ID \ volume- size 5 \ ------- ------- -+----- ------- ------- ------- ------- -----+ ------- ------- -+----- ------- ------- ------- ------- -----+ 1588-4b0b- 9e63-398e70360e 43 | 19da-4325- a370-d3163b4939 c3 | 12T05:43: 11.806645+ 00:00 | ------- ------- -+----- ------- ------- ------- ------- -----+ magnum- metal:~ $ magnum bay-create --name k8s_bay_ from_no_ name_baymodel --baymodel c4c7f2a2- 1588-4b0b- 9e63-398e70360e 43 --node-count 2 ------- ---+--- ------- ------- ------- ------- ------- + ------- ---+--- ------- ------- ------- ------- ------- + 8045-4483- a089-9b583c36f6 f1 | 12T05:43: 57+00:00 | 1588-4b0b- 9e63-398e70360e 43 | from_no_ name_baymodel | ------- ---+--- ------- ------- ------- ------- ------- + magnum- metal:~ $ magnum bay-show 2030b6c8- 8045-4483- a089-9b583c36f6 f1 ------- ---+--- ------- ------- ------- ------- ------- + ------- ---+--- ------- ------- ------- ------- ------- + 8045-4483- a089-9b583c36f6 f1 | 12T05:43: 57+00:00 | 12T05:44: 45+00:00 | 1588-4b0b- 9e63-398e70360e 43 | from_no_ name_baymodel | ------- ---+--- ------- ------- ------- ------- ------- +
> --keypair-id testkey \
> --external-
> --dns-nameserver 8.8.8.8 \
> --flavor-id m1.small \
> --docker-
> --coe kubernetes
+------
| Property | Value |
+------
| fixed_network | None |
| apiserver_port | None |
| uuid | c4c7f2a2-
| external_network_id | 032e1a94-
| created_at | 2015-05-
| updated_at | None |
| cluster_distro | fedora-atomic |
| name | None |
| ssh_authorized_key | None |
| image_id | fedora-21-atomic-3 |
| coe | kubernetes |
| keypair_id | testkey |
| master_flavor_id | None |
| flavor_id | m1.small |
| dns_nameserver | 8.8.8.8 |
| docker_volume_size | 5 |
+------
stack@ao-
+------
| Property | Value |
+------
| status | None |
| uuid | 2030b6c8-
| created_at | 2015-05-
| updated_at | None |
| api_address | None |
| baymodel_id | c4c7f2a2-
| node_count | 2 |
| node_addresses | [] |
| discovery_url | None |
| name | k8s_bay_
+------
stack@ao-
+------
| Property | Value |
+------
| status | CREATE_COMPLETE |
| uuid | 2030b6c8-
| created_at | 2015-05-
| updated_at | 2015-05-
| api_address | 172.24.4.122 |
| baymodel_id | c4c7f2a2-
| node_count | 2 |
| node_addresses | [u'172.24.4.124', u'172.24.4.123'] |
| discovery_url | None |
| name | k8s_bay_
+------