Skip to content

Provision a Physical Appliance #207

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
YamazakiYasuhiro opened this issue Nov 7, 2017 · 0 comments
Open

Provision a Physical Appliance #207

YamazakiYasuhiro opened this issue Nov 7, 2017 · 0 comments

Comments

@YamazakiYasuhiro
Copy link
Member

To ease handling many physical appliances

  1. A template like the following defines a physical appliance (eg. Juniper SSG 5) on a switch appliance like a Liquid Metal.
% cat ./ssg5_config.json
{
  "title": "Juniper SSG 5",
  "template": {
    "type": "physical/appliance",
    "nics": {
      # mapping nics on SSG5 to switch ethers
      "eth0/0": "eth0",
      "eth0/1", "eth1",
      ...(snip)...
      "eth0/7", "eth7"
    }
  }
}
  1. The appliance is registered as a group named "juniper/ssg5".
% openvdc register ./ssg5_config.json --group "juniper/ssg5"
  1. The following command sequence will provision the resource and return the resource to reuse.
% openvdc run juniper/ssg5
abdcefg12345678

% openvdc ssh abdcefg12345678
Could not support a ssh connection.

% openvdc console abdcefg12345678
Could not support a serial console connection.

% openvdc destroy abdcefg12345678

If administrator want to append a same kind of resource, edit the configuration file and register it using a same group name on the switch appliance which is connected the target resource.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants