calculate subnet/netmask from cidr
[yaml_builds.git] / site / hpgen10 / networks / common-addresses.yaml
1 ---
2 ##############################################################################
3 # Copyright (c) 2018 AT&T Intellectual Property. All rights reserved.        #
4 #                                                                            #
5 # Licensed under the Apache License, Version 2.0 (the "License"); you may    #
6 # not use this file except in compliance with the License.                   #
7 #                                                                            #
8 # You may obtain a copy of the License at                                    #
9 #       http://www.apache.org/licenses/LICENSE-2.0                           #
10 #                                                                            #
11 # Unless required by applicable law or agreed to in writing, software        #
12 # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT  #
13 # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.           #
14 # See the License for the specific language governing permissions and        #
15 # limitations under the License.                                             #
16 ##############################################################################
17
18 schema: pegleg/CommonAddresses/v1
19 metadata:
20   schema: metadata/Document/v1
21   name: common-addresses
22   layeringDefinition:
23     abstract: false
24     layer: site
25   storagePolicy: cleartext
26 data:
27   calico:
28     ip_autodetection_method: interface=bond0.44
29     etcd:
30       service_ip: 10.96.232.136
31
32   dns:
33     cluster_domain: cluster.local
34     service_ip: 10.96.0.10
35     upstream_servers:
36       - 192.168.2.85
37       - 8.8.8.8
38       - 8.8.8.8
39     upstream_servers_joined: '192.168.2.85,8.8.8.8'
40     ingress_domain: hpgen10.akraino.org
41   genesis:
42     hostname: aknode30
43     ip: 172.29.1.30
44
45   bootstrap:
46     ip: 172.30.1.30
47
48   kubernetes:
49     api_service_ip: 10.96.0.1
50     etcd_service_ip: 10.96.0.2
51     pod_cidr: 10.99.0.0/16
52     service_cidr: 10.96.0.0/14
53     apiserver_port: 6443
54     haproxy_port: 6553
55     service_node_port_range: 30000-32767
56
57   etcd:
58     container_port: 2379
59     haproxy_port: 2378
60
61   masters:
62     - hostname: aknode31
63     - hostname: aknode32
64
65   proxy:
66     http: ""
67     https: ""
68     no_proxy: []
69
70   node_ports:
71     drydock_api: 30000
72     maas_api: 30001
73     maas_proxy: 31800  # hardcoded in MAAS
74     shipyard_api: 30003
75     airflow_web: 30004
76
77   ntp:
78     servers_joined: '0.ubuntu.pool.ntp.org,1.ubuntu.pool.ntp.org,2.ubuntu.pool.ntp.org'
79
80   # Used for FQDN setup/definition
81   domain:
82     url: hpgen10.lab.akraino.org
83
84   ldap:
85     base_url: 'its-a-ldap.example.com'
86     url: 'ldap://its-a-ldap.example.com'
87     auth_path: DC=test,DC=test,DC=com?sAMAccountName?sub?memberof=CN=test,OU=Application,OU=Groups,DC=test,DC=test,DC=com
88     common_name: AP-NC_Test_Users
89     subdomain: testitservices
90     domain: example
91
92   storage:
93     ceph:
94       public_cidr: '172.31.1.0/24'
95       cluster_cidr: '172.31.1.0/24'
96
97   neutron:
98     tunnel_device: 'bond0.45'
99     external_iface: 'bond0'
100
101   openvswitch:
102     external_iface: 'bond0'
103 ...