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

Change hostname in minigraph.xml is not working #869

Closed
okanchou9 opened this issue Aug 8, 2017 · 1 comment
Closed

Change hostname in minigraph.xml is not working #869

okanchou9 opened this issue Aug 8, 2017 · 1 comment
Assignees

Comments

@okanchou9
Copy link

Hi,

Would like to change the hostname of sonic by modifying the value of hostname in minigraph.xml and reboot to apply this modification.
But the hostname is still named "sonic" after reboot, I can only think this feature is broken.

The following link is the page that shows how to define the hostname of sonic device:

https://github.com/Azure/SONiC/wiki/Configuration-and-Minigraph

Sample format of Hostname:

switch1

Any suggestions would be helpful and let me know if any problem.

Regards,
Kenie Liu

@okanchou9 okanchou9 changed the title Change hostname in minigraph.xml is nt working Change hostname in minigraph.xml is not working Aug 8, 2017
@taoyl-ms taoyl-ms self-assigned this Aug 25, 2017
@taoyl-ms
Copy link
Contributor

Yes, change hostname through minigraph is not supported now.

I'll add support of this feature after migrating to config DB.

yxieca added a commit to yxieca/sonic-buildimage that referenced this issue Jun 4, 2019
Submodule src/sonic-utilities 6b4d1a0..46b5aa8:
  > [show ip interface] Add support for 'alias' interface naming mode (sonic-net#486)

Submodule src/sonic-swss 9c4ae18..a637562:
  > Suppress storm detect counter increment for ongoing pfc storm case during a warm reboot (sonic-net#869)
  > Remove *_LEFT fields to allow PFC watchdog to enter fresh into the (sonic-net#897)
  > Set LAG mtu value based on kernel netlink msg (sonic-net#922)
  > [warm restart assist] assume vector values could be reordered (sonic-net#921)

Signed-off-by: Ying Xie <ying.xie@microsoft.com>
yxieca added a commit that referenced this issue Jun 4, 2019
Submodule src/sonic-utilities 6b4d1a0..46b5aa8:
  > [show ip interface] Add support for 'alias' interface naming mode (#486)

Submodule src/sonic-swss 9c4ae18..a637562:
  > Suppress storm detect counter increment for ongoing pfc storm case during a warm reboot (#869)
  > Remove *_LEFT fields to allow PFC watchdog to enter fresh into the (#897)
  > Set LAG mtu value based on kernel netlink msg (#922)
  > [warm restart assist] assume vector values could be reordered (#921)

Signed-off-by: Ying Xie <ying.xie@microsoft.com>
seiferteric pushed a commit to project-arlo/sonic-buildimage that referenced this issue Oct 14, 2019
* Update src/sonic-swss from branch 'broadcom_sonic'
  to cd2a2e0504412254d4d44f5f97946921dc246cc6
  - Merge 201904 branch to broadcom_sonic branch on Mon Jul  1 13:57:57 PDT 2019
    
    Change-Id: I77bef1ba390171f204e27387bee0226ddab38971
    
  - [debian]: Do not build test when building with real SAI (sonic-net#932)
    
    
  - swss-orchagent: add new orch for vnet routes/tunnel routes tables in CONFIG_DB  (sonic-net#907)
    
    * Vnet route persistence
    
    Signed-off-by: weixi.chen@microsoft.com
    
    
  - pkill -9 zebra for frr warm restart VS test fix (sonic-net#927)
    
    Signed-off-by: Jipan Yang <jipan.yang@alibaba-inc.com>
  - [vnetorch]: Fix tunnel route removal flow for bitmap VNET (sonic-net#912)
    
    Signed-off-by: Volodymyr Samotiy <volodymyrs@mellanox.com>
  - [orchagent]: Added support of PFC WD for BFN platform (sonic-net#823)
    
    * [orchagent]: Added support of PFC WD for BFN platform
    
    Signed-off-by: Vitaliy Senchyshyn  <vsenchyshyn@barefootnetworks.com>
    
    * Fixed review comments
    
    Signed-off-by: Vitaliy Senchyshyn <vsenchyshyn@barefootnetworks.com>
    
    * Use PFC WD ACL handler for BFN platform
    
  - [aclorch] unittest by gtest (sonic-net#924)
    
    
  - [orchagent]: Remove try/catch for correct coredump file (sonic-net#790)
    
    Signed-off-by: Jipan Yang <jipan.yang@alibaba-inc.com>
    
    
  - Set LAG mtu value based on kernel netlink msg (sonic-net#922)
    
    * Update mtu value based on kernel netlink msg
    
    * Push the calculated MTU size into the fvVector
    
  - Address review comment: remove data member m_entriesCreated, which is introduced for dependancy resolution purpose. (sonic-net#839)
    
    Signed-off-by: Wenda Ni <wenni@microsoft.com>
  - [vxlanorch] Ambiguous return code for removeNextHopTunnel (sonic-net#880)
    
    Change to return false when isTunnelExists is fail
  - [vnet]: Extend Bitmap VNET test with "remove" flows (sonic-net#900)
    
    Signed-off-by: Volodymyr Samotiy <volodymyrs@mellanox.com>
  - add dynamic transceiver tuning support (sonic-net#821)
    
    
  - Remove *_LEFT fields to allow PFC watchdog to enter fresh into the (sonic-net#897)
    
    operational/storm state
    
    Signed-off-by: Wenda Ni <wenni@microsoft.com>
  - Fix vlan incremental config and add vs test cases (sonic-net#799)
    
    * Fix vlan incremental config and add vs test cases
    
    Signed-off-by: Jipan Yang <jipan.yang@alibaba-inc.com>
  - Suppress storm detect counter increment for ongoing pfc storm case during a warm reboot (sonic-net#869)
    
    * Suppress storm detect counter increment for ongoing pfc storm case during
    a warm reboot
    
    Signed-off-by: Wenda Ni <wenni@microsoft.com>
    
    * Comment touch-up
    
    Signed-off-by: Wenda Ni <wenni@microsoft.com>
    
  - [warm restart assist] assume vector values could be reordered (sonic-net#921)
    
    When comparing 2 vectors, assume their elements could be re-ordered.
    
    Signed-off-by: Ying Xie <ying.xie@microsoft.com>
  - [test]: Mark some VLAN tests as Stretch only (sonic-net#903)
    
    Signed-off-by: Shu0T1an ChenG <shuche@microsoft.com>
  - [aclorch]: Add MIRROR_DSCP table type (sonic-net#906)
    
    Add MIRROR_DSCP table to support creating an ACL mirro table
    that only matches DSCP value/mask.
    
    Signed-off-by: Shu0T1an ChenG <shuche@microsoft.com>
  - [debian] increment debian compatibility to 10 to enable parallel package build (sonic-net#911)
    
    From debhelper man pages:
    
    "If neither option is specified, debhelper currently defaults to
    --parallel in compat 10 (or later) and --no-parallel otherwise."
    
    Signed-off-by: Stepan Blyschak <stepanb@mellanox.com>
  - [test]: Skip tests under investigation (sonic-net#919)
    
    
  - [vstest]: Update the mirror session state table name (sonic-net#917)
    
    Due to the change
    
    c033b23
    Fix MIRROR_SESSION table macro name (sonic-net#802)
    
    Signed-off-by: Shu0T1an ChenG <shuche@microsoft.com>
  - Ignore neighbor entry with BCAST MAC, check SAI status exists (sonic-net#914)
    
    * Ignore neighbor entry with BCAST MAC, check SAI status exists
    
    * Addressed review comment
    
  - Fix MIRROR_SESSION table macro name (sonic-net#802)
    
    Signed-off-by: Jipan Yang <jipan.yang@alibaba-inc.com>
  - [policerorch]: Add PolicerOrch to bundle with mirror session (sonic-net#889)
    
    Now that we could create a policer for the mirror session to
    throttle the mirroring traffic.
    
    configuration:
    
    POLICER|NAME:
     meter_type:packets|bytes
     mode:sr_tcm|tr_tcm|storm_control
     cir|DIGITS
     cbs|DIGITS
     pir|DIGITS
     pbs|DIGITS
     corlor_source:aware|blind
     red_action:drop
     yellow_action:drop
     green_action:drop
    
    MIRROR_SESSION|NAME:
     policer:policer_name
    
    Signed-off-by: Shu0T1an ChenG <shuche@microsoft.com>
madhanmellanox pushed a commit to madhanmellanox/sonic-buildimage that referenced this issue Mar 23, 2020
…ring a warm reboot (sonic-net#869)

* Suppress storm detect counter increment for ongoing pfc storm case during
a warm reboot

Signed-off-by: Wenda Ni <wenni@microsoft.com>

* Comment touch-up

Signed-off-by: Wenda Ni <wenni@microsoft.com>
lguohan pushed a commit that referenced this issue Apr 29, 2020
* src/sonic-utilities 798ce2f...7ce5b62 (19):
  > [utility] Filter FDB entries (#890)
  > [fast reboot] set a fast-reboot DB flag (#887)
  > [show] Add 'ip/ipv6 bgp network' commands (#888)
  > [Vxlan] : adding show vnet/vxlan cmds (#880)
  > [show][bgp] Use only 'show ip bgp' as the base and use bgp_frr_v4 file for FRR routing stack (#884)
  > Revert "[config] Implement a process level lock (#857)" (#882)
  > [generate_dump] Dump systemd specific information (#602)
  > [config] Implement a process level lock (#857)
  > [fwutil]: Update Command-Reference.md. (#876)
  > Add platform options to 'show techsupport' command (#865)
  > [doc]: add ltgm and jenkins badge (#875)
  > Fix even more Python warnings (#873)
  > [showtech]: dump docker stats (#864)
  > Fix more Python warnings (#869)
  > Fix Python warnings (#867)
  > Fixes bug for PFCWD feature parameters (#838)
  > Explicitly specify command names with underscores (continued) (#852)
  > [watermarkstat] Fix issue of fields overwritten before display (#862)
  > [pfc] Add command line to enable/disable/show PFC (#796)
stepanblyschak pushed a commit to stepanblyschak/sonic-buildimage that referenced this issue May 10, 2021
* Fix "First parameter of a method is not named 'self'" warnings

* Fix "Module is imported with 'import' and 'import from'" warning

* Fix 'Testing equality to None' warnings

* Clean up 'Unused import' warnings
AidanCopeland pushed a commit to Metaswitch/sonic-buildimage that referenced this issue Apr 14, 2022
…-net#869)

Start recording CRS operations response to sairedis.rec but only when response is not success.
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

3 participants