This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"fmt" | |
"io/ioutil" | |
"math/rand" | |
"os" | |
"strings" | |
) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python | |
# -*- coding: utf-8 -*- | |
# pylint: disable=too-many-lines | |
""" | |
Custom filters for use in openshift-ansible | |
""" | |
import os | |
import pdb | |
import random | |
import re |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[OSEv3:children] | |
masters | |
etcd | |
apps | |
infras | |
[OSEv3:vars] | |
deployment_type=openshift-enterprise | |
ansible_ssh_user=root | |
openshift_additional_repos=[{'id': 'ose-devel', 'name': 'ose-devel', 'baseurl': 'http://download.eng.bos.redhat.com/rcm-guest/puddles/RHAOS/AtomicOpenShift/3.8/latest/x86_64/os/', 'enabled': 1, 'gpgcheck': 0},{'id': 'ose-devel2', 'name': 'ose-devel2', 'baseurl': 'http://download.eng.bos.redhat.com/rcm-guest/puddles/RHAOS/AtomicOpenShift/3.9/latest/x86_64/os/', 'enabled': 1, 'gpgcheck': 0}] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
frontend main *:80 | |
default_backend router80 | |
backend router80 | |
balance source | |
mode tcp | |
server infra-0.vcenter.e2e.bos.redhat.com infra-0.vcenter.e2e.bos.redhat.com:80 check | |
frontend main *:443 | |
default_backend router443 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
frontend main *:80 | |
default_backend router80 | |
backend router80 | |
balance source | |
mode tcp | |
server infra-0.vcenter.e2e.bos.redhat.com infra-0.vcenter.e2e.bos.redhat.com:80 check | |
frontend main *:443 | |
default_backend router443 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
frontend main *:80 | |
default_backend router80 | |
backend router80 | |
balance source | |
mode tcp | |
server infra-0.vcenter.e2e.bos.redhat.com infra-0.vcenter.e2e.bos.redhat.com:80 check | |
frontend main *:443 | |
default_backend router443 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[root@infra-0 ~]# curl -kv 10.129.1.4:5000 | |
* About to connect() to 10.129.1.4 port 5000 (#0) | |
* Trying 10.129.1.4... | |
* Connected to 10.129.1.4 (10.129.1.4) port 5000 (#0) | |
> GET / HTTP/1.1 | |
> User-Agent: curl/7.29.0 | |
> Host: 10.129.1.4:5000 | |
> Accept: */* | |
> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[root@master-0 ~]# curl -kv 10.129.1.4:5000 | |
* About to connect() to 10.129.1.4 port 5000 (#0) | |
* Trying 10.129.1.4... | |
* No route to host | |
* Failed connect to 10.129.1.4:5000; No route to host | |
* Closing connection 0 | |
curl: (7) Failed connect to 10.129.1.4:5000; No route to host | |
[root@master-0 ~]# ovs-ofctl -O openflow13 dump-flows br0 | |
OFPST_FLOW reply (OF1.3) (xid=0x2): | |
cookie=0x0, duration=385.438s, table=0, n_packets=0, n_bytes=0, priority=250,ip,in_port=2,nw_dst=224.0.0.0/4 actions=drop |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Network] | |
public-network = "{{ vm_network }}" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[root@app-0 ~]# ovs-ofctl -O openflow13 dump-flows br0 | |
OFPST_FLOW reply (OF1.3) (xid=0x2): | |
cookie=0x0, duration=240384.006s, table=0, n_packets=0, n_bytes=0, priority=250,ip,in_port=2,nw_dst=224.0.0.0/4 actions=drop | |
cookie=0x0, duration=240384.041s, table=0, n_packets=12460, n_bytes=523320, priority=200,arp,in_port=1,arp_spa=172.16.0.0/16,arp_tpa=172.16.0.0/23 actions=move:NXM_NX_TUN_ID[0..31]->NXM_NX_REG0[],goto_table:10 | |
cookie=0x0, duration=240384.037s, table=0, n_packets=198323, n_bytes=13443986, priority=200,ip,in_port=1,nw_src=172.16.0.0/16 actions=move:NXM_NX_TUN_ID[0..31]->NXM_NX_REG0[],goto_table:10 | |
cookie=0x0, duration=240384.033s, table=0, n_packets=0, n_bytes=0, priority=200,ip,in_port=1,nw_dst=172.16.0.0/16 actions=move:NXM_NX_TUN_ID[0..31]->NXM_NX_REG0[],goto_table:10 | |
cookie=0x0, duration=240383.994s, table=0, n_packets=91, n_bytes=3822, priority=200,arp,in_port=2,arp_spa=172.16.0.1,arp_tpa=172.16.0.0/16 actions=goto_table:30 | |
cookie=0x0, duration=240383.990s, table=0, n_packets=704850, n_by |