Add KVM Virtual PTP Driver topic to OpenStack VNF section

Change-Id: I20f80b3614128a2462e87461b9cb9898683fc8fc
Signed-off-by: Keane Lim <keane.lim@windriver.com>
This commit is contained in:
Keane Lim
2021-04-28 11:03:05 -04:00
parent ef1c5ac068
commit 02fbcbe3df
3 changed files with 59 additions and 6 deletions

View File

@@ -0,0 +1,46 @@
.. hdw1619620921761
.. _configure-kvm-virtual-ptp-driver:
================================
Configure KVM Virtual PTP Driver
================================
The |KVM| virtual |PTP| driver allows guests to sync the |VM| reference clock
to the host's high precision PTP clock reference.
.. rubric:: |prereq|
|PTP| must be enabled on |prod| in order to use the |KVM| virtual |PTP|
driver in guest |VMs|.
To leverage |PTP| in a |VM| and sync the |VM| reference clock with the
hosting compute or |AIO|-controller node, do the following in the |VM|:
.. rubric:: |proc|
#. Load the |KVM| |PTP| driver:
.. code-block:: none
~(keystone_admin)$ modprobe kvm_ptp
#. Update the reference clock in the chrony config file \(/etc/chrony.conf\):
.. code-block:: none
~(keystone_admin)$ refclock PHC /dev/ptp0 poll 3 dpoll -2 offset 0
#. Restart the chronyd service:
.. code-block:: none
~(keystone_admin)$ systemctl restart chronyd.service
#. Confirm that the |PTP| device is in the list of time sources:
.. code-block:: none
~(keystone_admin)$ systemctl restart chronyd.service

View File

@@ -21,15 +21,21 @@ Bootstrap Data
bootstrap-data
configuration-using-metadata
************************************
About Accelerated Virtual Interfaces
************************************
**************************
Virtual Network Interfaces
**************************
.. toctree::
:maxdepth: 2
:maxdepth: 1
standard-virtio-backed-with-vhost-support
use-a-vif-model-when-creating-ports
********************
Use Host's PTP Clock
********************
.. toctree::
:maxdepth: 1
configure-kvm-virtual-ptp-driver

View File

@@ -48,6 +48,7 @@
.. |IoT| replace:: :abbr:`IoT (Internet of Things)`
.. |IPMI| replace:: :abbr:`IPMI (Intelligent Platform Management Interface)`
.. |IOPS| replace:: :abbr:`IOPS (I/O operations per second)`
.. |KVM| replace:: :abbr:`KVM (Kernel-based Virtual Machine)`
.. |LACP| replace:: :abbr:`LACP (Link Aggregation Control Protocol)`
.. |LAG| replace:: :abbr:`LAG (Link Aggregation)`
.. |LDAP| replace:: :abbr:`LDAP (Lightweight Directory Access Protocol)`