Merge "Update network data format"

This commit is contained in:
Zuul 2020-03-24 15:57:45 +00:00 committed by Gerrit Code Review
commit 58ebba43f6

View File

@ -7,6 +7,7 @@ metadata:
type: Opaque
stringData:
userData: |
#cloud-config
ssh_pwauth: True
ssh_authorized_keys:
- ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC4tV63Q3HSSM4V9EInw/pq7dawz8dnAn93Ki8UMLkXIEv+Vby2d+24IddHZig3Tshyn8of5TSLOL0ysOA2Hphh26khBOzG/SGv4cyShj5QU0/Y1ONepyRmkjmi/UmYKBq1xnUSVzqwzz+GUqyMuTAO1hV5xaD80JhKH0YyOghh/N+eYE2m14D5oNDV0l2Hhxix90Lcl7GUQybV3VMsXFJ19KAJYUCQolGn9kWOV3l35FI3vBD4g11OP+1/XHS/4+qBEdK9PNr6kxd0HsYjbqi6JGh9+SB3PvCtzDlIhz9SfmjI7hjOrdJ1vuPcG1gvJSA1x5bcsLJvy91kQx7z6adH root@ubuntu-1
@ -119,20 +120,31 @@ metadata:
type: Opaque
stringData:
networkData: |
network:
version: 1
config:
- type: physical
name: ens3
subnets:
- type: static
address: 10.23.25.101/24
links:
- id: ens3
type: phy
ethernet_mac_address: 00:3b:8b:0c:ec:8b
mtu: "1500"
- id: ens4
type: phy
mtu: "1500"
networks:
- id: private-ipv4
type: ipv4
link: ens3
ip_address: 10.23.25.101
netmask: 255.255.255.0
routes:
- network: 0.0.0.0
netmask: 0.0.0.0
gateway: 10.23.25.1
dns_nameservers:
- 8.8.8.8
- 8.8.4.4
- type: physical
name: ens4
subnets:
- type: static
address: 10.23.24.101/24
- id: private-ipv4
type: ipv4
link: ens4
ip_address: 10.23.24.101
netmask: 255.255.255.0
services:
- address: 8.8.8.8
type: dns
- address: 8.8.4.4
type: dns