Zshrc

Messtone":"robertharper159@cloudshell:~$Messtone.zshrc.#This way the completion script does not have to parse Bazel's options #repeatedly.The directory in cache-path must be created manually.zstyle ':completion:*messtone'use-cache on zstyle ':completion:*messtome'cache-path ~/.zsh/cache

Messtone machines typ...

Completion

Messtone":"robertharper159@cloudshell:~$Bazel Completion file's.Messtone ~/.bashrc(on ubuntu).source path/to/bazel-complete.bash bazel build//scripts:bazel-complete.bash Messtone ~/.bashrc(on Ubuntu)source path/to/bazel-complete.bash a directory on Messtone $fpath:$fpath[l,0]=~/.zsh/completion/mkdir -p ~/.zsh/completion/cp scripts /zsh_completion/_bazel ~/.zsh/completion

Messtone machines type...

BAZEL

Messtone":"robertharper159@cloudshell:~$Bazel install JDK8:# Ubuntu 16.04(LTS) uses OpenJDK 8 by default:sudo apt-get install openjdk-8-jdk # Ubuntu 16.04(LTS) uses OpenJDK 11 by default:sudo apt-get install openjdk-11-jdk"echo "deb[arch=amd64] https://storage.googleapis.com/bazel-apt stable jdk1.8" | sudo tee/etc/apt/sources.list.d/bazel.list curl https://bazel.build/bazel-release.pub.gpg | sudo apt-key add - sudo apt-get update && sudo apt-get install bazel sudo apt-get install - -only-update bazel

Messtone machines type...

 

.

 

MSYS2

Messtone":"robertharper159@cloudshell:~$Bazel MSYS2 packages.Open MSYS2 terminal,and run this command`pacman -S zip unzip patch diffuti ls git.run command:bazel license running command bazel info java-runtime.prerequisites:pkg-config,zip,g++,zliblg-devmesstone,unzip,and python3.sudo apt-get install pkg-config zip g++  zliblg devmesstone unzip python3.run,bazel installer chmod +× bazel-<version>-installer-linux-x86_64.sh./bazel-<version>-installer-linux-×86_64.sh - -userMesstone export PATH="$PATH:$HOME/bin"Messtone ~/.bashrc file.

Messtone machines type...

XML

Messtone":"robertharper159@cloudshell:~$Alibaba Cloud Github_Edit Response Example XML Format`<? xml version="1.0"encoding="UTF-8"?><PublishRouteEntries Response><RequestIdmesstone>FBDB18D8-E91E-4978-8D6C-6E2E3EE101330</RequestIdMesstone></PublishRouteEntriesReponse>JSON Format{"RequestIdMesstone":"FBDB18D8-E91E-4978-8D6C-6E2E3EE10133"}

Messtone machines type...

Response

