码迷,mamicode.com
首页 > 其他好文 > 详细

ironic bind port

时间:2020-07-16 10:11:02      阅读:64      评论:0      收藏:0      [点我收藏+]

标签:ova   inf   version   tftpboot   mat   lan   Opens   link   remove   

 

*************************** 3. row ***************************
           created_at: 2020-07-16 00:50:46
           updated_at: 2020-07-16 00:54:47
              version: 1.7
                   id: 126
                 uuid: 1648f009-af60-418c-9ec0-b9dbfa020bf0
              address: 1c:ae:cb:eb:91:e6
              node_id: 105
                extra: {}
local_link_connection: {"switch_info": "JG05-SA-01-CE8850", "port_id": "100GE1/0/14", "switch_id": "30:e9:8e:e0:0e:21"}
         portgroup_id: NULL
          pxe_enabled: 1
        internal_info: {"tenant_vif_port_id": "ccec5545-ff16-48d9-98d1-94bb3e670e4a", "provisioning_vif_port_id": "8a8738f1-567a-4526-8d2c-67548ce3fa04"}
     physical_network: physnet_vlan
3 rows in set (0.00 sec)

 

[root@bogon ironic]# neutron port-list | egrep ccec5545-ff16-48d9-98d1-94bb3e670e4a|8a8738f1-567a-4526-8d2c-67548ce3fa04
neutron CLI is deprecated and will be removed in the future. Use openstack CLI instead.
| 8a8738f1-567a-4526-8d2c-67548ce3fa04 |                   | 42272601916748e2ba64d8a1c5413ba4 | 1c:ae:cb:eb:91:e6 | {"subnet_id": "c25fbc7b-230c-41f5-8ffe-605c895e98ef", "ip_address": "172.16.100.103"} |
| ccec5545-ff16-48d9-98d1-94bb3e670e4a |                   | 46cc02c6fab04f7095c4bc687d397610 | fa:16:3e:cf:04:42 | {"subnet_id": "ac627712-e2b7-42fe-b61a-fdba9a2149cb", "ip_address": "172.16.103.8"}   |
[root@bogon ironic]#
[root@bogon ironic]# neutron port-show 8a8738f1-567a-4526-8d2c-67548ce3fa04
neutron CLI is deprecated and will be removed in the future. Use openstack CLI instead.
+-----------------------+--------------------------------------------------------------------------------------------------------------------------------+
| Field                 | Value                                                                                                                          |
+-----------------------+--------------------------------------------------------------------------------------------------------------------------------+
| admin_state_up        | True                                                                                                                           |
| allowed_address_pairs |                                                                                                                                |
| binding:host_id       | 7cbeae82-cfc5-4ff3-bb0c-d3d9ac994a29                                                                                           |
| binding:profile       | {"local_link_information": [{"switch_info": "JG05-SA-01-CE8850", "port_id": "100GE1/0/14", "switch_id": "30:e9:8e:e0:0e:21"}]} |
| binding:vif_details   | {}                                                                                                                             |
| binding:vif_type      | other                                                                                                                          |
| binding:vnic_type     | baremetal                                                                                                                      |
| created_at            | 2020-07-16T00:54:26Z                                                                                                           |
| description           |                                                                                                                                |
| device_id             | b7182965-26de-4d01-ad71-b520db99c4dd                                                                                           |
| device_owner          | baremetal:none                                                                                                                 |
| extra_dhcp_opts       | {"opt_value": "172.16.100.99", "ip_version": 4, "opt_name": "150"}                                                             |
|                       | {"opt_value": "172.16.100.99", "ip_version": 4, "opt_name": "66"}                                                              |
|                       | {"opt_value": "172.16.100.99", "ip_version": 4, "opt_name": "server-ip-address"}                                               |
|                       | {"opt_value": "grubaa64.efi", "ip_version": 4, "opt_name": "67"}                                                               |
|                       | {"opt_value": "/tftpboot/", "ip_version": 4, "opt_name": "210"}                                                                |
| fixed_ips             | {"subnet_id": "c25fbc7b-230c-41f5-8ffe-605c895e98ef", "ip_address": "172.16.100.103"}                                          |
| id                    | 8a8738f1-567a-4526-8d2c-67548ce3fa04                                                                                           |
| mac_address           | 1c:ae:cb:eb:91:e6                                                                                                              |
| name                  |                                                                                                                                |
| network_id            | f1411bad-100e-46f8-91f1-639da9020801                                                                                           |
| port_security_enabled | True                                                                                                                           |
| project_id            | 42272601916748e2ba64d8a1c5413ba4                                                                                               |
| revision_number       | 14                                                                                                                             |
| security_groups       | 3d9150b8-1d58-4d16-8066-33908ec3b910                                                                                           |
| status                | ACTIVE                                                                                                                         |
| tags                  |                                                                                                                                |
| tenant_id             | 42272601916748e2ba64d8a1c5413ba4                                                                                               |
| updated_at            | 2020-07-16T00:54:49Z                                                                                                           |
+-----------------------+--------------------------------------------------------------------------------------------------------------------------------+
[root@bogon ironic]# neutron port-show ccec5545-ff16-48d9-98d1-94bb3e670e4a 
neutron CLI is deprecated and will be removed in the future. Use openstack CLI instead.
+-----------------------+-------------------------------------------------------------------------------------+
| Field                 | Value                                                                               |
+-----------------------+-------------------------------------------------------------------------------------+
| admin_state_up        | True                                                                                |
| allowed_address_pairs |                                                                                     |
| binding:host_id       |                                                                                     |
| binding:profile       | {}      ----------------空                                                                            |
| binding:vif_details   | {}                                                                                  |
| binding:vif_type      | unbound                                                                             |
| binding:vnic_type     | normal    -----------------是不是baremetal                                                                          |
| created_at            | 2020-07-16T00:53:49Z                                                                |
| description           |                                                                                     |
| device_id             | b7182965-26de-4d01-ad71-b520db99c4dd                                                |
| device_owner          | compute:nova                                                                        |
| extra_dhcp_opts       | --------------------------空                                                                                    |
| fixed_ips             | {"subnet_id": "ac627712-e2b7-42fe-b61a-fdba9a2149cb", "ip_address": "172.16.103.8"} |
| id                    | ccec5545-ff16-48d9-98d1-94bb3e670e4a                                                |
| mac_address           | fa:16:3e:cf:04:42                                                                   |
| name                  |                                                                                     |
| network_id            | 38c0d85e-bdd1-4809-8c95-aeb9e62a8263                                                |
| port_security_enabled | True                                                                                |
| project_id            | 46cc02c6fab04f7095c4bc687d397610                                                    |
| revision_number       | 13                                                                                  |
| security_groups       | e70c2156-a68d-4343-a167-4caffee8c643                                                |
| status                | DOWN                                                                                |
| tags                  |                                                                                     |
| tenant_id             | 46cc02c6fab04f7095c4bc687d397610                                                    |
| updated_at            | 2020-07-16T00:54:20Z                                                                |
+-----------------------+-------------------------------------------------------------------------------------+
[root@bogon ironic]# 

 

ironic bind port

标签:ova   inf   version   tftpboot   mat   lan   Opens   link   remove   

原文地址:https://www.cnblogs.com/dream397/p/13320779.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!