The host data inteface of a k8s node can be named differently
based on the OS type(eth0/ens3/p1p1 etc). This commit exposes a knob
"k8s_node_data_interface" which can be used to specify the interface
name of the k8s compute node in the ansible inventory file.
If kubernetes_node_interface is not specified for a compute node, then
'eth0' is assumed to be name of the interface for that node.
The interface name, so deduced/specified, is populated in the CNI configuration
on kubernetes compute nodes and is used by contrail cni for data path stitching.
Reviewed: https:/ /review. opencontrail. org/35500 github. com/Juniper/ contrail- ansible/ commit/ 9e534122b0e9ee2 23b9ea82ae1c383 fbb116bd8a
Committed: http://
Submitter: Zuul (<email address hidden>)
Branch: R4.0
commit 9e534122b0e9ee2 23b9ea82ae1c383 fbb116bd8a
Author: dineshb-jnpr <email address hidden>
Date: Mon Sep 11 20:04:23 2017 -0700
Make kubernetes host interface name configurable.
The host data inteface of a k8s node can be named differently data_interface" which can be used to specify the interface
based on the OS type(eth0/ens3/p1p1 etc). This commit exposes a knob
"k8s_node_
name of the k8s compute node in the ansible inventory file.
Example:
[contrail-compute] node_interface= ens3
10.84.31.68 kubernetes_
If kubernetes_ node_interface is not specified for a compute node, then
'eth0' is assumed to be name of the interface for that node.
The interface name, so deduced/specified, is populated in the CNI configuration
on kubernetes compute nodes and is used by contrail cni for data path stitching.
Change-Id: I45929780673d17 4130e155dd12975 a52371573d1
Partial-Bug: 1710430