apiVersion: v1
kind: Namespace
metadata:
creationTimestamp: null
name: openshift-cnv
spec: {}
status: {}
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
| # First we have to use the library to generate data sets. NOTE: it's all based on the default examples. | |
| root@4bf328b1096a:/app# python examples/generate_data.py -n 2 -d nursery -pp 200 | |
| Using TensorFlow backend. | |
| Finished! :) Data saved in examples/data/nursery/random | |
| # Once data is generated, we need the config files (YAML) for aggregator and N number of parties | |
| root@4bf328b1096a:/app# python examples/generate_configs.py -n 2 -f id3_dt -d nursery -p examples/data/nursery/random/ | |
| Using TensorFlow backend. |
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
| SCTP] sctp_bindx SCTP_BINDX_ADD_ADDR socket bound to : 10.128.0.41 | |
| [SCTP] Converted ipv4 address 10.130.0.26 to network type | |
| [SCTP] connectx assoc_id 5 in progress..., used 1 addresses | |
| [SCTP] Inserted new descriptor for sd 66 in list, nb elements 1, assoc_id 5 | |
| [LIBCONFIG] loader.coding: 2/2 parameters successfully set, (1 to default value) |
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
| %global srcname keylime | |
| %define name keylime | |
| %define version 5.0.0 | |
| %define unmangled_version 5.0.0 | |
| %define release 5 | |
| Name: %{name} | |
| Version: %{version} | |
| Release: %{release} | |
| Summary: Open source TPM software for Bootstrapping and Maintaining Trust |
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
| echo "Disabling Cluster Version Operator" | |
| kubectl scale deployment cluster-version-operator -n openshift-cluster-version --replicas=0 | |
| echo "Deleting machinesets and machines..." | |
| MACHINESET=$(kubectl get machineset -n openshift-machine-api | grep worker | awk '{print $1}') | |
| kubectl delete machineset $MACHINESET -n openshift-machine-api | |
| MASTER=$(kubectl get machine -n openshift-machine-api | grep master | awk '{print $1}') | |
| kubectl delete machine $MASTER -n openshift-machine-api & |
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
| Junos01 | |
| ----------------- | |
| show configuration | |
| em1 { | |
| unit 0 { | |
| family inet { | |
| address 169.254.0.2/24; | |
| address 193.168.30.150/24; | |
| } | |
| family mpls; |
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
| ovsdb-tool create /etc/openvswitch/vswitch.db /usr/share/openvswitch/vswitch.ovsschema | |
| ovsdb-tool create /etc/openvswitch/vswitch2.db /usr/share/openvswitch/vswitch.ovsschema | |
| ovsdb-tool create /etc/openvswitch/vtep.db /usr/share/openvswitch/vtep.ovsschema | |
| ovsdb-tool create /etc/openvswitch/vtep2.db /usr/share/openvswitch/vtep.ovsschema | |
| /var/run/openvswitch/ovsdb-server.pid | |
| /var/run/openvswitch/ovsdb-server2.pid |
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
| --- | |
| global_params: | |
| ha_enabled: false | |
| patches: | |
| overcloud: | |
| - change-id: I095258b442fd91c53a0d6c655aead1a3ffe73483 | |
| project: openstack/puppet-tripleo | |
| branch: master | |
| deploy_options: |
The most recent release from the LTS series: http://openvswitch.org/releases/openvswitch-2.5.4.tar.gz
Instructions:
As the root user let’s install some packages:
yum -y install wget openssl-devel gcc make python-devel openssl-devel kernel-devel graphviz kernel-debug-devel autoconf automake rpm-build redhat-rpm-config libtool python-twisted-core python-zope-interface PyQt4 desktop-file-utils libcap-ng-devel groff checkpolicy selinux-policy-devel
Add a new user and switch to that user:
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
| rm -rf /var/run/openvswitch | |
| mkdir /var/run/openvswitch | |
| rm -rf /etc/openvswitch | |
| mkdir -p /etc/openvswitch | |
| ovsdb-tool create /etc/openvswitch/vswitch.db /usr/share/openvswitch/vswitch.ovsschema | |
| ovsdb-tool create /etc/openvswitch/vtep.db /usr/share/openvswitch/vtep.ovsschema | |
| ovsdb-server --pidfile --detach --log-file --remote ptcp:6632:192.168.0.13 --remote punix:/var/run/openvswitch/db.sock --remote=db:hardware_vtep,Global,managers /etc/openvswitch/vswitch.db /etc/openvswitch/vtep.db | |
| ovs-vswitchd --log-file --detach --pidfile unix:/var/run/openvswitch/db.sock |