Skip to content
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

vagrant setup #7

Closed
dkalog opened this issue Jan 19, 2018 · 3 comments
Closed

vagrant setup #7

dkalog opened this issue Jan 19, 2018 · 3 comments

Comments

@dkalog
Copy link

dkalog commented Jan 19, 2018

Hi *,

I have picked up opx/2.2.0-dev from the vagrant store. Do you know which architecture corresponds to ? I have used the following Vagrant file

-- mode: ruby --

vi: set ft=ruby :

Vagrant.configure("2") do |config|

# Configure switch, i.e., device under test (DUT)
config.vm.define "switch" do |switch|
    switch.vm.box = "opx/2.2.0-dev"

    switch.vm.network "private_network", ip: "172.16.0.10", netmask: "255.255.255.0", virtualbox__intnet: "gen-sw"
    switch.vm.network "private_network", ip: "172.16.0.11", netmask: "255.255.255.0", virtualbox__intnet: "sw-rcv"
    switch.vm.network "private_network", ip: "192.168.50.4"

    switch.vm.provider "virtualbox" do |virtualbox|
        # Customize the amount of memory on the VM:
        virtualbox.memory = "1024"
        virtualbox.cpus = "1"
        # Enable promiscuous mode
        virtualbox.customize ["modifyvm", :id, "--nicpromisc2", "allow-all"]
        virtualbox.customize ["modifyvm", :id, "--nicpromisc3", "allow-all"]
    end

end

which successfully executes boots up. This VM is not a S 6000 emulated switch though.
How can I find to which architecture corresponds to ?
What are the HW framework of the VMs in the vagrant store ?

Cheers,
Dimitris

@jghalam
Copy link

jghalam commented Jan 19, 2018 via email

@jeff-yin
Copy link
Member

@dkalog do you need more assistance with this?
To add to the above message, make sure you run opx-* commands as sudo/root, otherwise you will get those "Failed to get D-Bus connection" errors.

@jeff-yin
Copy link
Member

jeff-yin commented Mar 2, 2018

I'm going to close the issue for now, please feel free to reopen if you still have questions surrounding this.

@jeff-yin jeff-yin closed this as completed Mar 2, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants