This page will show info about a vFW instance running in a KUD cloud. Then examples of what the AAI vserver information should look like.
Table of Contents |
---|
POD Information
The vFW Pods are:
...
The vFW Services are
Code Block | collapse | true
---|
# kubectl get services -o wide NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE SELECTOR packetgen-service NodePort 10.233.29.245 <none> 2831:30831/TCP 100m app=packetgen,release=profile1 sink-service NodePort 10.233.16.112 <none> 667:30667/TCP 100m app=sink,release=profile1 |
...
Deployments for the vFW are:
Code Block | collapse | true
---|
# kubectl get deployments -o wide NAME DESIRED CURRENT UP-TO-DATE AVAILABLE AGE CONTAINERS IMAGES SELECTOR profile1-firewall 1 1 1 1 100m firewall virtlet.cloud/ubuntu/16.04:latest app=firewall,release=profile1 profile1-packetgen 1 1 1 1 100m packetgen virtlet.cloud/ubuntu/16.04:latest app=packetgen,release=profile1 profile1-sink 1 1 1 1 100m sink,darkstat rtsood/onap-vfw-demo-sink:0.2.0,electrocucaracha/darkstat:latest app=sink,release=profile1 |
...
Code Block | ||
---|---|---|
| ||
# kubectl get deployment profile1-sink -o yaml apiVersion: extensions/v1beta1 kind: Deployment metadata: annotations: deployment.kubernetes.io/revision: "1" creationTimestamp: 2019-09-04T17:36:02Z generation: 1 labels: app: sink chart: sink release: profile1 name: profile1-sink namespace: default resourceVersion: "9973879" selfLink: /apis/extensions/v1beta1/namespaces/default/deployments/profile1-sink uid: 773dc940-cf3a-11e9-bbfb-fa163efecba4 spec: progressDeadlineSeconds: 600 replicas: 1 revisionHistoryLimit: 10 selector: matchLabels: app: sink release: profile1 strategy: rollingUpdate: maxSurge: 25% maxUnavailable: 25% type: RollingUpdate template: metadata: annotations: k8s.v1.cni.cncf.io/networks: '[{"name": "ovn-networkobj", "namespace": "default"}]' ovnNetwork: '[ { "name": "protected-private-net", "ipAddress": "192.168.20.3", "interface": "eth1", "defaultGateway": "false" }, { "name": "onap-private-net", "ipAddress": "10.10.100.4", "interface": "eth2" , "defaultGateway": "false"} ]' creationTimestamp: null labels: app: sink release: profile1 spec: containers: - envFrom: - configMapRef: name: sink-configmap image: rtsood/onap-vfw-demo-sink:0.2.0 imagePullPolicy: IfNotPresent name: sink resources: {} securityContext: privileged: true procMount: Default stdin: true terminationMessagePath: /dev/termination-log terminationMessagePolicy: File tty: true - image: electrocucaracha/darkstat:latest imagePullPolicy: IfNotPresent name: darkstat ports: - containerPort: 667 protocol: TCP resources: {} stdin: true terminationMessagePath: /dev/termination-log terminationMessagePolicy: File tty: true dnsPolicy: ClusterFirst restartPolicy: Always schedulerName: default-scheduler securityContext: {} terminationGracePeriodSeconds: 30 status: availableReplicas: 1 conditions: - lastTransitionTime: 2019-09-04T17:36:10Z lastUpdateTime: 2019-09-04T17:36:10Z message: Deployment has minimum availability. reason: MinimumReplicasAvailable status: "True" type: Available - lastTransitionTime: 2019-09-04T17:36:02Z lastUpdateTime: 2019-09-04T17:36:10Z message: ReplicaSet "profile1-sink-d76f67b9f" has successfully progressed. reason: NewReplicaSetAvailable status: "True" type: Progressing observedGeneration: 1 readyReplicas: 1 replicas: 1 updatedReplicas: 1 |
AAI Mapping Examples
TBD
Packet Generator
Code Block | ||
---|---|---|
| ||
...