This file contains 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
{- | |
chord: Showing Diatonic Chords Tool | |
Description | |
Chord is very simple haskell program which shows diatonic chords | |
from given key. | |
Requirements: | |
The following program/library are required. | |
- Haskell (hugs are tested but ghc also works) |
This file contains 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
pip install ryu | |
pip install six --upgrade |
This file contains 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/env bash | |
CONFIG=${CONFIG:-'/var/opt/opnfv'} | |
RESOURCES=${RESOURCES:-"$CONFIG/images"} | |
LIB=${LIB:-"$CONFIG/lib"} | |
#VALID_CMDS="undercloud overcloud opendaylight debug-stack mock-detached -h --help" | |
VALID_CMDS="getdpid getflow -h --help" | |
source $LIB/utility-functions.sh |
This file contains 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
#!/bin/bash | |
export KUBECONFIG=$(readlink -f auth/kubeconfig) | |
master=$(oc get -o json node | jq '.items| map(select( .metadata.labels["node-role.kubernetes.io/master"] == "" )) | .[0].status.addresses | map(select( .["type"] == "InternalDNS")) | .[0]."address"' -r) | |
master_extdns=$(oc get -o json node $master | jq ' .status.addresses | map(select( .["type"] == "ExternalDNS")) | .[0]."address"' -r) | |
scp -q -i ~/.ssh/libra.pem -o ProxyCommand="ssh -q -A -i ~/.ssh/libra.pem -W %h:%p core@${master_extdns}" -r core@${master}:~/data . |
This file contains 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
--- | |
apiVersion: apiextensions.k8s.io/v1beta1 | |
kind: CustomResourceDefinition | |
metadata: | |
name: network-attachment-definitions.k8s.cni.cncf.io | |
spec: | |
group: k8s.cni.cncf.io | |
version: v1 | |
scope: Namespaced | |
names: |
This file contains 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
#only available with crio/podman (not docker runtime) | |
--- | |
apiVersion: "k8s.cni.cncf.io/v1" | |
kind: NetworkAttachmentDefinition | |
metadata: | |
name: flannel-cluster | |
namespace: kube-system | |
spec: | |
config: ' | |
{ |
This file contains 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
# Initial Config (without cni-route-override) | |
[tohayash@tohayash-lab ~]$ cat /etc/cni/net.d/87-podman-bridge.conflist | |
{ | |
"cniVersion": "0.3.1", | |
"name": "podman", | |
"plugins": [ | |
{ | |
"type": "bridge", | |
"bridge": "cni0", | |
"isGateway": true, |
This file contains 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/env bash | |
# Copyright 2014 The Kubernetes Authors. | |
# | |
# Licensed under the Apache License, Version 2.0 (the "License"); | |
# you may not use this file except in compliance with the License. | |
# You may obtain a copy of the License at | |
# | |
# http://www.apache.org/licenses/LICENSE-2.0 | |
# |
This file contains 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
diff --git a/pkg/controller/endpoint/endpoints_controller.go b/pkg/controller/endpoint/endpoints_controller.go | |
index 6df6565..357dc1c 100644 | |
--- a/pkg/controller/endpoint/endpoints_controller.go | |
+++ b/pkg/controller/endpoint/endpoints_controller.go | |
@@ -17,6 +17,7 @@ limitations under the License. | |
package endpoint | |
import ( | |
+ "encoding/json" | |
"fmt" |
This file contains 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@tomo-centos ~]# iptables-save | |
# Generated by iptables-save v1.4.21 on Tue Dec 10 07:44:03 2019 | |
*filter | |
:INPUT ACCEPT [0:0] | |
:FORWARD ACCEPT [0:0] | |
:OUTPUT ACCEPT [0:0] | |
:MULTUS-EXTERNAL-SERVICES - [0:0] | |
:MULTUS-FIREWALL - [0:0] | |
:MULTUS-FORWARD - [0:0] | |
:MULTUS-SERVICES - [0:0] |
OlderNewer