Skip to content

Inconsistent name for network interface speed. #30

Description

@tscalf

The naming convention for network interface speed is inconsistent.

Command line argument: --network-interface-speed
JSON Content: "nic"

Example to create a Virtual Host with 1Gbps network ( examples extended from examples/server.md):

Command line: knife softlayer server create --image-id 23f7f05f-3657-4330-8772-329ed2e816bc --assign-global-ip 108.168.254.41 --ssh-keys 12345 23456 --hostname web --domain ibm.com --flavor m1.tiny --run-list 'recipe[redis],recipe[rbenv],recipe[apt]' -i /Users/user/.ssh/my_private_key_rsa --network-interface-speed 10000

JSON File:

{
  "hostname": "web",
  "domain": "ibm.com",
  "flavor": "m1.xlarge",
  "run-list": "recipe[redis],recipe[rbenv],recipe[apt]",
  "ssh-keys": "73148",
  "nic": "1000",
  "identity-file": "/Users/user/.ssh/my_softlayer_key_rsa",
  "image-id": "23f7f05f-3657-4330-8772-329ed2e816bc"
}

From lib/chef/knife/softlayer_server_create.rb

      option :nic,
        :long => '--network-interface-speed VALUE',
        :short => '-n VALUE',
        :description => 'The maximum speed of the public NIC available to the instance.',
        :default => 10

This either needs additional documentation for the parameter difference or pick a consistent name for both.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions