From cdd22810b5a151cffb25f3d93867322cbe614c8c Mon Sep 17 00:00:00 2001 From: cxhong Date: Fri, 31 Jul 2020 12:27:42 -0400 Subject: [PATCH 1/3] Add getadapter to xCAT Doc --- docs/source/advanced/networks/index.rst | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/source/advanced/networks/index.rst b/docs/source/advanced/networks/index.rst index e75893567..fd503fe0e 100644 --- a/docs/source/advanced/networks/index.rst +++ b/docs/source/advanced/networks/index.rst @@ -8,3 +8,4 @@ Networking onie_switches/index.rst switchdiscover/index.rst infiniband/index.rst + getadapter.rst From 478164108a29aa0428d7d6d6d8bc0938bffbe1ed Mon Sep 17 00:00:00 2001 From: cxhong Date: Fri, 31 Jul 2020 16:28:48 -0400 Subject: [PATCH 2/3] uncomment the getadapter.rst in the conf.py --- docs/source/advanced/networks/getadapter.rst | 4 ++-- docs/source/conf.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/source/advanced/networks/getadapter.rst b/docs/source/advanced/networks/getadapter.rst index b3aa71fd8..b7fdfda1e 100644 --- a/docs/source/advanced/networks/getadapter.rst +++ b/docs/source/advanced/networks/getadapter.rst @@ -12,11 +12,11 @@ information to help customer configure the network. How to use getadapter ----------------------- -Set the chian table to run ``getadapter`` script :: +Set the chain table to run ``getadapter`` script :: chdef chain="runcmd=getadapter" -After the discovery completed, the column ``nicsadapter`` of ```nics`` table is +After the discovery completed, the column ``nicsadapter`` of ``nics`` table is updated. View result with ``lsdef`` command :: diff --git a/docs/source/conf.py b/docs/source/conf.py index 1f8253fe9..d2afdfdc3 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -105,7 +105,7 @@ exclude_patterns = ['guides/install-guides/common_sections.rst', '**hierarchy/databases/postgres_tips.rst', '**hierarchy/define_and_install_compute_node.rst', #'**hierarchy/define_service_node.rst', - '**networks/getadapter.rst' + #'**networks/getadapter.rst' #'**networks/vlan/index.rst', #'**networks/vlan/vlan.rst', #'**license/xcat_corporate_contributor_license_agreement.rst', From 25f83a80e61d9ea9506036bdc4392f6b911b3e5c Mon Sep 17 00:00:00 2001 From: cxhong Date: Fri, 31 Jul 2020 16:55:10 -0400 Subject: [PATCH 3/3] remove `,` --- docs/source/conf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/source/conf.py b/docs/source/conf.py index d2afdfdc3..df334cef4 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -103,7 +103,7 @@ exclude_patterns = ['guides/install-guides/common_sections.rst', #'**hamn/setup_ha_mgmt_node_with_shared_data.rst', #'**hamn/setup_xcat_high_available_management_node_in_softlayer.rst', '**hierarchy/databases/postgres_tips.rst', - '**hierarchy/define_and_install_compute_node.rst', + '**hierarchy/define_and_install_compute_node.rst' #'**hierarchy/define_service_node.rst', #'**networks/getadapter.rst' #'**networks/vlan/index.rst',