Skip to content
Snippets Groups Projects
Select Git revision
  • f0b255e93c11310a9dbd45e54fd31fcae2cc2eec
  • master default
  • y3
  • y2
  • y1
5 results

ir.json

Blame
  • ir.json 3.41 KiB
    {
      "output_path": "output_files_generated/nginx_openstack/",
      "steps": [
        {
          "data": {
            "computingGroup": [
              {
                "http": {
                  "cidr": [
                    "0.0.0.0/0"
                  ],
                  "fromPort": 80,
                  "kind": "INGRESS",
                  "name": "http",
                  "protocol": "tcp",
                  "toPort": 80
                },
                "https": {
                  "cidr": [
                    "0.0.0.0/0"
                  ],
                  "fromPort": 443,
                  "kind": "INGRESS",
                  "name": "https",
                  "protocol": "tcp",
                  "toPort": 443
                },
                "icmp": {
                  "cidr": [
                    "0.0.0.0/0"
                  ],
                  "fromPort": -1,
                  "kind": "EGRESS",
                  "name": "icmp",
                  "protocol": "icmp",
                  "toPort": -1
                },
                "infra_element_name": "sg",
                "ssh": {
                  "cidr": [
                    "0.0.0.0/0"
                  ],
                  "fromPort": 22,
                  "kind": "INGRESS",
                  "name": "ssh",
                  "protocol": "tcp",
                  "toPort": 22
                }
              }
            ],
            "credentials": [
              {
                "infra_element_name": "ssh_key",
                "user": "ubuntu"
              }
            ],
            "networks": [
              {
                "addressRange": "16.0.0.0/24",
                "infra_element_name": "net1",
                "name": "concrete_net",
                "protocol": "tcp/ip"
              }
            ],
            "provider": "openstack",
            "vms": [
              {
                "credentials": "ssh_key",
                "group": "sg",
                "i1": {
                  "associated": "sg",
                  "belongsTo": "net1",
                  "endPoint": "16.0.0.1",
                  "name": "i1"
                },
                "infra_element_name": "vm1",
                "name": "concrete_vm",
                "os": "Ubuntu-Focal-20.04-Daily-2022-04-19",
                "vm_flavor": "small",
                "vm_name": "nginx-host"
              }
            ]
          },
          "programming_language": "terraform"
        },
        {
          "data": {
            "nginx": {
              "name": "nginx",
              "node": {
                "credentials": "ssh_key",
                "group": "sg",
                "i1": {
                  "associated": "sg",
                  "belongsTo": "net1",
                  "endPoint": "16.0.0.1",
                  "name": "i1"
                },
                "infra_element_name": "vm1",
                "name": "concrete_vm",
                "os": "Ubuntu-Focal-20.04-Daily-2022-04-19",
                "vm_flavor": "small",
                "vm_name": "nginx-host"
              },
              "source_code": "/usr/share/nginx/html/index.html"
            }
          },
          "programming_language": "ansible",
          "step_name": "nginx"
        },
        {
          "data": {
            "piacere_monitoring": {
              "node": {
                "credentials": "ssh_key",
                "group": "sg",
                "i1": {
                  "associated": "sg",
                  "belongsTo": "net1",
                  "endPoint": "16.0.0.1",
                  "name": "i1"
                },
                "infra_element_name": "vm1",
                "name": "concrete_vm",
                "os": "Ubuntu-Focal-20.04-Daily-2022-04-19",
                "vm_flavor": "small",
                "vm_name": "nginx-host"
              }
            }
          },
          "programming_language": "ansible",
          "step_name": "piacere_monitoring"
        }
      ]
    }