Comment 14 for bug 1710430

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : A change has been merged

Reviewed: https://review.opencontrail.org/35500
Committed: http://github.com/Juniper/contrail-ansible/commit/9e534122b0e9ee223b9ea82ae1c383fbb116bd8a
Submitter: Zuul (<email address hidden>)
Branch: R4.0

commit 9e534122b0e9ee223b9ea82ae1c383fbb116bd8a
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
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.

Example:

[contrail-compute]
10.84.31.68 kubernetes_node_interface=ens3

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: I45929780673d174130e155dd12975a52371573d1
Partial-Bug: 1710430