Closed ishidawataru closed 2 years ago
Hi @ishidawataru I am unable to find the south-netlink yaml file in goldstone-buildimage, so how exactly south-netlink pod is instantiated or is it run only for specific platforms ?
@ksandeep-palc The module is not integrated into the goldstone-buildimage
yet. Do you have any use case for it?
Thanks @ishidawataru for the response. As management interface IP configuration is moved to south-netlink, in the absence of south-netlink pod, support for mgmt interface IP addr config is not there anymore.
@ksandeep-palc Yes, you're right. Operators must use the Linux commands to configure the mgmt interfaces at this moment. south-netlink
lacks many features frequently used by operators (e.g. DHCP configuration).
Once south-netlink
has a decent number of features, we can enable it within Goldstone.
This PR introduces
south-netlink
which takes overgoldstone-mgmt-interfaces.yang
handling fromsouth-system
. Thegoldstone-mgmt-interfaces.yang
is also overhauled to match withgoldstone-interfaces.yang
.With this change,
south-netlink
can support bothgoldstone-mgmt-interfaces.yang
andgoldstone-interfaces.yang
seemlessly.On the platforms where
south-sonic
orsouth-gearbox
is used (those daemon handlesgoldstone-interfaces.yang
),south-netlink
will handlegoldstone-mgmt-interfaces.yang
to support management interface configuration.However, in a virtual environment ( e.g., normal Linux server ) or on DentOS,
south-netlink
can be used to handlegoldstone-interfaces.yang
.CLI code is also updated by this commit. Because the internal structure of
goldstone-interfaces.yang
andgoldstone-mgmt-interfaces.yang
became identical, we could reuse the objects for theinterface
command for themanagement-interface
command.