Skip to content

Instantly share code, notes, and snippets.

View aneeshkp's full-sized avatar

Aneesh Puttur aneeshkp

View GitHub Profile
@aneeshkp
aneeshkp / nsd.yaml
Last active June 15, 2016 17:47 — forked from Ladas/cloud_router_vnfd.yaml
Working NSD and VNFD
tosca_definitions_version: tosca_simple_profile_for_nfv_1_0_0
description: OPNFV demo NSD
metadata:
ID: OPNFV demo # ID of this Network Service Descriptor
vendor: Red Hat Inc. # Provider or vendor of the Network Service
version: 1 # Version of the Network Service Descriptor
topology_template:
{
"AWSTemplateFormatVersion": "2010-09-09",
"Parameters" : {
"AvailabilityZoneParameter" : {
"Type" : "String",
"Default" : "us-east-1b",
"AllowedValues" : ["us-east-1a", "us-east-1b", "us-east-1c", "us-east-1d"],
"Description" : "Enter AvailabilityZone"
},
"VPCParameter" : {
@aneeshkp
aneeshkp / vcpe-nsd.yaml
Last active October 7, 2016 17:16
NSD for vCPE DEMO
tosca_definitions_version: tosca_simple_profile_for_nfv_1_0_0
description: VCPE demo NSD
metadata:
ID: VCPE demo # ID of this Network Service Descriptor
vendor: Red Hat Inc. # Provider or vendor of the Network Service
version: 1 # Version of the Network Service Descriptor
topology_template:
tosca_definitions_version: tosca_simple_profile_for_nfv_1_0_0
description: VCPE-Demo
# NOT USED
#imports:
# - tacker_nfv_defs.yaml
# - tacker_defs.yaml
metadata:
tosca_definitions_version: tosca_simple_profile_for_nfv_1_0_0
description: VCPE-Demo
# NOT USED
#imports:
# - tacker_nfv_defs.yaml
# - tacker_defs.yaml
metadata:
tosca_definitions_version: tosca_simple_profile_for_nfv_1_0_0
description: VCPE-Demo
# NOT USED
#imports:
# - tacker_nfv_defs.yaml
# - tacker_defs.yaml
metadata:
@aneeshkp
aneeshkp / kafka-installer.sh
Last active March 21, 2017 17:07
OSP 11 kafka installer
librdkafka/examples/rdkafka_performance -C -t FAILURE_EVENT_3 -o end -p=3 -b 10.19.110.7:9092,10.19.110.9:9092,10.19.110.11:9092 -u -l > consumer_final.txt 2>&1
# producer
librdkafka/examples/rdkafka_performance -P -t FAILURE_EVENT_3 -p=3 -M -b 10.19.110.7:9092,10.19.110.9:9092,10.19.110.11:9092 -u -l -m "PRODUCER SENDING MESSAGE" -s 64 > producer_final.txt 2>&1
@aneeshkp
aneeshkp / ZooKeeper properties
Last active April 11, 2017 17:54
kafka server.proeprties
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The ASF licenses this file to You 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
#
# Unless required by applicable law or agreed to in writing, software
@aneeshkp
aneeshkp / installer.txt
Created August 18, 2017 17:12
DMA-SA AMQP1.0 collectd to Rx installer
###########################
#install Collectd
###########################
$ git clone https://github.com/ajssmith/collectd.git
$ cd collectd/
[collectd]$ git checkout amqp1_dev_branch
[collectd]$./build.sh
[collectd]$./configure
#Check out put to confirm amqp1 modules is available
Tuesday 10 October 2017 09:49:19 -0400 (0:00:00.681) 0:29:04.277 *******
fatal: [undercloud]: FAILED! => {
"changed": false,
"failed": true,
"invocation": {
"module_args": {
"msg": [
"### controller-token FAILED ###",
"Task 'Check if token value is disabled.' failed:",
"Host: localhost",