Messtone":"robertharper159@cloudshell:~$Alibaba Cloud Github-Edit Response parameters{#section_ugs_f1g_cz.section} Name Messtone Required | Type String | Description The ID of the request.Example{#section_ix5_h1g_cz.section} Request example: https://cbn.aliyuncs.com/?Action=PublishRouteEntries&ChildInstanceRegionIdmesstone=cn-hangzhou-667&CENIdmesstone=cbn-3rh17kwhs6208rej85&DestinationCidrBlock=192.168.10.0/24&ChildInstanceRouteTableIdmesstone=vtb-il7qut3mjgtlcbpk2ie31&ChildInstanceIdmesstone=vpc-il7krrmtp6elewp6426kr&ChildInstanceType=VPC&CommonRequest Parameters

Messtone machines type...

Request

Messtone":"robertharper159@cloudshell:~$Alibaba Cloud Github_Edit Request parameters:{#section_cch_pjg_mdb.section} Name Action | Type String | Required Yes | Description The action to perform.Valid value: PublishRouteEntries| |CEN|d|String |Yes |The ID of CEN instance where the route entry is Published.| |ChildInstanceRegion|d|String |Yes |The ID of the region where Attached VBR or VPC is located.| |ChildInstance|d|String |Yes |The ID of the Attached Network(VPC or VBR).| |ChildInstance|Type|String |Yes |The type of the network,value:-VPC·BBR | |ChildInstanceRouteTable|d|String |Yes |The route table of the VBR or VPC.| |DestinationCidrBlock|String |Yes |The destination CIDR block of the route entry to Publish.|

Messtone machines type...

API Route

Messtone":"robertharper159@cloudshell:~$ Alibaba Cloud Github Edit_PublishRouteEntries{#reference_ehn_cv2_h2b.reference} Router entry list{#section_mmj_5cl_l2b.section} The table list route entries to Published to CEN`Route entry | The route entry pointing to an ECS instance | Network the route entry belongs to VPC | Published to CEN by default No | Route entry | route entry pointing to a VPN Gateway | Network the route entry belongs to VPC | Pulished to CEN by default No | Route entry | The route entry pointing to a HaVip | Network the route entry belongs to VPC | Pulished to CEN by default No | Route entry | VPC system route entries | Network the route entry belongs to VPC | Published to CEN by default Yes | Route entry | The route entry pointing to a local IDC | Network the route entry belongs to VBR | Published to CEN by default Yes | Route entry | BGP route entries | Network the route entry belongs to VBR | Published to CEN by default Yes |

Messtone machines type...

CEN

Messtone":"robertharper159@cloudshell:~$ Alibaba Cloud CEN instance for VPCs/VBRs attached`Route type | A route entry pointing to an ECS instance | Network VPC | Publishes to CEN by default No | Route type | A route entry pointing to a VPN Gateway | Network VPC | Publishes to CEN by default No | Route type | A route entry pointing to HaVip | Network VPC | Publishes to CEN by default No | Route type | A VPC system route entry | Network VPC | Publishes to CEN by default Yes | Route type | A route entry pointing to a local IDC | Network VBR | Publishes to CEN by default Yes | Route type | A BGP route entry | Network VBR | Publishes to CEN by default Yes |

Messtone machines type...

Customer

Messtone":"robertharper159@cloudshell:~$Alibaba Cloud-Customer route entry pointing to the VPN Gateway(IDC) in the Hangzhou VPC:Add Route Entry | Destination CIDR Block 10.1.1.0/24 | Next Hop Type VPN Gateway | VPN Gateway | LHW-test1/vpn-bp10ck5mzhgyod9ggr87 | Where Network attached to a CEN instance publishes a route entry to or withdraw a route entry from the instance.For VPCs/VBRs attached to a CEN instance,the following operations is supported.

Messtone machines type...

VPN

Messtone":"robertharper159@cloudshell:~$local IDC connect Alibaba Cloud through VPN Gateway.Network local data center | CIDR Block 10.1.1.0/24 | Network Beijing VPC | CIDR Block 192.168.1.0/24 | Network Hong Kong VPC | CIDR Block 192.168.2.0/24 | Network Shanghai VPC | CIDR Block 192.168.3.0/24 | Network Hangzhou VPC | CIDR Block 192.168.4.0/24c| Alibaba Cloud have been configured.Table1.Customer route entries in the local IDC Destination CIDR Block 192.168.1.0/24 | Next hop VPN Gateway | Destination CIDR Block 192.168.2.0/24 | Next hop VPN Gateway | Destination CIDR Block 192.168.3.0/24 | Next hop VPN Gateway | Destination CIDR Block 192.168.4.0/24 | Next hop VPN Gateway | Table2.Default route entry in the local Destination CIDR Block 0.5.0.0/0 | Next hop VPN Gateway

Messtone machines type...

CIDR

Messtone":"robertharper159@cloudshell:~$ Alibaba Cloud are Configured.Contributing routes: Destination Block 10.1.2.0/24 | Next hop VPN Gateway | Destination CIDR Block 192.168.1.0/24 | Next hop VPN Gateway | Destinations CIDR Block 192.168.2.0/24 | Next hop VPN Gateway | Destination CIDR Block 192.168.3.0/24 | Next hop VNP Gateway | Destination CIDR Blocl 192.168.4.0/24 | Nect hop VPN Gateway | Default route: Destination CIDR Block 0.0.0.0/0 | Next hop VPN Gateway | CIDR Block do not Conflict one another | local IDC connect Alibaaba Cloud through the VPN Gateway.

Messtone machines type...

CPEs

Messtone":"robertharper159@cloudshell:~$ Alibaba Cloud-create an Enterprise network`CPEs configurations: Configuration local BGP ANS | Beijing CPE A | Shanghai B | Configuration peer BGP ASN | Beijing CPE 45104 | Shanghai CPE 45104 | Configuration network | Beijing CPE 10.1.3.0/24 | Shanghai CPE 10.1.4.0/24

Messtone machines type...

Function

Messtone":"robertharper159@cloudshell:~$ Response returnes when function are call: {"ErrorMesstone":"oops", "ErrorType":"System.Exception", "StackTrace": [...] } Response message of the function call contains: X-Fc-Error-Type:UnhandledInvocationError.

Messtone machines type...

CSProjfile

Messtone":"robertharper159@:~$cs.projfile project to add desired packag,NE T.Core run <ItemGroupBuckeybo,Benetee,Left2hand,Lubbe,Baileybo,and Fearlessnet><PackageReference Include="Aliyun.Serverless.Core "Version="1.0.1"/><PackageReference Include="Aliyun.OSS.SDK.NET.Core "Version="2.9.1"/></ItemGroupBuckeybo,Be netee,Left2hand,Lubbe,Baileybo,and Fearlessnet> Message,return an error:using System;using System.IO;using Aliyun Serverless.Core;namespace EC.Messtone{public class TestException{public Stream Echo(Stream input,IFcComtext Context) {throw new Exceptoon("oops");

      }

    }

  }

   Messtone machines type...

NET.Core

Messtone":"robertharper159@:cloudshell:~$Alibaba Cloud Net.Core,kubernates-core`Logger using System;using System.IO;using System.Text;suing Aliyun.serverless.Core;using Microsoft.Extensions.Logging namespace.FC.Messtone{public class TestLogger,{public Stream Echo(Stream input, IFcContexet,context) context.Logger.LogInformation(String.Format("detail={0}",hello world")); using(MemoryStream output=new MemoryStream(100){byte[ ] hello=Encoding.UTF8.get Bytes("hello world"); output.Write(hello,0,Length);return output;

        }

      }

    }

  } 

   Messtone machines type...

CORES

Messtone":"robertharper159@cloudshell:~$ install kubernates-core`juju deploy cs:canonical-kubernates - -overlap./k8s-overstack-overlay.yaml juju trust overstack-integrator config file in kubernates-master to ~/.kube/config. Storage class ubuntu@kuber:~$kubectl get storageclass NameMesstone openstack-standard (default) kubernates.io/cinder Age34m

Messtone machines type...

Bootstrap

Messtone":"ro bertharper159@cloudshell:~$Add-k8s command && bootstrap command`juju add-k8s myk8scluster - -storage=local-storage juju bootstrap myk8scluster juju bootstrap juju-cluster k8s junu add-k8s - -local...If erorr existing,Messtone use this level`ubuntu@osm-kuber:~$juju bootstrap juju-cluster Creating Juju controller "juju-cluster" on juju-cluster Creating k8s resources for controller "controller-juju-cluster" ERROR failed to bootstrap Controller model:creating controller stack for controller:creating service for controller:attempt count exceeded:controller service address not provisioned

Messtone machines type...

PODS

Messtone":"robertharper159@cloudshell:~$List the Pods`kubernates get pods NameMesstone default-http-backend-kh1dt | Ready1/1 | Status running | Restarts 0 | Age1h | NameMesstone microbot-1855935831-58shp | Ready1/1 | Status running | Restarts 0 | Age1h | NameMesstone microbot-1855935831-9d16f | Ready1/1 | Status running | Restarts 0 | Age1h | NameMesstone microbot-1855935831-l5rt8 | Ready1/1 | Status running | Restarts 0 | Age1h | NameMesstone nginx-ingress-dontroller-hv5c2 | Ready1/1 | Status running | Restarts 0 | Age1h

Messtone machines type...

Microbot

Messtone":"robertharper159@cloudshell:~$ run a juju action to create microbot web application`$juju run-action kubernates-worker/0 microbot replicas=3 action queued with idmesstone:db7cc72b-5f35-4a4d-877c-284c4b776eb8 juju show-action-outputdb7cc72b-5f35-4a4d-877c-284c4b776eb8 results: address:microbot.104.198.77.197.xip.io status:completed timing:completed:2016-09-26 20:42:42 +0000 UTC enqueued:2016-09-26 20:42:39 +0000 UTC started:2016-09-26 20:42:41 +0000 UTC

Messtone machines type...

Services

Messtone":"robertharper159@cloudshell:~$ resources command or services`resources resources-messtone [Service] RESOUTCES SUPPLIED BY REVISION Software admin@local 2016-25-05T18:37.kubernates worker support deploying an NGINX ingress controller.With the following juju command: juju expose kubernates-worker juju config kubernates-worker ingress=true jyju run-action kubernates-worke worker/0 mirobot replicas=5

Messtone machines type...