next up previous contents
Next: Virtual Network Up: Neutron Previous: 服務啟動   Contents

驗證

  1. 載入管理者環境變變數。
    [root@ip112 ~]# . admin.token
    
  2. 列出 agent,確認可以使用 neutron agent,如果只有 provider network,會有以下三種 agent。
    [root@ip112 ~]# openstack network agent list
    +--------------------------------------+--------------------+------------+
    | ID                                   | Agent Type         | Host       |
    +--------------------------------------+--------------------+------------+
    | 3eb768a6-2f98-4c71-9c92-a964677c58d8 | DHCP agent         | controller |
    | 532abb67-c6eb-4768-92e3-722684315909 | Linux bridge agent | controller |
    | c4d53419-f893-4139-a4eb-3dfe45a4f063 | Metadata agent     | controller |
    +--------------------------------------+--------------------+------------+
    -------------------+-------+-------+---------------------------+
     Availability Zone | Alive | State | Binary                    |
    -------------------+-------+-------+---------------------------+
     nova              | :-)   | UP    | neutron-dhcp-agent        |
     None              | :-)   | UP    | neutron-linuxbridge-agent |
     None              | :-)   | UP    | neutron-metadata-agent    |
    -------------------+-------+-------+---------------------------+
    
  3. 列出 agent,確認可以使用 neutron agent,如果也有 self-service network,則會多一項 L3 agent。
    [root@controller ~]# . admin.token 
    [root@controller ~]# openstack network agent list
    +--------------------------------------+--------------------+------------+-
    | ID                                   | Agent Type         | Host       | 
    +--------------------------------------+--------------------+------------+-
    | 08c0fc32-63ff-44cd-8464-f756dfac0c8e | DHCP agent         | controller | 
    | 87c9eccb-24f6-4046-bcf2-324532c88767 | Linux bridge agent | controller | 
    | b5276b97-37a4-4a0e-828d-c0f5a6b1c947 | Metadata agent     | controller | 
    | f0c9588f-161e-4b8a-9ed5-bdfe3203e4eb | L3 agent           | controller | 
    +--------------------------------------+--------------------+------------+-
    ------------------+-------+-------+---------------------------+
    Availability Zone | Alive | State | Binary                    |
    ------------------+-------+-------+---------------------------+
    nova              | :-)   | UP    | neutron-dhcp-agent        |
    None              | :-)   | UP    | neutron-linuxbridge-agent |
    None              | :-)   | UP    | neutron-metadata-agent    |
    nova              | :-)   | UP    | neutron-l3-agent          |
    ------------------+-------+-------+---------------------------+
    


2018-09-19